В Втр, 28/07/2009 в 09:51 +0200, Bernhard Reutner-Fischer пишет: > 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.. Yeah, I think so, but I get source from crush repository. Also, I try to use emsource at.
as I understand I need to build at package for cross compile (host: i386, target: arm). but how to make it I could not find the solution. > > > >What's wrong? > > Sounds like you're missing something like this patch: > http://git.buildroot.org/buildroot/tree/package/at/at-crosscompile.patch # patch -p1 < ../at-crosscompile.patch patching file Makefile.in patching file config.h.in patching file configure Hunk #1 FAILED at 1037. 1 out of 1 hunk FAILED -- saving rejects to file configure.rej patching file getloadavg.c Hunk #1 FAILED at 66. 1 out of 1 hunk FAILED -- saving rejects to file getloadavg.c.rej patching file parsetime.h patching file parsetime.l Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file parsetime.l.rej after I apply this patch, emdebuild terminates with error again. there are some FAILED here. is it ok ? -- To UNSUBSCRIBE, email to debian-embedded-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org