Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2001 01:09:34 +0100 (CET)
From:      Frederic Stark <f314116@yahoo.com>
To:        freebsd-current@freebsd.org
Subject:   Make kernel fail in modules after upgrade 4.2 -> 5.0
Message-ID:  <Pine.BSF.4.21.0102190100310.76883-100000@aglae.ods.org>

next in thread | raw e-mail | index | archive | help
Hi,

What I did:

cvsup from 4.2-STABLE to 5.0-CURRENT
make buildworld
make installworld
mergemaster

--> All this went okay

Then updated my kernel config file and compiled the kernel.
(I still haven't rebooted the machine)

The build fails in:



===> 3dfx
ld  -r -o 3dfx.kld tdfx_pci.o
/usr/libexec/elf/ld: cannot open tdfx_pci.o: No such file or directory
*** Error code 1

Stop in /usr/src/sys/modules/3dfx.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/src/sys/compile/AGLAE.


3dfx seems to be the first module. If I try to build it by hands:

su-2.03# pwd
/usr/src/sys/modules/3dfx
su-2.03# make clean
rm -f setdef0.c setdef1.c setdefs.h setdef0.o setdef1.o 3dfx.ko 3dfx.kld
tdfx_pci.o @ machine symb.tmp tmp.o opt_tdfx.h bus_if.h device_if.h
pci_if.h
su-2.03# make
Warning: Object directory not changed from original
/usr/src/sys/modules/3dfx
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
echo "#define TDFX_LINUX" > opt_tdfx.h
perl @/kern/makeobjops.pl -h @/kern/bus_if.m
perl @/kern/makeobjops.pl -h @/dev/pci/pci_if.m
perl @/kern/makeobjops.pl -h @/kern/device_if.m
ld  -r -o 3dfx.kld tdfx_pci.o
/usr/libexec/elf/ld: cannot open tdfx_pci.o: No such file or directory
*** Error code 1

Stop in /usr/src/sys/modules/3dfx.
su-2.03# ls
@               bus_if.h        machine         pci_if.h
Makefile        device_if.h     opt_tdfx.h

If I try to build any other module, I have the same error. Looks like my
makefiles are in bad shape and forget to build the object files.

What can I do ?

Thanks in advance,

--fred




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0102190100310.76883-100000>