xorg-libs / Panther

Jeremy Huddleston jeremyhu at macports.org
Sun Mar 1 09:42:27 PST 2009


Well that's specifically a problem with mesa for you...

I don't have access to Panther, so I have no way of figuring out the  
problem, but I welcome a patch.

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


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
>
> Error: The following dependencies failed to build: mesa
> DEBUG: invalid command name "::ui_init"
>    while executing
> "::ui_init $priority $prefix $channels $message"
>    ("uplevel" body line 2)
>    invoked from within
> "uplevel 1 $body"
> Error: Unable to upgrade port: 1
>
> admin at x:admin:132 $ port outdated
> The following installed ports are outdated:
> xorg-libs                      20090105_0 < 20090224_0
>
> 8)
> ----------------------------------
> Chris Janton  - face at CentosPrime dot COM
> Netminder for Opus1.COM
>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users



More information about the macports-users mailing list