[Click] Unresolved symbols in kernel module
Rafael Laufer
rlaufer at CS.UCLA.EDU
Tue Apr 8 21:18:10 EDT 2008
I was getting unresolved symbols when inserting the click module in the
2.4 kernel.
linuxmodule/click.o: unresolved symbol htons
linuxmodule/click.o: unresolved symbol ntohl
linuxmodule/click.o: unresolved symbol ntohs
The problem was that the Makefile in the linuxmodule directory was not
considering the -O2 flag of the CFLAGS macro during compilation for the
2.4 kernel. For some reason, CFLAGS was not added to the CXXCOMPILE
macro in linuxmodule/Makefile.in.
The attached patch fixes the problem.
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: click.patch
Type: text/x-patch
Size: 504 bytes
Desc: not available
Url : https://pdos.csail.mit.edu/pipermail/click/attachments/20080408/b2e2d8ad/attachment.bin
More information about the click
mailing list