At 21:09 13.05.2006, Gerard Seibert wrote:
Lowell Gilbert wrote:

> Kyrre Nygard <[EMAIL PROTECTED]> writes:
>
> > Hello ...
> >
> > When doing makeworld, and this is my exact procedure:
> >
> > cvsup -g -L 2 /etc/cvsupfile
> > cd /usr/obj
> > chflags -R noschg
> > rm -rf *
> > cd /usr/src
> > make clean
> >
> > make buildworld (this is where it fails)
> >
> > make buildkernel KERNCONF=NINJA
> > make installkernel KERNCONF=NINJA
> > make installworld
> > mergemaster
> >
> > With this error:
> >
> > ===> usr.sbin/traceroute (all)
> > cc -O2 -fno-strict-aliasing -pipe  -DHAVE_SYS_SELECT_H=1
> > -DHAVE_SYS_SOCKIO_H=1  -DHAVE_NET_ROUTE_H=1
> > -DHAVE_NET_IF_DL_H=1  -DHAVE_STRERROR=1
> > -DHAVE_USLEEP=1  -DHAVE_SYS_SYSCTL_H=1  -DHAVE_SETLINEBUF=1
> > -DHAVE_RAW_OPTIONS=1  -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_ICMP_NEXTMTU=1
> > -DIPSEC
> > -I/usr/src/usr.sbin/traceroute/../../contrib/traceroute/lbl  -c version.c
> > cc -O2 -fno-strict-aliasing -pipe  -DHAVE_SYS_SELECT_H=1
> > -DHAVE_SYS_SOCKIO_H=1  -DHAVE_NET_ROUTE_H=1
> > -DHAVE_NET_IF_DL_H=1  -DHAVE_STRERROR=1
> > -DHAVE_USLEEP=1  -DHAVE_SYS_SYSCTL_H=1  -DHAVE_SETLINEBUF=1
> > -DHAVE_RAW_OPTIONS=1  -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_ICMP_NEXTMTU=1
> > -DIPSEC
> > -I/usr/src/usr.sbin/traceroute/../../contrib/traceroute/lbl  -c
> > /usr/src/usr.sbin/traceroute/../../contrib/traceroute/traceroute.c
> > cc -O2 -fno-strict-aliasing -pipe  -DHAVE_SYS_SELECT_H=1
> > -DHAVE_SYS_SOCKIO_H=1  -DHAVE_NET_ROUTE_H=1
> > -DHAVE_NET_IF_DL_H=1  -DHAVE_STRERROR=1
> > -DHAVE_USLEEP=1  -DHAVE_SYS_SYSCTL_H=1  -DHAVE_SETLINEBUF=1
> > -DHAVE_RAW_OPTIONS=1  -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_ICMP_NEXTMTU=1
> > -DIPSEC
> > -I/usr/src/usr.sbin/traceroute/../../contrib/traceroute/lbl  -c
> > /usr/src/usr.sbin/traceroute/../../contrib/traceroute/ifaddrlist.c
> > cc -O2 -fno-strict-aliasing -pipe  -DHAVE_SYS_SELECT_H=1
> > -DHAVE_SYS_SOCKIO_H=1  -DHAVE_NET_ROUTE_H=1
> > -DHAVE_NET_IF_DL_H=1  -DHAVE_STRERROR=1
> > -DHAVE_USLEEP=1  -DHAVE_SYS_SYSCTL_H=1  -DHAVE_SETLINEBUF=1
> > -DHAVE_RAW_OPTIONS=1  -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_ICMP_NEXTMTU=1
> > -DIPSEC
> > -I/usr/src/usr.sbin/traceroute/../../contrib/traceroute/lbl  -c
> > /usr/src/usr.sbin/traceroute/../../contrib/traceroute/findsaddr-socket.c
> > cc -O2 -fno-strict-aliasing -pipe  -DHAVE_SYS_SELECT_H=1
> > -DHAVE_SYS_SOCKIO_H=1  -DHAVE_NET_ROUTE_H=1
> > -DHAVE_NET_IF_DL_H=1  -DHAVE_STRERROR=1
> > -DHAVE_USLEEP=1  -DHAVE_SYS_SYSCTL_H=1  -DHAVE_SETLINEBUF=1
> > -DHAVE_RAW_OPTIONS=1  -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_ICMP_NEXTMTU=1
> > -DIPSEC
> > -I/usr/src/usr.sbin/traceroute/../../contrib/traceroute/lbl   -o
> > traceroute version.o traceroute.o ifaddrlist.o findsaddr-socket.o -lipsec
> > traceroute.o(.text+0x7): In function `usage':
> > : undefined reference to `version'
> > *** Error code 1
> >
> > Stop in /usr/src/usr.sbin/traceroute.
> > *** Error code 1
> >
> > Stop in /usr/src/usr.sbin.
> > *** Error code 1
> >
> > Stop in /usr/src.
> > *** Error code 1
> >
> > Stop in /usr/src.
> > *** Error code 1
> >
> > Stop in /usr/src.
> >
> > Does anyone know what I can do to fix it?
>
> Did you have sources before you ran cvsup?
> What did the supfile look like?

I believe it should be:

chflags -R noschg /usr/obj/usr
rm -rf /usr/obj/usr
cd /usr/src
make cleandir
make cleandir

Yes, the 'make cleandir' statement is run twice.

--
Gerard Seibert
[EMAIL PROTECTED]


Once or twice, it is still irrelevant.

Thank you so much though.

-- Kyrre



_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to