pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/38914: multimedia/gnash doesn't compile in DragonFly



>Number:         38914
>Category:       pkg
>Synopsis:       multimedia/gnash doesn't compile in DragonFly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 09 11:05:00 +0000 2008
>Originator:     Hasso Tepper
>Release:        DragonFly
>Organization:
>Environment:
DragonFly
>Description:
/usr/pkg/bin/bash ../libtool --tag=CXX   --mode=link c++  -O2 
-I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/include 
-I/usr/pkg/include/freetype2 -Kthread -kthread -pthread -pthread     -W     
-Wall     -Wcast-align     -Wcast-qual     -Wpointer-arith     -Wreturn-type    
  -fvisibility-inlines-hidden  -lltdl  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lxml2 
-lz -lm -L/usr/pkg/lib -lcurl -L/usr/pkg/lib -lboost_thread-mt-d 
-lboost_date_time-mt-d -lpthread  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib 
-Wl,-R/usr/lib -Wl,--as-needed -o soldumper soldumper.o 
../server/libgnashserver.la ../libamf/libgnashamf.la ../libbase/libgnashbase.la 
../libmedia/libgnashmedia.la -lavcodec -lz -lfaac -lmp3lame -ltheora 
-lvorbisenc -lavutil -lvorbis -lm -logg   -lvorbisenc -lvorbis -lm -logg   
-lavformat -lavcodec -lz -lfaac -lmp3lame -ltheora -lvorbisenc -lavutil 
-lvorbis -lm -logg   -lavutil   -ltheora -logg   -lavcodec -lz -lfaac -lmp3lame 
-ltheora -lvorbisenc -lavutil -lvorbis -lm -logg    -Wl,-R/
 usr/pkg/lib -L/usr/pkg/lib -lglib-2.0 -lintl    -lX11 -lXi -lm
c++ -O2 -I/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/include 
-I/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/include/SDL 
-I/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/include/freetype2 -Kthread 
-kthread -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith 
-Wreturn-type -fvisibility-inlines-hidden -Wl,-R/usr/pkg/lib -Wl,--as-needed -o 
.libs/soldumper soldumper.o  
-L/usr/obj/pkgsrc/multimedia/gnash/work/gnash-0.8.2/libamf/.libs 
-L/usr/obj/pkgsrc/multimedia/gnash/work/gnash-0.8.2/libbase/.libs 
-L/usr/obj/pkgsrc/multimedia/gnash/work/gnash-0.8.2/libmedia/.libs 
-L/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib 
/usr/obj/pkgsrc/multimedia/gnash/work/gnash-0.8.2/server/.libs/libgnashserver.so
 /usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libxml2.so 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libfontconfig.so 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libfreetype.so 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libexpa
 t.so 
/usr/obj/pkgsrc/multimedia/gnash/work/gnash-0.8.2/libamf/.libs/libgnashamf.so 
/usr/obj/pkgsrc/multimedia/gnash/work/gnash-0.8.2/libbase/.libs/libgnashbase.so 
/usr/obj/pkgsrc/multimedia/gnash/work/gnash-0.8.2/libmedia/.libs/libgnashmedia.so
 /usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libjpeg.so 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libcurl.so 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libidn.so -lssl -lcrypto 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libltdl.so 
-lboost_thread-mt-d -lboost_date_time-mt-d -lpthread 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libSDL.so -laudio 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libXt.so 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libSM.so 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libICE.so 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libXrandr.so 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libXrender.so 
/usr/obj/pkgsrc/multimedia/gna
 sh/work/.buildlink/lib/libaa.so -lusbhid -pthread -lavformat -lavcodec -lz 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libfaac.so 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libmp3lame.so 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libtheora.so 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libvorbisenc.so -lavutil 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libvorbis.so 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libogg.so 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libglib-2.0.so 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libpcre.so 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libintl.so 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libXi.so 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libXext.so 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libX11.so 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libXdmcp.so -lrpcsvc 
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/li
 b/libXau.so -lm  -Wl,--rpath -Wl,/usr/pkg/lib/gnash -Wl,--rpath 
-Wl,/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib
g++: unrecognized option '-Kthread'
g++: unrecognized option '-kthread'
/usr/obj/pkgsrc/multimedia/gnash/work/.buildlink/lib/libboost_thread-mt-d.so: 
undefined reference to `pthread_create'
gmake[2]: *** [soldumper] Error 1

>How-To-Repeat:
Try to build multimedia/gnash in DragonFly.
>Fix:
I tried several ways, but failed to link it in pkgsrc. The same gnash builds 
and links just fine if compiled outside of pkgrsc. `pthread_create' is provided 
by /usr/lib/libpthread.so in DragonFly.



Home | Main Index | Thread Index | Old Index