Yeah, I'm getting this same problem (with matsonic config)
Exact error:
gcc -nostdlib -r -o linuxbios.o crt0.o linuxbios.a
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libgcc.a
gcc -nostdlib -nostartfiles -static -o linuxbios -T ldscript.ld
linuxbios.o
nm -n linuxbios > linuxbios.map
objcopy -O binary -R .note -R .comment -S linuxbios linuxbios.strip
export size=`ls -l linuxbios.strip | (read p c u g size r ; echo $size)`
; \
echo $size ; \
dd if=linuxbios.strip of=linuxbios.rom bs=1 seek=`expr 65536 - $size`
524288
dd: invalid number `-458752'
make: *** [linuxbios.rom] Error 1
File lengths are:
-rw-rw-r-- 1 jcpage jcpage 160034 Aug 16 10:16 linuxbios.a
-rw-rw-r-- 1 jcpage jcpage 61863 Aug 16 10:16 linuxbios.o
-rwxrwxr-x 1 jcpage jcpage 386934 Aug 16 10:16 linuxbios*
-rwxrwxr-x 1 jcpage jcpage 524288 Aug 16 10:16 linuxbios.strip*
Like Ollie said, looks like the problem is somewhere in ldscript.base...
-Jake
On Thu, 16 Aug 2001, Ollie Lho wrote:
> Eric,
> I still have some problem in ldscript/crt0.S with incorrectly
> created ROM_TOP, ROM_BASE or reset_vector. This results in a 512KB
> linuxbios.strip image for USE_DOC_MIL. Can you take a look at this
> issue ??
>
> Ollie
>