Hi,

I"m trying to compile Racket 5.0 on a Sparc Solaris machine but I get
a linker error in src/racket/gc/:

...
rm -f mach_dep.lo
./if_mach SPARC SOLARIS /home/fbirz/src/src/plt-5.0/src/lt/libtool 
--mode=compile --t
ag=CC gcc  -c -o mach_dep2.lo ./sparc_mach_dep.S
^^^^Starting command^^^^
 gcc -c ./sparc_mach_dep.S  -fPIC -DPIC -o .libs/mach_dep2.o
./if_mach SPARC OPENBSD /home/fbirz/src/src/plt-5.0/src/lt/libtool 
--mode=compile gcc
 -c -x assembler-with-cpp  -o mach_dep2.lo ./sparc_sunos4_mach_dep.s
./if_mach SPARC NETBSD /home/fbirz/src/src/plt-5.0/src/lt/libtool 
--mode=compile gcc
-c -x assembler-with-cpp  -o mach_dep2.lo ./sparc_netbsd_mach_dep.s
./if_mach SPARC "" /home/fbirz/src/src/plt-5.0/src/lt/libtool --mode=compile 
--tag=CC
 gcc  -c -o mach_dep2.lo ./sparc_mach_dep.S
^^^^Starting command^^^^
 gcc -c ./sparc_mach_dep.S  -fPIC -DPIC -o .libs/mach_dep2.o
./if_mach SPARC "" /home/fbirz/src/src/plt-5.0/src/lt/libtool --mode=compile 
--tag=CC
 gcc  -c -o mach_dep1.lo -I./include -I./libatomic_ops/include ./mach_dep.c
^^^^Starting command^^^^
 gcc -c -I./include -I./libatomic_ops/include ./mach_dep.c  -fPIC -DPIC -o 
.libs/mach
_dep1.o
./if_mach SPARC "" ld -r -o mach_dep.lo mach_dep1.lo mach_dep2.lo
^^^^Starting command^^^^
ld: fatal: file mach_dep1.lo: unknown file type
ld: fatal: File processing errors. No output written to mach_dep.lo

mach_dep1.lo and mach_dep2.lo are libtool files, not object files, so the
line in the Makefile should be a suitable libtool invocation instead of a
direct ld call.  I'm not familiar with libtool and don't know how to fix
this.  Can someone of you do it please?

Regards,
  Reinhard

Attachment: pgplHbQ7yL1l1.pgp
Description: PGP signature

_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to