2008/9/4 Val-Amart <[EMAIL PROTECTED]>: > Hello LScube users list! > I have a problem which i couldn't handle myself. > I'm tying to crosscompile feng for OpenWrt. It's an embedded linux > distribution, suitable to create custom firmware for wifi routers, mine is > Asus Wl-500GPv2 with MIPSEL arch CPU. > Compilation of libnemesi and netembryo went fine, after resolving some minor > issues. Glib and libgcrypt are there, too. With bufferpool, i had to write my > custom shm_open & shm_unlink, because uClibc, which is used in OpenWrt > instead of glibc, lacks them. ffmpeg is compiled, snapshot from 2008-04-19 > with all options enabled (seems recent enough to me, am i wrong? it's a bit > of trouble to create newer one...) It looks like all dependencies have been > satisfied. > So, the problem is that when i try to compile feng itself (version 0.1.99.1), > it fails with error. > > full make output: > http://pastebin.com/f2d81cb5e > config.log: > http://pastebin.com/f386202fe > libraries listing: > http://pastebin.com/f43cfdac8 > > most relevant part, as to my mind: > /bin/sh ../libtool --silent --tag=CC --mode=link mipsel-linux-uclibc-gcc > -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -pthread > -I/home/val-amart/ha/svn/trunk/staging_dir/mipsel/usr/include/glib-2.0 > -I/home/val-amart/ha/svn/trunk/staging_dir/mipsel/usr/lib/glib-2.0/include > -I/home/val-amart/ha/svn/trunk/staging_dir/mipsel/usr/include > -I/home/val-amart/ha/svn/trunk/staging_dir/mipsel/usr/include -O2 -Wall > -L/home/val-amart/ha/svn/trunk/staging_dir/toolchain-mipsel_gcc3.4.6/lib > -L/home/val-amart/ha/svn/trunk/staging_dir/mipsel/usr/lib > -L/home/val-amart/ha/svn/trunk/staging_dir/mipsel/lib > -L/home/val-amart/ha/svn/trunk/staging_dir/mipsel/usr/lib/ -lavutil > -lavformat -lz -lcrypt -lavcodec -lgcrypt -lgpg-error -lfaad -pthread -o > feng main.o fncheader.o ../eventloop/libeventloop.la ../rtsp/librtsp.la > ../sdp/libsdp.la ../schedule/libschedule.la ../rtcp/librtcp.la > ../rtp/librtp.la ../mediathread/libmediath.la ../multicast/libmulticast.la > ../conf/liblig h > t.la ../src/libutils.la ../src/liblog.la ../src/libsafectype.la -pthread > -L/home/val-amart/ha/svn/trunk/staging_dir/mipsel/usr/lib -lgthread-2.0 > -lglib-2.0 -lintl -liconv -lpthread > -L/home/val-amart/ha/svn/trunk/staging_dir/mipsel/usr/lib -lgcrypt > -lgpg-error -lnetembryo -lbufferpool > ../mediathread/.libs/libmediath.a(demuxer.o):(.data.rel+0x8): undefined > reference to `fnc_demuxer_avf' > ../mediathread/.libs/libmediath.a(mediaparser.o):(.data.rel+0x8): undefined > reference to `fnc_mediaparser_h264' > ../mediathread/.libs/libmediath.a(mediaparser.o):(.data.rel+0xc): undefined > reference to `fnc_mediaparser_aac' > ../mediathread/.libs/libmediath.a(mediaparser.o):(.data.rel+0x10): undefined > reference to `fnc_mediaparser_mp4ves' > ../mediathread/.libs/libmediath.a(mediaparser.o):(.data.rel+0x14): undefined > reference to `fnc_mediaparser_vorbis' > ../mediathread/.libs/libmediath.a(mediaparser.o):(.data.rel+0x18): undefined > reference to `fnc_mediaparser_theora' > ../mediathread/.libs/libmediath.a(mediaparser.o):(.data.rel+0x1c): undefined > reference to `fnc_mediaparser_speex' > ../mediathread/.libs/libmediath.a(mediaparser.o):(.data.rel+0x24): undefined > reference to `fnc_mediaparser_h263' > collect2: ld returned 1 exit status > make[5]: *** [feng] Error 1 > > While greping through sources, i found this functions in > mediathread/mediaparser.c, where they are declared as extern. i wonder, what > should i link it with to get them working? > > Please ask questions about any information you may lack. > I'm trying to compile it for more than 2 weeks now, i really need your help... > Sorry for my bad english, i'm not native speaker... > > Best regards, Eugene Yunak > _______________________________________________ > LScube-users mailing list > [email protected] > http://live.polito.it/mailman/listinfo/lscube-users >
Ok, i've just made fresh Arch linux install on normal PC, installed all the deps (including the-all-having ffmpeg). i made everything right as directed by "building from source guide". git clone, autoreconf -iv, ./configure, make, make install just the same error..... =( had anyone tried to install feng fairly recent? it seems like there is almost no activity around it.... what a pity, it looked so promising... please, if anyone know something about it, or just has experience with feng, give me a mail -- The best the little guy can do is what the little guy does right _______________________________________________ LScube-users mailing list [email protected] http://live.polito.it/mailman/listinfo/lscube-users
