Hi all,
Has anyone had any experience compiling/running CDRecord on a StrongARM
SA-1110 based system? I am attempting to cross-compile cdrtools-1.10 from a
x86 system but it fails giving lots of error messages like
...
arm-linux-gcc -O -I. -IOBJ/armv4l-linux-gcc -I../incs/armv4l-linux-gcc -I
../include -I/usr/src/linux/include -I../cdrecord -c -o
OBJ/armv4l-linux-gcc/modes.o modes.c
arm-linux-gcc -o OBJ/armv4l-linux-gcc/scgcheck
OBJ/armv4l-linux-gcc/scgcheck.o OBJ/armv4l-linux-gcc/sense.o
OBJ/armv4l-linux-gcc/dmaresid.o OBJ/armv4l-linux-gcc/scsi_scan.o
OBJ/armv4l-linux-gcc/scsi_cdr.o OBJ/armv4l-linux-gcc/cd_misc.o
OBJ/armv4l-linux-gcc/modes.o -L../libs/armv4l-linux-gcc -L/opt/schily/lib -
lrscg -lscg -lschily
../libs/armv4l-linux-gcc/libschily.a(fillbytes.o): In function `fillbytes':
fillbytes.o(.text+0x30): undefined reference to `laligned'
fillbytes.o(.text+0x30): relocation truncated to fit: R_ARM_PC24 laligned
../libs/armv4l-linux-gcc/libschily.a(getargs.o): In function `doflag':
getargs.o(.text+0x298): undefined reference to `va_copy'
getargs.o(.text+0x298): relocation truncated to fit: R_ARM_PC24 va_copy
../libs/armv4l-linux-gcc/libschily.a(getargs.o): In function `dosflags':
getargs.o(.text+0x8fc): undefined reference to `va_copy'
getargs.o(.text+0x8fc): relocation truncated to fit: R_ARM_PC24 va_copy
../libs/armv4l-linux-gcc/libschily.a(movebytes.o): In function `movebytes':
movebytes.o(.text+0x34): undefined reference to `l2aligned'
movebytes.o(.text+0x34): relocation truncated to fit: R_ARM_PC24 l2aligned
movebytes.o(.text+0x154): undefined reference to `l2aligned'
movebytes.o(.text+0x154): relocation truncated to fit: R_ARM_PC24 l2aligned
collect2: ld returned 1 exit status
make[1]: *** [OBJ/armv4l-linux-gcc/scgcheck] Error 1
make[1]: Leaving directory `/usr/src/cdrtools-1.10/scgcheck'
...
Further up thru the log it gives an error message
==> GENERATING include file "../incs/armv4l-linux-gcc/align.h
/bin/sh: OBJ/armv4l-linux-gcc/align_test: cannot execute binary file
which I assume is causing the problem. I assume it is compiled as an ARM
executable and thus won't execute on the x86. I guess that if tried to
build it natively it would work ok, but I would really like to cross-compile
it as I currently have no native compiler.
I am using
make K_ARCH=armv4l CC=arm-linux-gcc LDCC=arm-linux-gcc
to build it.
2nd question)
Which drivers do I need to read and write to cd's. Is enabling scsi
generic and ide-scsi sufficient?
Can anyone help me or at least point me in the right direction?
Many thanks,
Jason Austin
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
http://www.arm.linux.org.uk/armlinux/mailinglists.php
Please visit the above addresses for information on this list.