The xrx plugin does not compile cleanly on AIX. The file npapi.h tries to redefine a couple of sybols that are already defined in a system header file. Here is the error: making all in programs/xrx/plugin... Target "all" is up to date. rm -f Main.o xlc_r -c -O -D__STR31__ -DNDEBUG -I. -I./include -I../rx - I../../.. -I../../../exports/include -DSYSV -DAIXV3 -DAIXV4 -DAIXV5 - D_ALL_SOURCE -DFUNCPROTO=15 -DNETSCAPE_PLUGIN -DXP_UNIX - DBSD44SOCKETS -DSHAREDCODE -bM\:SRE Main.c "./include/npapi.h", line 44.15: 1506-334 (S) Identifier int16 has already been defined on line 619 of "/usr/include/sys/inttypes.h". "./include/npapi.h", line 47.13: 1506-334 (S) Identifier int32 has already been defined on line 620 of "/usr/include/sys/inttypes.h". make: The error code from the last command is 1. Stop. make: The error code from the last command is 2. Stop. Here is a quick patch I put together: *** xc/programs/xrx/plugin/include/npapi.h.orig Fri Apr 23 14:55:03 2004 --- xc/programs/xrx/plugin/include/npapi.h Thu Jan 27 13:42:54 2005 *************** *** 40,50 **** --- 40,53 ---- #ifndef _UINT32 typedef unsigned int uint32; #endif + + #if !(defined(_AIX) && defined(_H_INTTYPES) && defined(_ALL_SOURCE)) #ifndef _INT16 typedef short int16; #endif #ifndef _INT32 typedef int int32; + #endif #endif #ifndef FALSE
Taking bug myself...
*** Bug 2399 has been marked as a duplicate of this bug. ***
Created attachment 1765 [details] [review] Patch for 2005-01-27-trunk
Patch checked-in into Xorg-trunk... /cvs/xorg/xc/ChangeLog,v <-- ChangeLog new revision: 1.717; previous revision: 1.716 /cvs/xorg/xc/programs/xrx/plugin/include/npapi.h,v <-- npapi.h new revision: 1.3; previous revision: 1.2 Mailing the commit message to xorg-commit@lists.freedesktop.org... ... marking bug as FIXED. I'll fix this bug for the X11R6.8.x stable branch via syncing the branch xrx sources with trunk to get the build bustage fixes for *BSD/MacOSX in, too.
Dan: BTW: Thanks for the patch! :)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.