Subject: Re: addicmp.o error while building release
To: None <current-users@NetBSD.org>
From: Alessandro Manunza <firstname.lastname@example.org>
Date: 05/19/2005 01:51:27
>I fixed this in head.
It seems me you have changed include "ctype.h" with <ctype.h> (isn't it?)
but I get the same error.
I was very very very tired training to compile and building and releasing
all the times ALL the NetBSD on my Pentium 500MHz :s, waiting 3 or 4 or
perhaps 5 hours, and than getting all the times the same error addicmp. bla
So I start giving directly the error-generating command and I get the same
error in about 1 or 2 seconds :D:D
The command is:
/usr/src/../tools/bin/i386--netbsdelf-gcc -O2 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional
-Wno-uninitialized -Werror -I/usr/src/dist/ipf -I/usr/src/dist/ipf/tools
-I/usr/src/sys -I/usr/src/sys/dist/ipf -I/usr/src/sys/dist/ipf/netinet
-DSTATETOP -D__UIO_EXPOSE -nostdinc -isystem
/usr/src/dist/ipf/lib/addicmp.c -o addicmp.o.tmp
And after run I get:
# /usr/src/../tools/bin/i386--netbsdelf-gcc...........ecc ecc (command)
/usr/src/dist/ipf/lib/addicmp.c: In function `addicmp':
/usr/src/dist/ipf/lib/addicmp.c:39: warning: implicit declaration of
Wow!! Now the debugging is much more simple!!
I locate ctype.h:
# locate ctype.h
I tried :
# cp /usr/include/ctype.h /usr/src/dist/ipf/lib/ctype
Coping ctype.h in the directory were addicmp is, but I get the same error.
But a question torments me more than others:
It's possible that I'm the only one getting this error?!?!
All the others compile all the release without this problem?
Than I think: 'what I made that the others don't?!?'
And here is the answer: a few days ago, I tried to compile the ipf source,
downloaded from the official site, running a 'make netbsd' & 'make
install-netbsd' or something like these. After this (not good end)
operation, I install a new full snapshot (20050506), hoping to overwriting
the previous operation, but perhaps it in not so!!
I will think...
Any idea...as in the previous message... in VERY welcomed :P