Hi,

After follow the instructions from the FAQ 5.3.5 the system returns:




# *rm -rf /usr/obj/**
# *cd /usr/src*
# *make obj
*# *cd /usr/src/etc && env DESTDIR=/ make distrib-dirs
*# *cd /usr/src*
# make build

cd /usr/src/share/mk && exec  make install
install -c -o root -g bin -m 444 bsd.README bsd.doc.mk bsd.dep.mk bsd.lib.mk bsd.man.mk bsd.nls.mk bsd.obj.mk bsd.own.mk bsd.port.mk bsd.port.subdir.mk bsd.prog.mk bsd.regress.mk bsd.subdir.mk bsd.sys.mk sys.mk bsd.lkm.mk /usr/share/mk
cd /usr/src/include && make prereq && exec  make includes
preparing in /usr/src/include/../usr.sbin/httpd
preparing in /usr/src/include/../gnu/usr.bin/binutils
PATH="/bin:/usr/bin:/sbin:/usr/sbin" MAKEINFO='makeinfo --no-split' sh /usr/src/gnu/usr.bin/binutils/configure --prefix=/usr --infodir='${prefix}/share/info' --disable-nls --disable-gdbtk --disable-commonbfdlib
loading cache ./config.cache
checking host system type... i386-unknown-openbsd4.0
checking target system type... i386-unknown-openbsd4.0
checking build system type... i386-unknown-openbsd4.0
checking for a BSD compatible install... /usr/bin/install -c
/usr/lib/crtbegin.o(.init+0x1): In function `__init':
: undefined reference to `__do_init'
/usr/lib/crtbegin.o(.fini+0x1): In function `__fini':
: undefined reference to `__do_fini'
collect2: ld returned 1 exit status
*** The command '/usr/bin/gcc -o conftest -g -O2   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/binutils.
*** Error code 1

Stop in /usr/src/include (line 82 of Makefile).
*** Error code 1

Stop in /usr/src (line 73 of Makefile).



Any ideas?


         Thanks in advance,

                    Alvaro

Reply via email to