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

Re: building at stops with error



On Tue, Jul 28, 2009 at 02:12:13PM +0800, debuser wrote:
>I try to build at for arm using cross compile utils.
>
>....
>....
>parsetime.y: In function ‘parsetime’:
>parsetime.y:510: warning: implicit declaration of function ‘panic’
>parsetime.y: At top level:
>parsetime.y:10: warning: ‘svnid’ defined but not used
>flex -i parsetime.l
>arm-linux-gnu-gcc -c -g -O2 -DHAVE_CONFIG_H -DVERSION=\"3.1.9\"
>-DETCDIR=\"/etc\" -DLOADAVG_MX=1.5 -DDAEMON_USERNAME=\"daemon\"
>-DDAEMON_GROUPNAME=\"daemon\" -DLFILE=\"/var/spool/cron/atjobs/.SEQ\"
>-Wall lex.yy.c
>parsetime.l:8: warning: ‘svnid’ defined but not used
>lex.yy.c:1514: warning: ‘yyunput’ defined but not used
>lex.yy.c:1557: warning: ‘input’ defined but not used
>arm-linux-gnu-gcc -g -O2 -o at at.o panic.o perm.o y.tab.o lex.yy.o -lfl
>-lfl
>/usr/lib/gcc/arm-linux-gnu/4.3.3/../../../../arm-linux-gnu/bin/ld:
>skipping incompatible /usr/lib/libfl_pic.a when searching
>for /usr/lib/libfl_pic.a
>/usr/lib/gcc/arm-linux-gnu/4.3.3/../../../../arm-linux-gnu/bin/ld:
>cannot find /usr/lib/libfl_pic.a
>collect2: ld returned 1 exit status
>make[1]: *** [at] Error 1
>make[1]: Leaving directory `/work/trunk/a/at/trunk/at-3.1.10.2'
>make: *** [build] Error 2
>dpkg-buildpackage: error: debian/rules build gave error exit status 2
>Recording that the package failed to build.
>
>error : cannot find /usr/lib/libfl_pic.a
>
># locate libfl_pic.a
>/usr/lib/libfl_pic.a
>
>this file exists.

Could be, but note that it's most likely the wrong arch..
>
>What's wrong? 

Sounds like you're missing something like this patch:
http://git.buildroot.org/buildroot/tree/package/at/at-crosscompile.patch


Reply to: