Re: kernel module: unresolved symbols

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 22, 2002 at 10:03:55AM +0100, Lukas Ruf wrote:

> promethos_WV.o: unresolved symbol vfree_R2fd1d81c
> 
> I compile the module with gcc 2.95.4 and the following parameters:
> CFLAGS = -x c -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> CFLAGS+= -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> CFLAGS+= -march=i686 -DMODULE -DMODVERSIONS
> CFLAGS+= -include $(LINUX)/include/linux/modversions.h
> CFLAGS+= -D__KERNEL__
> 

There is nothing here  to pick up the right kernel headers for the
source tree. Your module is using modversions, but the kernel headers it
found on the standard include path aren't. Read the FAQs

regards
john

-- 
Khendon's Law: If the same point is made twice by the same person,
the thread is over.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux