Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2014 09:23:25 GMT
From:      Green Dog <fiziologus@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/187442: [ports] multimedia/smpeg: fail to link
Message-ID:  <201403110923.s2B9NP5E055582@cgiserv.freebsd.org>
Resent-Message-ID: <201403110930.s2B9U0xo000334@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403110923.s2B9NP5E055582>