[tulip] Unresolved symbols in "make install" of netdrivers.tgz

Donald Becker becker@scyld.com
Fri Oct 4 07:53:01 2002


On Thu, 3 Oct 2002, Steinar Bang wrote:

> Platform: Intel PII (Digital PC5510), 21143-based NIC,
> 	  debian testing (aka. "sarge"), 
> 	  2.4.18 kernel from the kernel-image-2.4.18-686 package
..
> Here are the messages from "make install":
> 
> Makefile:46: No kernel version has been specified.
>  Assuming 2.4.18-686.
>  Set the KERNVER variable to specify a different kernel.

When you compile, does the -I... include path point to the proper kernel
header files for the kernel that you attempt to install with?

If you need extra, "magic" defines to work with your specific
distribution's weird kernel build, the EXTRACFLAGS make variable is
provided for this purpose.  For instance, for the Scyld Beowulf system
we have to build three sets of drivers with the following flags:

# Build for beoboot
make -s EXTRACFLAGS="-D__BOOT_KERNEL_H_ -D__BOOT_KERNEL_BEOBOOT=1 -D__MODULE_KERNEL_i386=1" KERNVER="%{uts_release}"

# Build for SMP
make -s EXTRACFLAGS="-D__BOOT_KERNEL_H_ -D__BOOT_KERNEL_SMP=1 -D__MODULE_KERNEL_%{_target_cpu}=1" KERNVER="%{uts_release}"

# Build for UP
make -s EXTRACFLAGS="-D__BOOT_KERNEL_H_ -D__BOOT_KERNEL_UP=1 -D__MODULE_KERNEL_%{_target_cpu}=1" KERNVER="%{uts_release}"


[[ We actually build seven sets of drivers, for the six combinations of
Generic / Athlon optimized / P4 optimized, times Uni/SMP and simple
size-optimized Beoboot kernels. ]]

-- 
Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Second Generation Beowulf Clusters
Annapolis MD 21403			410-990-9993