[Click] Unresolved symbols in kernel module
Eddie Kohler
kohler at cs.ucla.edu
Wed Apr 9 14:00:25 EDT 2008
Thanks, applied!
Eddie
Rafael Laufer wrote:
> 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
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list