[MacPorts] #14409: multimedia/smpeg-0.4.4 fails to build under Leopard
MacPorts
trac at macosforge.org
Wed Feb 20 13:07:04 PST 2008
#14409: multimedia/smpeg-0.4.4 fails to build under Leopard
--------------------------------+-------------------------------------------
Reporter: billitch at gmail.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: High | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Keywords: |
--------------------------------+-------------------------------------------
Hi, multimedia/smpeg-0.4.4 fails to build under Leopard because it fails
to link to OpenGL. I am attaching a patch to the Portfile of smpeg to
disable the compilation of the example OpenGL player built by default by
smpeg. I don't believe anyone is interested in such an exemple player so I
did not care to create a variant for it. It fixes compilation and seems to
be the sole relation between smpeg and OpenGL.
I don't know why but gnome packages require this one to compile and as it
prevents all other gnome ports to build I feel I should mark this ticket
as urgent. Sorry for the noise if I am wrong.
Here is the build error :
{{{
g++ -pipe -O2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
-DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video
-L/opt/local/lib -o glmovie glmovie-tile.o glmovie.o .libs/libsmpeg.a
-lSDLmain -lSDL -lSDLmain -lSDL -lSDLmain -lSDL -L/opt/local/lib -lSDLmain
-lSDL -Wl,-framework,Cocoa
Undefined symbols:
"_glTexSubImage2D", referenced from:
_glmovie_draw in glmovie-tile.o
"_glGenTextures", referenced from:
_glmovie_init in glmovie-tile.o
"_glPixelStorei", referenced from:
_glmovie_draw in glmovie-tile.o
_glmovie_draw in glmovie-tile.o
_glmovie_draw in glmovie-tile.o
_glmovie_init in glmovie-tile.o
"_glViewport", referenced from:
_glmovie_resize in glmovie-tile.o
"_glTexCoord2f", referenced from:
_glmovie_draw in glmovie-tile.o
_glmovie_draw in glmovie-tile.o
_glmovie_draw in glmovie-tile.o
_glmovie_draw in glmovie-tile.o
"_glLoadIdentity", referenced from:
_glmovie_draw in glmovie-tile.o
_glmovie_resize in glmovie-tile.o
"_glClear", referenced from:
_glmovie_draw in glmovie-tile.o
"_glTexEnvf", referenced from:
_glmovie_init in glmovie-tile.o
"_glTexParameteri", referenced from:
_glmovie_init in glmovie-tile.o
_glmovie_init in glmovie-tile.o
_glmovie_init in glmovie-tile.o
_glmovie_init in glmovie-tile.o
"_glVertex2i", referenced from:
_glmovie_draw in glmovie-tile.o
_glmovie_draw in glmovie-tile.o
_glmovie_draw in glmovie-tile.o
_glmovie_draw in glmovie-tile.o
"_glBegin", referenced from:
_glmovie_draw in glmovie-tile.o
"_glEnd", referenced from:
_glmovie_draw in glmovie-tile.o
"_glDeleteTextures", referenced from:
_glmovie_init in glmovie-tile.o
_glmovie_init in glmovie-tile.o
_glmovie_quit in glmovie-tile.o
"_glGetError", referenced from:
_glmovie_init in glmovie-tile.o
glmpeg_update(SDL_Surface*, int, int, unsigned int, unsigned int)in
glmovie.o
"_glMatrixMode", referenced from:
_glmovie_draw in glmovie-tile.o
_glmovie_resize in glmovie-tile.o
"_glTexImage2D", referenced from:
_glmovie_init in glmovie-tile.o
"_glClearColor", referenced from:
_glmovie_init in glmovie-tile.o
"_glEnable", referenced from:
_glmovie_init in glmovie-tile.o
_glmovie_init in glmovie-tile.o
"_gluOrtho2D", referenced from:
_glmovie_resize in glmovie-tile.o
"_glBindTexture", referenced from:
_glmovie_draw in glmovie-tile.o
_glmovie_init in glmovie-tile.o
"_gluErrorString", referenced from:
glmpeg_update(SDL_Surface*, int, int, unsigned int, unsigned int)in
glmovie.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [glmovie] Error 1
make: *** [all-recursive] Error 1
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_Users_billitch_macports_trunk_dports_multimedia_smpeg/work/smpeg-0.4.4"
&& nice -n 6 make all " returned error 2
Command output: "_glEnd", referenced from:
_glmovie_draw in glmovie-tile.o
"_glDeleteTextures", referenced from:
_glmovie_init in glmovie-tile.o
_glmovie_init in glmovie-tile.o
_glmovie_quit in glmovie-tile.o
"_glGetError", referenced from:
_glmovie_init in glmovie-tile.o
glmpeg_update(SDL_Surface*, int, int, unsigned int, unsigned int)in
glmovie.o
"_glMatrixMode", referenced from:
_glmovie_draw in glmovie-tile.o
_glmovie_resize in glmovie-tile.o
"_glTexImage2D", referenced from:
_glmovie_init in glmovie-tile.o
"_glClearColor", referenced from:
_glmovie_init in glmovie-tile.o
"_glEnable", referenced from:
_glmovie_init in glmovie-tile.o
_glmovie_init in glmovie-tile.o
"_gluOrtho2D", referenced from:
_glmovie_resize in glmovie-tile.o
"_glBindTexture", referenced from:
_glmovie_draw in glmovie-tile.o
_glmovie_init in glmovie-tile.o
"_gluErrorString", referenced from:
glmpeg_update(SDL_Surface*, int, int, unsigned int, unsigned int)in
glmovie.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [glmovie] Error 1
make: *** [all-recursive] Error 1
Warning: the following items did not execute (for smpeg):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Error: Status 1 encountered during processing.
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14409>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list