On Sun, 31 Dec 2000 [EMAIL PROTECTED] wrote:
> './configure --with-FreeBSD' does not seem to configure plex86 for
> freebsd. When I run 'gmake' afterwards, the build dies while building
> host-linux.c, because it (obviously) can't find linux/*.h and some others
> that are in there. I'd try to fix this if I knew my way around configure,
> but I don't. I'll probably have a look anyway, but don't expect anything
> :)
>
> btw, I run FreeBSD 4.2-RELEASE.
Erm... *cough*, could someone put an autogen.sh script in the CVS
repository to regenerate the configuration-files? :) I don't really know
which to run, automake, autoconf, autoheader...? But I ran a few of them a
couple of times, and now it tried to compile host-freebsd.c, at
least. Only now, I got this:
gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -nostdinc
-fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2
-D_KERNEL -I/sys -I/sys/sys -I. -D_LKM -DFREEBSD_PLEX86_DEBUG -I./include
-I./.. -I.. host-freebsd.c
In file included from /sys/sys/types.h:48,
from /sys/sys/param.h:56,
from host-freebsd.c:27:
/sys/sys/inttypes.h:9: machine/ansi.h: No such file or directory
In file included from /sys/sys/param.h:56,
from host-freebsd.c:27:
/sys/sys/types.h:49: machine/types.h: No such file or directory
/sys/sys/types.h:125: machine/endian.h: No such file or directory
and lots more.
I do have all the 3 files listed above in my /usr/include directory (eg,
/usr/include/machine/ansi.h does exist). I've probably just done something
wrong, though, so I'll leave this and hope for a proper fix by the next
millenium (uh-oh, hope I'm not starting a flame-war about when the new
millenium *really* starts ;)).
Ketil