Subject: Re: undefined symbols?
To: None <bwildasiX@csulb.edu>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 08/08/1998 17:17:08
> Hi!
> Looks like netbsd-1.3.2's syssrc.tgz has problems on this 1.3.2 upgraded system.
> Specifically when I cd to /usr/src/sys/ and type 'make includes && make depend
> && make', many of the source code files have headers that aren't recognised
> at their default location when they were installed as 'tar --unlink -zxvpf ...'
> is done in /. I may try to move the whole tree to /. to see if that helps.
> Definately where they are now in /usr/src/sys is no good for many #include
> files aren't recognised by gcc.

The include files installed in /usr/include have nothing to do with
compiling a kernel. One of the many directives on all of the gcc
lines is "-nostdinc" which means don't add any of the standard include
directories to the search list. So then all of the directories explicitly
listed with a -I will be the only ones searched.

The fact that these .c files are being compiled indicates that the
includes are being read just fine. If they weren't then you'd get
compile errors.

> http://www.csulb.edu/~bwildasi/unix/netbsd/kernel-typescript
> http://www.csulb.edu/~bwildasi/unix/netbsd/adb.o-typescript
> 
> My conf file and compile files are there also to see what options were turned
> on. I turned off compatibilty for sun and netbsd version compatibilty older
> than 1.2. Would that make a difference?

I'm not sure. Turning off the sunos compatability should be fine. And
the other compatabilities shouldn't hurt you until the kernel's running.

Try removing these .o files and recompiling to see if anything changes.

If not, then try:

nm adb.o ite.o |grep ite_intr

and post the results.

Take care,

Bill