[vortex] [Fwd: compile probelm 3c59x.c]

Kaspar Klingholz kp@balu.klingholz.de
Tue, 04 Jul 2000 13:53:42 +0200


Hello,

problem was as follows

> when I compile 3c59x.c  99Q I get "807: warning: implicit declaration of
> function 'htons'"
> Trying to load the module results in "unresolved symbol 'htons'".
> system is SuSe 5.2, 2.0.36.
> What do I miss?

The same problem exists on a 2.0.38 kernel on a different system as I've
been told today.

Over time I did some trial and error and found that including the line 
#include <linux/in.h>
solved the problem (at least for me, I do not claim to know what I do
:-)).

Is the above line deleted by mistake or is 3c59x.c not intended to
compile on older kernels?

Do I have to expect ill sideeffects by including in.h?

Best regards
Kaspar

-- 
Kaspar P. Klingholz             mailto:kp@balu.klingholz.de