Opened 18 years ago

Closed 18 years ago

#11106 closed defect (duplicate)

xrender compile time error

Reported by: ad@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version: 1.3.2
Keywords: xrender error Cc:
Port:

Description

xrender does not compile on a newly installed 10.5, spitting out the following error messages:

AddTrap.c: In function 'XRenderAddTraps':
AddTrap.c:39: error: 'xRenderAddTrapsReq' undeclared (first use in this function)
AddTrap.c:39: error: (Each undeclared identifier is reported only once
AddTrap.c:39: error: for each function it appears in.)
AddTrap.c:39: error: 'req' undeclared (first use in this function)
AddTrap.c:48: error: 'sz_xRenderAddTrapsReq' undeclared (first use in this function)
AddTrap.c:48: error: syntax error before ')' token
AddTrap.c:48: error: 'X_RenderAddTraps' undeclared (first use in this function)
AddTrap.c:55: error: 'sz_xTrap' undeclared (first use in this function)
make[1]: *** [AddTrap.lo] Error 1
make: *** [all] Error 2

'xRenderAddTrapsReq' should be in includes/X11/extensions/renderproto.h (see http://www.cs.wisc.edu/~vg/cgi-bin/lxr/http/ident?i=xRenderAddTrapsReq), but it isn't. The file exists but does not contain the definition.

Change History (2)

comment:1 Changed 18 years ago by bosmacs (Craig Bosma)

I'm having the same issue on 10.4.8:

--->  Building xrender with target all
Error: Target com.apple.build returned: shell command "cd "/usr/local/var/db/dports/build/_usr_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_x11_xrender/work/libXrender-0.9.0" && make all" returned error 2
Command output: make  all-am
if /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/local/include   -I/usr/X11R6/include -DXTHREADS -g -O2 -MT AddTrap.lo -MD -MP -MF ".deps/AddTrap.Tpo" \
  -c -o AddTrap.lo `test -f 'AddTrap.c' || echo './'`AddTrap.c; \
then mv -f ".deps/AddTrap.Tpo" ".deps/AddTrap.Plo"; \
else rm -f ".deps/AddTrap.Tpo"; exit 1; \
fi
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/X11R6/include -DXTHREADS -g -O2 -MT AddTrap.lo -MD -MP -MF .deps/AddTrap.Tpo -c AddTrap.c  -fno-common -DPIC -o .libs/AddTrap.o
AddTrap.c: In function 'XRenderAddTraps':
AddTrap.c:38: error: 'xRenderAddTrapsReq' undeclared (first use in this function)
AddTrap.c:38: error: (Each undeclared identifier is reported only once
AddTrap.c:38: error: for each function it appears in.)
AddTrap.c:38: error: 'req' undeclared (first use in this function)
AddTrap.c:47: error: 'sz_xRenderAddTrapsReq' undeclared (first use in this function)
AddTrap.c:47: error: parse error before ')' token
AddTrap.c:47: error: 'X_RenderAddTraps' undeclared (first use in this function)
AddTrap.c:54: error: 'sz_xTrap' undeclared (first use in this function)
make[1]: *** [AddTrap.lo] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

comment:2 Changed 18 years ago by cssdev

Resolution: duplicate
Status: newclosed

This bug is a duplicate of previous bugs #10066, #7785, and #5165.

Note: See TracTickets for help on using tickets.