having issues building nard
Timothy Ball
timball at gmail.com
Mon Aug 18 20:53:05 CEST 2014
I’ve been fighting the build system for nard for a bit and gotten
almost all the way until about here :
make[1]: Entering directory `/home/timball/junk/work/nard/nard/platform'
cc /home/timball/junk/work/nard/nard/intermediate/fs/lib/modules/3.10.19/build/arch/arm/boot/compressed/piggy.gzip.o
-o /home/timball/junk/work/nard/nard/intermediate/fs/lib/modules/3.10.19/build/arch/arm/boot/compressed/piggy.gzip
/usr/bin/ld: unknown architecture of input file
`/home/timball/junk/work/nard/nard/intermediate/fs/lib/modules/3.10.19/build/arch/arm/boot/compressed/piggy.gzip.o'
is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o: In
function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
not sure what to do about it . tried to use the included
util/bin/nard-cc instead of the makefile specified cc and still get
similar issues :
timball at smokehouse:~/junk/work/nard/nard$ ./util/bin/nard-cc
/home/timball/junk/work/nard/nard/intermediate/fs/lib/modules/3.10.19/build/arch/arm/boot/compressed/piggy.gzip.o
-o /home/timball/junk/work/nard/nard/intermediate/fs/lib/modules/3.10.19/build/arch/arm/boot/compressed/piggy.gzip
/home/timball/junk/work/nard/nard/util/crosstool-ng/crosstool-ng-1.18.0/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot/usr/lib/crt1.o:
In function `_start':
init.c:(.text+0x34): undefined reference to `main'
collect2: ld returned 1 exit status
my system is a :
timball at smokehouse:~/junk/work/nard/nard$ uname -a
Linux smokehouse 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux
running :
timball at smokehouse:~/junk/work/nard/nard$ lsb_release -d
Description: Debian GNU/Linux 7.4 (wheezy)
ultimate goal is to add some software to nard so this is just a small
step in the long walk to reproducibility .
--timball
--
GPG key available on pgpkeys.mit.edu
pub 1024D/511FBD54 2001-07-23 Timothy Lu Hu Ball <timball at tux.org>
Key fingerprint = B579 29B0 F6C8 C7AA 3840 E053 FE02 BB97 511F BD54
More information about the Nard
mailing list