I'm building the lm32 rtems software and running into a build problem. Are the examples supposed to build? I'm just following the commands in the build script. Note I am doing this on OS X so I may have missed something. I haven't looked into this - it's late and I'm heading to bed with hopes of an answer in the morning :)

lm32-rtems4.11-gcc -O9 -Wall -mbarrel-shift-enabled -mmultiply-enabled -mdivide-enabled -msign-extend-enabled -I /opt/rtems-4.11/lm32-rtems4.11/milkymist/lib/include -B /opt/rtems-4.11/lm32-rtems4.11/milkymist/lib -specs bsp_specs -qrtems -o example example.o -L. libz.a
example.o: In function `test_compress':
example.c:(.text+0x3c): undefined reference to `compress'
example.c:(.text+0x3c): relocation truncated to fit: R_LM32_CALL against undefined symbol `compress'
example.c:(.text+0x8c): undefined reference to `uncompress'
example.c:(.text+0x8c): relocation truncated to fit: R_LM32_CALL against undefined symbol `uncompress'
example.o: In function `test_gzio':
example.c:(.text+0x18c): undefined reference to `gzopen'
example.c:(.text+0x18c): relocation truncated to fit: R_LM32_CALL against undefined symbol `gzopen'
example.c:(.text+0x19c): undefined reference to `gzputc'
example.c:(.text+0x19c): relocation truncated to fit: R_LM32_CALL against undefined symbol `gzputc'
example.c:(.text+0x1ac): undefined reference to `gzputs'
example.c:(.text+0x1ac): relocation truncated to fit: R_LM32_CALL against undefined symbol `gzputs'
example.c:(.text+0x1cc): undefined reference to `gzprintf'
example.c:(.text+0x1cc): relocation truncated to fit: R_LM32_CALL against undefined symbol `gzprintf'
example.c:(.text+0x1e4): undefined reference to `gzseek'
example.c:(.text+0x1e4): relocation truncated to fit: R_LM32_CALL against undefined symbol `gzseek'
example.c:(.text+0x1ec): undefined reference to `gzclose'
example.c:(.text+0x1ec): relocation truncated to fit: R_LM32_CALL against undefined symbol `gzclose'
example.c:(.text+0x1fc): undefined reference to `gzopen'
example.c:(.text+0x1fc): relocation truncated to fit: R_LM32_CALL against undefined symbol `gzopen'
example.c:(.text+0x244): undefined reference to `gzread'
example.c:(.text+0x244): relocation truncated to fit: R_LM32_CALL against undefined symbol `gzread'
example.c:(.text+0x280): undefined reference to `gzseek'
example.c:(.text+0x280): additional relocation overflows omitted from the output
example.c:(.text+0x294): undefined reference to `gztell'
example.c:(.text+0x2a0): undefined reference to `gzgetc'
example.c:(.text+0x2b4): undefined reference to `gzungetc'
example.c:(.text+0x2c8): undefined reference to `gzgets'
example.c:(.text+0x304): undefined reference to `gzclose'
example.c:(.text+0x364): undefined reference to `gztell'
example.c:(.text+0x3cc): undefined reference to `gzerror'
example.c:(.text+0x404): undefined reference to `gzerror'
example.c:(.text+0x490): undefined reference to `gzerror'
example.c:(.text+0x4c8): undefined reference to `gzerror'
example.o: In function `test_deflate':
example.c:(.text+0x544): undefined reference to `deflateInit_'
example.c:(.text+0x590): undefined reference to `deflate'
example.c:(.text+0x5a0): undefined reference to `deflateEnd'
example.c:(.text+0x5d8): undefined reference to `deflate'
example.o: In function `test_inflate':
example.c:(.text+0x6f0): undefined reference to `inflateInit_'
example.c:(.text+0x714): undefined reference to `inflateEnd'
example.c:(.text+0x774): undefined reference to `inflate'
example.o: In function `test_large_deflate':
example.c:(.text+0x894): undefined reference to `deflateInit_'
example.c:(.text+0x8b8): undefined reference to `deflate'
example.c:(.text+0x8d8): undefined reference to `deflateParams'
example.c:(.text+0x8f0): undefined reference to `deflate'
example.c:(.text+0x908): undefined reference to `deflateParams'
example.c:(.text+0x91c): undefined reference to `deflate'
example.c:(.text+0x930): undefined reference to `deflate'
example.c:(.text+0x940): undefined reference to `deflateEnd'
example.o: In function `test_large_inflate':
example.c:(.text+0xb3c): undefined reference to `inflateInit_'
example.c:(.text+0xb64): undefined reference to `inflate'
example.c:(.text+0xb74): undefined reference to `inflateEnd'
example.o: In function `test_flush':
example.c:(.text+0xcb4): undefined reference to `deflateInit_'
example.c:(.text+0xce8): undefined reference to `deflate'
example.c:(.text+0xd10): undefined reference to `deflate'
example.c:(.text+0xd28): undefined reference to `deflateEnd'
example.o: In function `test_sync':
example.c:(.text+0xea0): undefined reference to `inflateInit_'
example.c:(.text+0xebc): undefined reference to `inflate'
example.c:(.text+0xecc): undefined reference to `inflateSync'
example.c:(.text+0xee0): undefined reference to `inflate'
example.c:(.text+0xef0): undefined reference to `inflateEnd'
example.o: In function `test_dict_deflate':
example.c:(.text+0x102c): undefined reference to `deflateInit_'
example.c:(.text+0x104c): undefined reference to `deflateSetDictionary'
example.c:(.text+0x108c): undefined reference to `deflate'
example.c:(.text+0x109c): undefined reference to `deflateEnd'
example.o: In function `test_dict_inflate':
example.c:(.text+0x1204): undefined reference to `inflateInit_'
example.c:(.text+0x1238): undefined reference to `inflate'
example.c:(.text+0x1290): undefined reference to `inflateSetDictionary'
example.c:(.text+0x12a4): undefined reference to `inflateEnd'
example.o: In function `main':
example.c:(.text+0x13dc): undefined reference to `zlibVersion'
example.c:(.text+0x13f0): undefined reference to `zlibVersion'
example.c:(.text+0x1404): undefined reference to `zlibCompileFlags'
collect2: ld returned 1 exit status
make[1]: *** [example] Error 1
sed: 1: "Makefile": invalid command code M
cp libz.a /opt/rtems-4.11/lm32-rtems4.11/milkymist/lib
cp  /opt/rtems-4.11/lm32-rtems4.11/milkymist/lib
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory
make[1]: *** [install-libs] Error 64
make: *** [build_dir/zlib] Error 2
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode
Twitter: www.twitter.com/milkymistvj
Ideas? http://milkymist.uservoice.com

Reply via email to