Opened 19 years ago

Closed 19 years ago

Last modified 15 years ago

#3133 closed defect (fixed)

smpeg does not build with gcc 4.0

Reported by: jyrki.wahlstedt@… Owned by: mww@…
Priority: High Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Trying to build smpeg (as a dependendy of wxWidgets) in OS X 10.4, where default compiler is 4.0, stops with this: c++ -dynamiclib -flat_namespace -undefined suppress -o .libs/libsmpeg-0.4.0.1.3.dylib MPEG.lo MPEGring.lo MPEGlist.lo MPEGstream.lo MPEGsystem.lo MPEGfilter.lo smpeg.lo -all_load audio/.libs/ libaudio.al video/.libs/libvideo.al -L/usr/local/lib -lSDL -lm -lSDL -lm -lSDL -lm -lc -install_name / usr/local/lib/libsmpeg-0.4.0.dylib -compatibility_version 2 -current_version 2.3 ld: warning multiple definitions of symbol _eprintf /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a(_eprintf.o) private external definition of _eprintf in section (TEXT,text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libstdc++.dylib(single module) definition of _eprintf ld: multiple definitions of symbol _divdi3 /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a(_divdi3.o) private external definition of _divdi3 in section (TEXT,text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_s.dylib(_divdi3.o) definition of _divdi3 ld: multiple definitions of symbol _udivdi3 /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a(_udivdi3.o) private external definition of _udivdi3 in section (TEXT,text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_s.dylib(_udivdi3.o) definition of _udivdi3 ld: multiple definitions of symbol _umoddi3 /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a(_umoddi3.o) private external definition of _umoddi3 in section (TEXT,text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_s.dylib(_umoddi3.o) definition of _umoddi3 /usr/bin/libtool: internal link edit command failed make[1]: * [libsmpeg.la] Error 1 make: * [all-recursive] Error 1

Changing to 3.3 using gcc_select allows the build to succeed.

Change History (4)

comment:1 Changed 19 years ago by mww@…

submitted a workaround for 10.4 - only build the static libs for now;

comment:2 Changed 19 years ago by mww@…

Resolution: fixed
Status: newclosed

fixored - now builds dylib directly from the Portfile

comment:3 Changed 17 years ago by nox@…

Milestone: Port Bugs
Priority: ImportantHigh

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.