Port of Qmail to QRTP

I am trying to get qmail to work on QRTP. I have part of a port done, in
that there were a couple of libs not found and an unsupported call to lockf
that I replaced.

Also, it seems that the qrtp has a limit somewhere of 16 threads as qmail
complains about it during compile. I still haven’t heard a definative fix
for that.

Now it starts compiling the qmail-remote.c and dns.c and I get MANY
errors… Mostly "undefined call to ‘socket’ ". Since I am somewhat of a
new programmer, these errors are a little overwhelming. I have found
<sys/socket.h> and <net/if.h> both of which have socket stuff, but adding
these did not help.

qmail source is only about 200K (qmail.org), but it is MUCH faster than
sendmail and I am wanting to try to get some benchmarks to run. I currently
have a linux qmail that nfs-mounts the mail store. I am interested to see
what differences there might be.

Any help would be greatly appreciated.

Duane.

DHS <dhs@terraworld.net-spammmm-beee-gone> wrote:

Now it starts compiling the qmail-remote.c and dns.c and I get MANY
errors… Mostly "undefined call to ‘socket’ ". Since I am somewhat of a
new programmer, these errors are a little overwhelming. I have found
sys/socket.h> and <net/if.h> both of which have socket stuff, but adding
these did not help.

Are these linking errors? If they are you need to add -lsocket to your
linking command line. The socket calls aren’t in libc.

Dave Rempel

DHS <dhs@terraworld.net-spammmm-beee-gone> wrote:

: Now it starts compiling the qmail-remote.c and dns.c and I get MANY
: errors… Mostly "undefined call to ‘socket’ ". Since I am somewhat of a
: new programmer, these errors are a little overwhelming. I have found
: <sys/socket.h> and <net/if.h> both of which have socket stuff, but adding
: these did not help.

When you are building qmail it will create a file in the source directory
called sock or socket (don’t have access to the source right now), add
-lsocket in the file and re-run the make setup check and it should
link properly for you.

-Peter