hi,

I installed libnet libraries using fink. I tried to compile a test 
application just using the libnet header files and I ran into an issue.
Anyone with libnet experience on this list? The issue is with defining 
ENDIAN. I may have to modify the file but I was hoping for an alternative 
to compile the header file provided.

thanks,

Mike N.

[localhost:~/dev/stuff] michaeln% make
cc -I/sw/include -I/sw/include/libnet main.c -o test
/sw/include/libnet.h:87: "byte order has not been specified, you'll
/sw/include/libnet.h:88: undefined type, found `need'
/sw/include/libnet.h:88: illegal external declaration, missing `;' after
`to'
/sw/include/libnet.h:88: undefined type, found `define'
/sw/include/libnet.h:88: illegal external declaration, missing `;' after
`either'
/sw/include/libnet.h:88: illegal external declaration, missing `;' after
`or'
/sw/include/libnet.h:88: undefined type, found `See'
/sw/include/libnet.h:88: illegal external declaration, missing `;' after
`the'
/sw/include/libnet.h:89: illegal external declaration, missing `;' after
`regarding'
/sw/include/libnet.h:89: illegal external declaration, missing `;' after
`libnet'
/sw/include/libnet.h:89: illegal method definition, found `script'
/sw/include/libnet.h:89: warning: ANSI C forbids newline in string
constant
/sw/include/libnet.h:95: unterminated string constant
main.c:86: unterminated #if conditional
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
preprocessor exiting with code 1 due to errors
main.c:86: unterminated #if conditional
make: *** [executable] Error 1


_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to