> Matt Harrington <[EMAIL PROTECTED]> writes:
> 
>   Has anyone successfully installed qmail on Mac OSX public beta?  i get
>   this far:
> 
> Remove "-s" from conf-ld, or try changing it to "-x".

[During the course of this email I actually got this to compile. Patch
at the end]

What are you hoping -x will do? Unfortunately this doesn't work on
OS X 10.0:

cc: language qmail-pop3d not recognized
[...]

With
% grep cc conf-ld
cc
%

..it can't find the struct:

./load qmail-pop3d commands.o case.a timeoutread.o \
timeoutwrite.o maildir.o prioq.o now.o env.a strerr.a sig.a \
open.a getln.a stralloc.a alloc.a substdio.a error.a str.a \
fs.a  `cat socket.lib`
/usr/bin/ld: Undefined symbols:
_strerr_sys

..which is odd, 'cos it's (apparently) there:

% nm strerr.a | grep strerr_sys
strerr.a(strerr_sys.o):
00000010 C _strerr_sys
00000000 T _strerr_sysinit
         U _strerr_sysinit
%

Well, this patch seemed to work. (Why it needs initializing I have no idea)

% diff -u strerr_sys-orig.c strerr_sys.c
--- strerr_sys-orig.c   Fri Apr 13 07:05:19 2001
+++ strerr_sys.c        Fri Apr 13 07:04:40 2001
@@ -1,7 +1,7 @@
 #include "error.h"
 #include "strerr.h"
 
-struct strerr strerr_sys;
+struct strerr strerr_sys = {0,0,0,0};
 int a_random_variable;
 
 void strerr_sysinit()
%

HTH,
Paul

Reply via email to