Compile output: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11R6/include -DNDEBUG -O2 -pipe -Wall - fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -D_REENTRANT - DPTHREADS -c glut_tr24.c -fno-common -o .libs/glut_tr24.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11R6/include -DNDEBUG -O2 -pipe -Wall - fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -D_REENTRANT - DPTHREADS -c glut_util.c -fno-common -o .libs/glut_util.o /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11R6/include -DNDEBUG -O2 -pipe -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict- aliasing -D_REENTRANT -DPTHREADS -c glut_vidresize.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11R6/include -DNDEBUG -O2 -pipe -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict- aliasing -D_REENTRANT -DPTHREADS -c glut_warp.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11R6/include -DNDEBUG -O2 -pipe -Wall - fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -D_REENTRANT - DPTHREADS -c glut_vidresize.c -fno-common -o .libs/glut_vidresize.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11R6/include -DNDEBUG -O2 -pipe -Wall - fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -D_REENTRANT - DPTHREADS -c glut_warp.c -fno-common -o .libs/glut_warp.o /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11R6/include -DNDEBUG -O2 -pipe -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict- aliasing -D_REENTRANT -DPTHREADS -c glut_win.c /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11R6/include -DNDEBUG -O2 -pipe -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict- aliasing -D_REENTRANT -DPTHREADS -c glut_winmisc.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11R6/include -DNDEBUG -O2 -pipe -Wall - fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -D_REENTRANT - DPTHREADS -c glut_win.c -fno-common -o .libs/glut_win.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11R6/include -DNDEBUG -O2 -pipe -Wall - fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -D_REENTRANT - DPTHREADS -c glut_winmisc.c -fno-common -o .libs/glut_winmisc.o glut_win.c: In function '__glutCreateWindow': glut_win.c:504: warning: dereferencing type-punned pointer will break strict-aliasing rules /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11R6/include -DNDEBUG -O2 -pipe -Wall -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict- aliasing -D_REENTRANT -DPTHREADS -c layerutil.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11R6/include -DNDEBUG -O2 -pipe -Wall - fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing -D_REENTRANT - DPTHREADS -c layerutil.c -fno-common -o .libs/layerutil.o /bin/sh ../libtool --mode=link gcc -O2 -pipe -Wall -fomit-frame-pointer -ffast-math -fexpensive- optimizations -fstrict-aliasing -D_REENTRANT -DPTHREADS -o libglut.la -rpath /usr/lib -version-info 10:1:7 -L../si-glu glut_8x13.lo glut_9x15.lo glut_bitmap.lo glut_bwidth.lo glut_cindex.lo glut_cmap.lo glut_cursor.lo glut_dials.lo glut_dstr.lo glut_event.lo glut_ext.lo glut_fbc.lo glut_fullscrn.lo glut_gamemode.lo glut_get.lo glut_glxext.lo glut_hel10.lo glut_hel12.lo glut_hel18.lo glut_init.lo glut_input.lo glut_joy.lo glut_key.lo glut_keyctrl.lo glut_keyup.lo glut_menu.lo glut_menu2.lo glut_mesa.lo glut_modifier.lo glut_mroman.lo glut_overlay.lo glut_roman.lo glut_shapes.lo glut_space.lo glut_stroke.lo glut_swap.lo glut_swidth.lo glut_tablet.lo glut_teapot.lo glut_tr10.lo glut_tr24.lo glut_util.lo glut_vidresize.lo glut_warp.lo glut_win.lo glut_winmisc.lo layerutil.lo -L/usr/ X11R6/lib -lSM -lICE -lXmu -lXext -lXi -lX11 ../libtool: line 1: test: too many arguments gcc -dynamiclib -undefined suppress -o .libs/libglut.3.7.1.dylib .libs/glut_8x13.o .libs/ glut_9x15.o .libs/glut_bitmap.o .libs/glut_bwidth.o .libs/glut_cindex.o .libs/glut_cmap.o .libs/ glut_cursor.o .libs/glut_dials.o .libs/glut_dstr.o .libs/glut_event.o .libs/glut_ext.o .libs/glut_fbc.o .libs/ glut_fullscrn.o .libs/glut_gamemode.o .libs/glut_get.o .libs/glut_glxext.o .libs/glut_hel10.o .libs/ glut_hel12.o .libs/glut_hel18.o .libs/glut_init.o .libs/glut_input.o .libs/glut_joy.o .libs/glut_key.o .libs/ glut_keyctrl.o .libs/glut_keyup.o .libs/glut_menu.o .libs/glut_menu2.o .libs/glut_mesa.o .libs/ glut_modifier.o .libs/glut_mroman.o .libs/glut_overlay.o .libs/glut_roman.o .libs/glut_shapes.o .libs/ glut_space.o .libs/glut_stroke.o .libs/glut_swap.o .libs/glut_swidth.o .libs/glut_tablet.o .libs/ glut_teapot.o .libs/glut_tr10.o .libs/glut_tr24.o .libs/glut_util.o .libs/glut_vidresize.o .libs/ glut_warp.o .libs/glut_win.o .libs/glut_winmisc.o .libs/layerutil.o -L/var/tmp/portage/glut-3.7.1/ work/Mesa-5.0/si-glu -L/usr/X11R6/lib -lSM -lICE -lXmu -lXext -lXi -lX11 -lc -install_name /usr/ lib/libglut.3.dylib ld: -undefined error, -undefined dynamic_lookup or -undefined define_a_way must be used when - twolevel_namespace is in effect /usr/bin/libtool: internal link edit command failed make: *** [libglut.la] Error 1 !!! ERROR: media-libs/glut-3.7.1 failed. !!! Function src_compile, Line 34, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. cd /usr/portage/media-libs/glut/ 2. ekeyword ~ppc-macos glut-3.7.1.ebuild 3. ebuild glut-3.7.1.ebuild digest 4. emerge glut Actual Results: link errors above in details Expected Results: built correctly ;) Portage 2.0.51.22-r2 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.2.0 Power Macintosh) =============================================================== == System uname: 8.2.0 Power Macintosh powerpc macos-20041118 distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] dev-lang/python: [Not Present] sys-apps/sandbox: [Not Present] sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: [Not Present] sys-devel/libtool: [Not Present] virtual/os-headers: 7.1 ACCEPT_KEYWORDS="ppc-macos" AUTOCLEAN="yes" CBUILD="powerpc-apple-darwin" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/ qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/ gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc emboss ppc-macos userland_Darwin kernel_Darwin elibc_Darwin" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
OSX 10.4.5 provides the GLUT Framework.