> >Lukáš Karas пишет: >> Hi. >> >> Have you installed package "gcc-4.1-multilib" exactly, newest version of >> "gcc-multilib"? >> You need this package, for compile 32bit programs (libraries) on x86_64 >> machines. >> >> Regards, > Lukas >> >> >> ______________________________________________________________ >> >> Od: [EMAIL PROTECTED] >>> Komu: [email protected] >>> Datum: 10.11.2008 22:07 >>> Předmět: [M560x-driver-devel] lib4l-0.5.2_control2 (Inrepid x86_64) >>> >>> I've choosen libv4l-0.5.0_comtrol2, because actually i need only Skype, >> >>> but when i try to compile receive error. How to overcome it? >>> >>> [EMAIL PROTECTED]:~/Downloads/libv4l-0.5.0_control$ sudo su >>> [sudo] password for pal: >>> [EMAIL PROTECTED]:/home/pal/Downloads/libv4l-0.5.0_control# make >> >>> CFLAGS="-m32" LDFLAGS="-shared -m32" >>> make -C libv4lconvert V4L2_LIB_VERSION=0.5.0 all >>> make[1]: Entering directory >> >>> `/home/pal/Downloads/libv4l-0.5.0_control/libv4lconvert' >>> cc -c -MMD -I../include -I../../../../linux/include -fvisibility=hidden >> >>> -fPIC -m32 -o libv4lconvert.o libv4lconvert.c >>> cc -c -MMD -I../include -I../../../../linux/include -fvisibility=hidden >> >>> -fPIC -m32 -o tinyjpeg.o tinyjpeg.c >>> cc -c -MMD -I../include -I../../../../linux/include -fvisibility=hidden >> >>> -fPIC -m32 -o sn9c10x.o sn9c10x.c >>> cc -c -MMD -I../include -I../../../../linux/include -fvisibility=hidden >> >>> -fPIC -m32 -o pac207.o pac207.c >>> cc -c -MMD -I../include -I../../../../linux/include -fvisibility=hidden >> >>> -fPIC -m32 -o flip.o flip.c >>> cc -c -MMD -I../include -I../../../../linux/include -fvisibility=hidden >> >>> -fPIC -m32 -o jidctflt.o jidctflt.c >>> cc -c -MMD -I../include -I../../../../linux/include -fvisibility=hidden >> >>> -fPIC -m32 -o spca561-decompress.o spca561-decompress.c >>> cc -c -MMD -I../include -I../../../../linux/include -fvisibility=hidden >> >>> -fPIC -m32 -o rgbyuv.o rgbyuv.c >>> cc -c -MMD -I../include -I../../../../linux/include -fvisibility=hidden >> >>> -fPIC -m32 -o spca501.o spca501.c >>> cc -c -MMD -I../include -I../../../../linux/include -fvisibility=hidden >> >>> -fPIC -m32 -o bayer.o bayer.c >>> cc -shared -shared -m32 -Wl,-soname,libv4lconvert.so.0 -o >> >>> libv4lconvert.so.0 libv4lconvert.o tinyjpeg.o sn9c10x.o pac207.o flip.o >> >>> jidctflt.o spca561-decompress.o rgbyuv.o spca501.o bayer.o >>> /usr/bin/ld: skipping incompatible >> >>> /usr/lib/gcc/x86_64-linux-gnu/4.3.2/libgcc.a when searching for -lgcc >>> /usr/bin/ld: skipping incompatible >> >>> /usr/lib/gcc/x86_64-linux-gnu/4.3.2/libgcc.a when searching for -lgcc >>> /usr/bin/ld: cannot find -lgcc >>> collect2: ld returned 1 exit status >>> make[1]: *** [libv4lconvert.so] Error 1 >>> make[1]: Leaving directory >> >>> `/home/pal/Downloads/libv4l-0.5.0_control/libv4lconvert' >>> make: *** [all] Error 2 >>> [EMAIL PROTECTED]:/home/pal/Downloads/libv4l-0.5.0_control# >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >>> Build the coolest Linux based applications with Moblin SDK & win great >>> prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> M560x-driver-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel >>> >>> > >> >> Thanks, but now i receive another error: > >[EMAIL PROTECTED]:/home/pal/m560x-driver/m560x/branches/m5602-gspca# make >CFLAGS="-m32" LDFLAGS="-shared -m32" >make -C /lib/modules/2.6.27-7-generic/build >SUBDIRS=/home/pal/m560x-driver/m560x/branches/m5602-gspca modules >make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic' > CC [M] /home/pal/m560x-driver/m560x/branches/m5602-gspca/m5602_core.o > CC [M] /home/pal/m560x-driver/m560x/branches/m5602-gspca/m5602_ov9650.o > CC [M] /home/pal/m560x-driver/m560x/branches/m5602-gspca/m5602_mt9m111.o > CC [M] /home/pal/m560x-driver/m560x/branches/m5602-gspca/m5602_po1030.o > CC [M] /home/pal/m560x-driver/m560x/branches/m5602-gspca/m5602_s5k83a.o > CC [M] /home/pal/m560x-driver/m560x/branches/m5602-gspca/m5602_s5k4aa.o > CC [M] /home/pal/m560x-driver/m560x/branches/m5602-gspca/gspca.o >ld: unrecognised emulation mode: 32 >Supported emulations: elf_x86_64 elf_i386 i386linux >make[2]: *** [/home/pal/m560x-driver/m560x/branches/m5602-gspca/gspca.o] Error >1 >make[1]: *** [_module_/home/pal/m560x-driver/m560x/branches/m5602-gspca] Error >2 >make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic' >make: *** [all] Error 2 >[EMAIL PROTECTED]:/home/pal/m560x-driver/m560x/branches/m5602-gspca# > >
Hi. Try compile wiht command make CFLAGS="-mi386linux" LDFLAGS="-shared -mi386linux" or make CFLAGS="-m32" LDFLAGS="-shared -mi386linux" or make CFLAGS="-mi386linux" LDFLAGS="-shared -m32" or other combination... Regards, Lukas ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ M560x-driver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel
