Subject: A few compilation problems
To: None <port-pmax@NetBSD.ORG>
From: maximum entropy <entropy@zippy.bernstein.com>
List: port-pmax
Date: 05/30/1997 05:01:31
...with SUP from 5/29/97.
1: /sys/arch/mips/include/pte.h is not the current version from the
latest snapshot ("#ifdef MIPS1" needs to be changed to "#ifndef
MIPS3")
2: /sys/arch/mips/include/proc.h is kind of broken. The prototype for
mips_singlestep needs the definition for "struct proc", which isn't
available at the point where this file is included in <sys/proc.h>.
This prototype probably needs to be moved to some other header.
3: While doing "make build" I get:
building shared c library (version 12.15)
ld -x -shared -o libc.so.12.15 -soname libc.so.12 --whole-archive libc_pic.a --no-whole-archive -nostdlib -L/usr/obj/build/usr/lib
ld: cannot open output file stdlib: Is a directory
*** Error code 1
This seems to be a result of a combination of two factors. The
default "make build" setup now uses /usr/obj/build as its "root", so I
guess -nostdlib in bsd.lib.mk makes sense. But with the upgrade to
GNU ld 2.8, there doesn't seem to be a -nostdlib option, so evidently
this is interpreted as "-n -ostdlib" which obiously isn't quite right
:-).
cheers,
entropy
--
entropy -- it's not just a good idea, it's the second law.