I have posted this mail before but somehow it didn't end on the top of the mailling list, so I try again.

I have the famous problem with a newly installed debian lenny AMD64

unable to find protocol number with getprotobyname()

Yes I know it has something (I have read) to do with UDP.

grep UDP /etc/protocols
udp    17    UDP        #user datagram protocol

However I can successfully, send and receive mails.


The code in spamdyke is very simple it just call
getprotobyname("udp"), and if the returned pointer is null it logs the error 
message.
My guess is that getprotobyname for some reason hasn't been able to read the
/etc/protocols.
I have made a small testprogram using getprotobyname and it works fine. I even 
let
start-stop-daemon start my test program.
The testprogram was build with the same settings as spamdyke. Afterwards I made 
a
clean and make spamdyke, and a reinstallation but it changed nothing.


I did ./configure and it indeed gave me some errors. For instance:


conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
configure:2524: $? = 1

Am I missing some packages ?
I have added the config.log because I don't understand all the configure errors
However I could build spamdyke.

debian lenny (5.0.3) AMD64

Attachment: config.log
Description: Binary data

_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to