pkgsrc-Users archive

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

SDL_image, libmpeg2 build fail



Hi All

On NetBSD 4.0_BETA/amd64, pkgsrc current, xorg; doing make in 
graphics/SDL_image and multimedia/libmpeg2 results in:

SDL_image:

cc -O2 -pipe -march=athlon64 
-I/usr/pkgsrc/graphics/SDL_image/work/.buildlink/include -DGLX_GLXEXT_LEGACY 
-I/usr/pkgsrc/graphics/SDL_image/work/.buildlink/include/SDL -D_GNU_SOURCE=1 
-D_REENTRANT -D_THREAD_SAFE -Wl,-R/usr/pkg/lib 
-o .libs/showimage showimage.o -Wl,-rpath -Wl,/usr/pkg/lib  
-L/usr/pkgsrc/graphics/SDL_image/work/.buildlink/lib 
./.libs/libSDL_image.so 
/usr/pkgsrc/graphics/SDL_image/work/.buildlink/lib/libpng12.so 
/usr/pkgsrc/graphics/SDL_image/work/.buildlink/lib/libtiff.so 
/usr/pkgsrc/graphics/SDL_image/work/.buildlink/lib/libjpeg.so 
-lc -lz /usr/pkgsrc/graphics/SDL_image/work/.buildlink/lib/libSDL.so -lm 
-lossaudio -lX11 -lXext -lusbhid -lpthread 
-Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath 
-Wl,/usr/pkgsrc/graphics/SDL_image/work/.buildlink/lib
ld: cannot find -lX11
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/SDL_image/work/SDL_image-1.2.5
*** Error code 1


same error in libmpeg2:

cc -Wall -O2 -pipe -march=athlon64 
-I/usr/pkgsrc/multimedia/libmpeg2/work/.buildlink/include -DGLX_GLXEXT_LEGACY 
-fomit-frame-pointer -fno-common 
-I/usr/pkgsrc/multimedia/libmpeg2/work/.buildlink/include/SDL -D_GNU_SOURCE=1 
-D_REENTRANT 
-D_THREAD_SAFE -Wl,-R/usr/pkg/lib -o .libs/mpeg2dec mpeg2dec.o dump_state.o 
getopt.o gettimeofday.o -Wl,-rpath 
-Wl,/usr/pkg/lib  -L/usr/pkgsrc/multimedia/libmpeg2/work/.buildlink/lib 
../libvo/libvo.a 
/usr/pkgsrc/multimedia/libmpeg2/work/.buildlink/lib/libSDL.so -lm -lossaudio 
-lX11 -lXext -lusbhid -lpthread 
../libmpeg2/.libs/libmpeg2.so ../libmpeg2/convert/.libs/libmpeg2convert.so 
-Wl,--rpath 
-Wl,/usr/pkgsrc/multimedia/libmpeg2/work/.buildlink/lib -Wl,--rpath 
-Wl,/usr/pkg/lib
ld: cannot find -lX11
gmake[1]: *** [mpeg2dec] Error 1
gmake[1]: Leaving directory 
`/usr/pkgsrc/multimedia/libmpeg2/work/mpeg2dec-0.4.0/src'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/multimedia/libmpeg2
*** Error code 1


Cheers



Home | Main Index | Thread Index | Old Index