xorg-libs / Panther

Ryan Schmidt ryandesign at macports.org
Mon Mar 2 20:48:22 PST 2009


On Mar 1, 2009, at 11:42, Jeremy Huddleston wrote:

> On Mar 1, 2009, at 06:19, Chris Janton wrote:
>
>> I can't seem to upgrade xorg-libs on my Panther system. 1.7 MacPorts
>>
>> --->  Building mesa
>> 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_ 
>> mesa/work/Mesa-7.2" && make default INSTALL_DIR=/opt/local "  
>> returned error 2
>> Command output: Making sources for darwin
>> make[2]: Nothing to be done for `default'.
>> (cd drivers && make)
>> /bin/sh ../../../../bin/mklib -o OSMesa -linker 'gcc' -ldflags '' \
>> 	-major 7 -minor 2 -patch 0 \
>> 	-install ../../../../lib  \
>> 	-id /opt/local/lib/libOSMesa.7.dylib \
>> 	-L../../../../lib -lGL osmesa.o ../../../../src/mesa/ 
>> libmesa.a ../../../../src/mesa/libglapi.a
>> mklib: Making Darwin shared library:  libOSMesa.7.2.dylib
>> mklib: Installing libOSMesa.7.2.dylib libOSMesa.7.dylib  
>> libOSMesa.dylib in ../../../../lib
>> make[4]: `../../../lib/libGLU.dylib' is up to date.
>> gcc -c -I../../../include  -ggdb3 -Os -Wall -Wmissing-prototypes - 
>> std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/ 
>> include -I/opt/local/include  -fPIC   -D_DARWIN_C_SOURCE - 
>> D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE - 
>> D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED - 
>> DGLX_INDIRECT_RENDERING  glut_event.c
>> glut_event.c: In function `glutTimerFunc':
>> glut_event.c:145: warning: implicit declaration of function  
>> `gettimeofday'
>> glut_event.c: In function `interruptibleXNextEvent':
>> glut_event.c:309: error: `fd_set' undeclared (first use in this  
>> function)
>> glut_event.c:309: error: (Each undeclared identifier is reported  
>> only once
>> glut_event.c:309: error: for each function it appears in.)
>> glut_event.c:309: error: parse error before "fds"
>> glut_event.c:328: warning: implicit declaration of function `FD_ZERO'
>> glut_event.c:328: error: `fds' undeclared (first use in this  
>> function)
>> glut_event.c:329: warning: implicit declaration of function `FD_SET'
>> glut_event.c:330: warning: implicit declaration of function `select'
>> glut_event.c: In function `waitForSomething':
>> glut_event.c:868: error: `fd_set' undeclared (first use in this  
>> function)
>> glut_event.c:868: error: parse error before "fds"
>> glut_event.c:922: error: `fds' undeclared (first use in this  
>> function)
>> make[2]: *** [glut_event.o] Error 1
>> make[1]: *** [subdirs] Error 1
>> make: *** [default] Error 1
>
> I don't have access to Panther, so I have no way of figuring out  
> the problem, but I welcome a patch.

I can at least confirm the problem on my Panther G4.


> According to the man page, gettimeofday should be defined by  
> including sys/time.h.  That is included on line 46 of glut_event.c

"man gettimeofday" says the same on Panther. I'll see what I can find  
out.




More information about the macports-users mailing list