Subject: build error: e_os.h: No such file
To: None <current-users@netbsd.org>
From: Arto Selonen <arto@selonen.org>
List: current-users
Date: 09/01/2002 14:01:21
Hi!
Yesterday I also got this:
On Sat, 31 Aug 2002, Juergen Hannken-Illjes wrote:
> On Sat, Aug 31, 2002 at 09:49:44AM -0700, Hisashi T Fujinaka wrote:
> > /usr/src/tools/obj/tools.NetBSD-1.6G-i386/bin/i386--netbsdelf-gcc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-format-y2k -Werror -I/usr/src/usr.bin/systat/../../usr.bin/vmstat -DSUPPORT_UTMP -DSUPPORT_UTMPX -I/usr/src/usr.bin/systat/../../usr.bin/who -DINET6 -DIPSEC -nostdinc -isystem /usr/include -c /usr/src/usr.bin/systat/bufcache.c
> > cc1: warnings being treated as errors
> > In file included from /usr/src/usr.bin/systat/bufcache.c:45:
> > /usr/include/sys/buf.h:97: warning: `struct buf' declared inside parameter list
> > /usr/include/sys/buf.h:97: warning: its scope is only this definition or declaration, which is probably not what you want.
> > *** Error code 1
Today, after the fix:
> Fixed in sys/sys/buf.h rev 1.54.
I'm getting this (added whitespace + multiline for readability):
dependall ===> libcrypto_idea
CC=/usr/obj/tools/bin/i386--netbsdelf-gcc /usr/obj/tools/bin/nbmkdep -a \
-Dlibcrypto_idea -I. -I/fs/cvs/src/crypto/dist/openssl/crypto \
-DOPENSSLDIR=\"/etc/openssl\" -DDSO_DLFCN -DHAVE_DLFCN_H \
-I/fs/cvs/src/crypto/dist/openssl/crypto \
-I/fs/cvs/src/crypto/dist/openssl/crypto/idea \
-nostdinc -isystem /usr/include \
/fs/cvs/src/crypto/dist/openssl/crypto/idea/i_cbc.c \
/fs/cvs/src/crypto/dist/openssl/crypto/idea/i_skey.c \
/fs/cvs/src/crypto/dist/openssl/crypto/evp/e_idea.c \
/fs/cvs/src/crypto/dist/openssl/crypto/evp/c_allc.c
In file included from /fs/cvs/src/crypto/dist/openssl/crypto/evp/e_idea.c:62:
/fs/cvs/src/crypto/dist/openssl/crypto/cryptlib.h:65: e_os.h: No such file or directory
In file included from /fs/cvs/src/crypto/dist/openssl/crypto/evp/c_allc.c:60:
/fs/cvs/src/crypto/dist/openssl/crypto/cryptlib.h:65: e_os.h: No such file or directory
nbmkdep: compile failed.
*** Error code 1
Looking around, I see two instances of e_os.h:
/fs/cvs/src/crypto/dist/openssl/e_os.h
/usr/include/openssl/e_os.h
diff says they are the same. /usr/obj/tools/include is empty.
the sequence was:
- sync sources from anoncvs
- build & reboot a new kernel
# cd /usr/src
# make cleandir
# ./build.sh
Relevant /etc/mk.conf entries:
BSDOBJDIR= /usr/obj/src
MKOBJDIRS= yes
TOOLDIR= /usr/obj/tools
MKTOOLS= yes
BUILD= 1
Will this mutate to something else tomorrow, or do I need to change
something locally to get further?
Artsi
#######======------ http://www.selonen.org/arto/ --------========########
Everstinkuja 5 B 35 Don't mind doing it.
FIN-02600 Espoo arto@selonen.org Don't mind not doing it.
Finland tel +358 50 560 4826 Don't know anything about it.