Opened 15 years ago

Last modified 15 years ago

#20754 closed defect

xorg-server-1.4.2-apple47 and xorg-server-1.5.3-apple14 don't compile on Tiger because of X11 C header files — at Initial Version

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: xorg-server xorg-server-devel

Description

Command output: /opt/local/include/X11/extensions/XShm.h:83: warning: type defaults to 'int' in declaration of 'XShmAttach' /opt/local/include/X11/extensions/XShm.h:83: warning: function declaration isn't a prototype /opt/local/include/X11/extensions/XShm.h:83: warni ng: data definition has no type or storage class /opt/local/include/X11/extensions/XShm.h:85: error: parse error before 'XShmDetach' /opt/local/include/X11/extensions/XShm.h:86: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:88: warning: type defaults to 'int' in declaration of 'XShmDetach' /opt/local/include/X11/extensions/XShm.h:88: warning: function declaration isn't a prototype /opt/local/include/X11/extensions/XShm.h:88: warning: data definition has no type or storage cl ass /opt/local/include/X11/extensions/XShm.h:90: error: parse error before 'XShmPutImage' /opt/local/include/X11/extensions/XShm.h:91: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:102: warning: type defaults to 'int' in declaration of 'XShmPutImage' /opt/local/include/X11/extensions/XShm.h:102: warning: function declaration isn't a prototype /opt/local/include/X11/extensions/XShm.h:102: warning: data definition has no type or storage class /opt/local/include/X11/extensions/ XShm.h:104: error: parse error before 'XShmGetImage' /opt/local/include/X11/extensions/XShm.h:105: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:111: warning: type defaults to 'int' in declaration of 'XShmGetImage' /opt/local/include/X11/extensions/XShm.h:111: warning: function declaration isn't a prototype /opt/local/include/X11/extensions/XShm.h:111: warning: data definition has no type or storage class /opt/local/include/X11/extensions/XShm.h:113: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:114: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:122: warning: type defaults to 'int' in declaration of 'XShmCreateImage' /opt/local/include/X11/extensions/XShm.h:122: warning: function declaration isn't a prototype /opt/local/include/X11/extensions/XShm.h:122: warning: data definition has no type or storage class /opt/local/include/X11/extensions/XShm.h:125: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:132: warning: function declaration isn't a prototype miscrinit.c: In function 'miScreenInit': miscrinit.c:241: warning: implicit declaration of function 'ShmRegisterFbFuncs' miscrinit.c:241: warning: nested extern declaration of 'ShmRegisterFbFuncs' make[1]: * [miscrinit.lo] Error 1 make: * [all-recursive] Error 1 Error: Status 1 encountered during processing.

There is also another error which I can't classify in the beginning:

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-server-devel/work/xorg-server-1.5.3-apple14" && make all " returned error 2

Here is the LOG from "port -v install xorg-server-devel:"

---> Building xorg-server-devel Making all in doc make all-am make[2]: Nothing to be done for `all-am'. Making all in include make all-am Making all in dix make all-am make[2]: Nothing to be done for `all-am'. Making all in fb make[1]: Nothing to be done for `all'. Making all in mi /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include -I/usr/include -I/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-server-devel/files/dri -I/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-server-devel/files/include -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/pixman-1 -I/opt/local/include -I../include -I../include -I../Xext -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -O2 -DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA -DNO_ALLOCA -MT miscrinit.lo -MD -MP -MF .deps/miscrinit.Tpo -c -o miscrinit.lo miscrinit.c

/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include -I/usr/include -I/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-server-devel/files/dri -I/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xorg-server-devel/files/include -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/pixman-1 -I/opt/local/include -I../include -I../include -I../Xext -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -O2 -DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA -DNO_ALLOCA -MT miscrinit.lo -MD -MP -MF .deps/miscrinit.Tpo -c miscrinit.c -fno-common -DPIC -o .libs/miscrinit.o

