ports/187442: [ports] multimedia/smpeg: fail to link
Green Dog
fiziologus at gmail.com
Tue Mar 11 09:30:00 UTC 2014
>Number: 187442
>Category: ports
>Synopsis: [ports] multimedia/smpeg: fail to link
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 11 09:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Green Dog
>Release: FreeBSD-9.2
>Organization:
>Environment:
>Description:
multimedia/smpeg: fail to link with base clang (with base gcc all OK)
libtool: link: ( cd ".libs" && rm -f "libsmpeg.la" && ln -s "../libsmpeg.la" "libsmpeg.la" )
/bin/sh /usr/local/bin/libtool --mode=link clang -O2 -pipe -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -DUSE_MMX -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -o plaympeg plaympeg.o libsmpeg.la -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lm
libtool: link: clang -O2 -pipe -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -DUSE_MMX -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -o .libs/plaympeg plaympeg.o -Wl,-rpath -Wl,/usr/local/lib -pthread ./.libs/libsmpeg.so -L/usr/local/lib /usr/local/lib/libSDL.so /usr/local/lib/libiconv.so -lvgl /usr/local/lib/libaa.so -lncurses /usr/local/lib/libX11.so /usr/local/lib/libxcb.so /usr/local/lib/libXau.so /usr/local/lib/libXdmcp.so /usr/local/lib/libpthread-stubs.so -lrpcsvc -lusbhid -lm -pthread -Wl,-rpath -Wl,/usr/local/lib
./.libs/libsmpeg.so: undefined reference to `operator new[](unsigned int)'
./.libs/libsmpeg.so: undefined reference to `operator delete[](void*)'
./.libs/libsmpeg.so: undefined reference to `operator delete(void*)'
./.libs/libsmpeg.so: undefined reference to `operator new(unsigned int)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [plaympeg] Error 1
gmake[1]: Leaving directory `/usr/ports/multimedia/smpeg/work/smpeg-0.4.4'
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list