[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Kernel compile Problem
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: Kernel compile Problem
- From: Rodney Hopkins <rhopkins_(_at_)_sunflower_(_dot_)_com>
- Date: Fri, 25 Sep 1998 22:36:46 -0500
- Delivery-date: Fri Sep 25 20:41:17 1998
I'm trying to compile a 2.3 i386 kernel. I obtained the srcsys.tar.gz from
ftp3.usa.openbsd.org/pub/OpenBSD/2.3 and extracted it into /usr/src. I
created my own kernel configuration file, did a config then started a make
depend ; make. Well, the machine churned away for a little while and then
compilation stopped with the following error: "In file included from
../../../../kern/kern_physio.c:48:
../../../../sys/conf.h:164: syntax error before `}'
cc1: warnings being treated as errors
../../../../sys/conf.h:457: warning: This file contains more `}'s than `{'s.
*** Error code 1
Stop."
I checked the file it was complaining about and found no mismatched }'s.
So, I decided to just try and compile the GENERIC kernel to see if it would
work. It too failed with the same error message but in a different file.
So I continued to execute "make depend ; make" multiple times. Each time
the system would get to a different file before it generated the above
error and stopped. The another error I got was: "In file included from
../../../../kern/kern_physio.c:48:
../../../../sys/conf.h:164: syntax error before `}'
cc1: warnings being treated as errors
../../../../sys/conf.h:457: warning: This file contains more `}'s than `{'s.
*** Error code 1
Stop."
Again, I couldn't find any missing semicolons.
Does anyone have any explaination for these errors? I'm stumped and find
it kinda weird to say the least.
Thanks,
Rodney Hopkins
rhopkins_(_at_)_sunflower_(_dot_)_com
Visit your host, monkey.org