In file included from miscrinit.c:43: /opt/local/include/X11/extensions/XShm.h:44: error: parse error before 'Display' /opt/local/include/X11/extensions/XShm.h:44: warning: no semicolon at end of struct or union /opt/local/include/X11/extensions/XShm.h:50: error: parse error before '}' token /opt/local/include/X11/extensions/XShm.h:50: warning: type defaults to 'int' in declaration of 'XShmCompletionEvent' /opt/local/include/X11/extensions/XShm.h:50: warning: data definition has no type or storage class /opt/local/include/X11/extensions/XShm.h:62: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:63: warning: function declaration isn't a prototype /opt/local/include/X11/extensions/XShm.h:66: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:67: warning: function declaration isn't a prototype /opt/local/include/X11/extensions/XShm.h:70: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:74: warning: function declaration isn't a prototype /opt/local/include/X11/extensions/XShm.h:77: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:78: warning: function declaration isn't a prototype /opt/local/include/X11/extensions/XShm.h:80: error: parse error before 'XShmAttach' /opt/local/include/X11/extensions/XShm.h:81: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:83: warning: type defaults to 'int' in declaration of 'XShmAttach' /opt/local/include/X11/extensions/XShm.h:83: warning: function declaration isn't a prototype /opt/local/include/X11/extensions/XShm.h:83: warning: data definition has no type or storage class /opt/local/include/X11/extensions/XShm.h:85: error: parse error before 'XShmDetach' /opt/local/include/X11/extensions/XShm.h:86: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:88: warning: type defaults to 'int' in declaration of 'XShmDetach' /opt/local/include/X11/extensions/XShm.h:88: warning: function declaration isn't a prototype /opt/local/include/X11/extensions/XShm.h:88: warning: data definition has no type or storage class /opt/local/include/X11/extensions/XShm.h:90: error: parse error before 'XShmPutImage' /opt/local/include/X11/extensions/XShm.h:91: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:102: warning: type defaults to 'int' in declaration of 'XShmPutImage' /opt/local/include/X11/extensions/XShm.h:102: warning: function declaration isn't a prototype /opt/local/include/X11/extensions/XShm.h:102: warning: data definition has no type or storage class /opt/local/include/X11/extensions/XShm.h:104: error: parse error before 'XShmGetImage' /opt/local/include/X11/extensions/XShm.h:105: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:111: warning: type defaults to 'int' in declaration of 'XShmGetImage' /opt/local/include/X11/extensions/XShm.h:111: warning: function declaration isn't a prototype /opt/local/include/X11/extensions/XShm.h:111: warning: data definition has no type or storage class /opt/local/include/X11/extensions/XShm.h:113: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:114: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:122: warning: type defaults to 'int' in declaration of 'XShmCreateImage' /opt/local/include/X11/extensions/XShm.h:122: warning: function declaration isn't a prototype /opt/local/include/X11/extensions/XShm.h:122: warning: data definition has no type or storage class /opt/local/include/X11/extensions/XShm.h:125: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:132: warning: function declaration isn't a prototype miscrinit.c: In function 'miScreenInit': miscrinit.c:241: warning: implicit declaration of function 'ShmRegisterFbFuncs' miscrinit.c:241: warning: nested extern declaration of 'ShmRegisterFbFuncs' make[1]: * [miscrinit.lo] Error 1 make: * [all-recursive] Error 1 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-server-devel/work/xorg-server-1.5.3-apple14" && make all " returned error 2 Command output: /opt/local/include/X11/extensions/XShm.h:83: warning: type defaults to 'int' in declaration of 'XShmAttach' /opt/local/include/X11/extensions/XShm.h:83: warning: function declaration isn't a prototype /opt/local/include/X11/extensions/XShm.h:83: warning: data definition has no type or storage class /opt/local/include/X11/extensions/XShm.h:85: error: parse error before 'XShmDetach' /opt/local/include/X11/extensions/XShm.h:86: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:88: warning: type defaults to 'int' in declaration of 'XShmDetach' /opt/local/include/X11/extensions/XShm.h:88: warning: function declaration isn't a prototype /opt/local/include/X11/extensions/XShm.h:88: warning: data definition has no type or storage class /opt/local/include/X11/extensions/XShm.h:90: error: parse error before 'XShmPutImage' /opt/local/include/X11/extensions/XShm.h:91: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:102: warning: type defaults to 'int' in declaration of 'XShmPutImage' /opt/local/include/X11/extensions/XShm.h:102: warning: function declaration isn't a prototype /opt/local/include/X11/extensions/XShm.h:102: warning: data definition has no type or storage class /opt/local/include/X11/extensions/XShm.h:104: error: parse error before 'XShmGetImage' /opt/local/include/X11/extensions/XShm.h:105: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:111: warning: type defaults to 'int' in declaration of 'XShmGetImage' /opt/local/include/X11/extensions/XShm.h:111: warning: function declaration isn't a prototype /opt/local/include/X11/extensions/XShm.h:111: warning: data definition has no type or storage class /opt/local/include/X11/extensions/XShm.h:113: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:114: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:122: warning: type defaults to 'int' in declaration of 'XShmCreateImage' /opt/local/include/X11/extensions/XShm.h:122: warning: function declaration isn't a prototype /opt/local/include/X11/extensions/XShm.h:122: warning: data definition has no type or storage class /opt/local/include/X11/extensions/XShm.h:125: error: parse error before '*' token /opt/local/include/X11/extensions/XShm.h:132: warning: function declaration isn't a prototype miscrinit.c: In function 'miScreenInit': miscrinit.c:241: warning: implicit declaration of function 'ShmRegisterFbFuncs' miscrinit.c:241: warning: nested extern declaration of 'ShmRegisterFbFuncs' make[1]: * [miscrinit.lo] Error 1 make: * [all-recursive] Error 1

Warning: the following items did not execute (for xorg-server-devel): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.

Minutes before "port -v selfupdate" (Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/) and "port -v upgrade outdated" (Error: No ports found) were run.

Mac OS X 10.4.11, PPC, chose the macosx and the universal variants of the X server packages in Porticus.

Change History (0)

Note: See TracTickets for help on using tickets.