On Mon, Jul 25, 2005, Doug Summers wrote:

> Getting this...
>
> gcc -DHAVE_CONFIG_H -I. -I. -I.
> -I/openpkg/RPM/TMP/xrender-0.8.4/libXrender-0.8.4/../render-0.8
> -I/openpkg/include -I/usr/openwin/include -DXTHREADS -O2 -pipe -MT
> Cursor.lo -MD -MP -MF .deps/Cursor.Tpo -c Cursor.c -o Cursor.o
> Cursor.c: In function `XRenderCreateCursor':
> Cursor.c:35: error: `xRenderCreateCursorReq' undeclared (first use in
> this function)
> Cursor.c:35: error: (Each undeclared identifier is reported only once
> Cursor.c:35: error: for each function it appears in.)
> Cursor.c:35: error: `req' undeclared (first use in this function)
> Cursor.c:39: error: `sz_xRenderCreateCursorReq' undeclared (first use in
> this function)
> Cursor.c:39: error: parse error before ')' token
> Cursor.c:39: error: `X_RenderCreateCursor' undeclared (first use in this
> function)
> Cursor.c: In function `XRenderCreateAnimCursor':
> Cursor.c:59: error: `xRenderCreateAnimCursorReq' undeclared (first use
> in this function)
> Cursor.c:59: error: `req' undeclared (first use in this function)
> Cursor.c:64: error: `sz_xRenderCreateAnimCursorReq' undeclared (first
> use in this function)
> Cursor.c:64: error: parse error before ')' token
> Cursor.c:64: error: `X_RenderCreateAnimCursor' undeclared (first use in
> this function)
> Cursor.c:69: error: `sz_xAnimCursorElt' undeclared (first use in this
> function)
> make[1]: *** [Cursor.lo] Error 1
> make: *** [all] Error 2
> + exit 2
> error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.23456 (%build)
>
> This compiled just fine for me on the same machine using OpenPKG 2.3. My
> Solaris 8 machines also compile this fine.

Perhaps the newer version conflicts with the older installed one. I
would recommend to remove ("openpkg rpm -e xrender") the old version
before building the new one. Perhaps we need more -I options there to
force to use local headers before installed one (the above -I seems to
be for the render part, not the xrender part I'm talking here!).

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to