delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/20/06:31:31

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20010720103009.39942.qmail@web13907.mail.yahoo.com>
Date: Fri, 20 Jul 2001 18:30:09 +0800 (CST)
From: "=?big5?q?Sam=20C.?=" <hk2good AT yahoo DOT com DOT hk>
Subject: qmail compilation
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

Has anyone compiled the qmail in cygwin?

I tried to compile the qmail 1.03,  but failed. My
machine is Win98.

What I did :
1. Add the users in /etc/passwd

alias:*:7790:2108::/var/qmail/alias:/bin/true
qmaild:*:7791:2108::/var/qmail:/bin/true
qmaill:*:7792:2108::/var/qmail:/bin/true
qmailp:*:7793:2108::/var/qmail:/bin/true
qmailq:*:7794:2107::/var/qmail:/bin/true
qmailr:*:7795:2107::/var/qmail:/bin/true
qmails:*:7796:2107::/var/qmail:/bin/true

2. Add groups in /etc/group

qmail:*:2107:
nofiles:*:2108:

3. change the qmail-1.03/compile from 

exec cc -O2 -c ${1+"$@"}
         to
exec gcc -O2 -c ${1+"$@"}

4. change the qmail-1.03/load from

exec cc -s -o "$main" "$main".o ${1+"$@"}
         to
exec gcc -s -o "$main" "$main".o ${1+"$@"}

5. run
          make setup check


Here is the error log generated during step (5) above
:

[.... initial part skipped as there is no error ....]

./compile sig_pause.c
./makelib sig.a sig_alarm.o sig_block.o sig_catch.o \
sig_pause.o sig_pipe.o sig_child.o sig_hup.o
sig_term.o \
sig_bug.o sig_misc.o
( ( ./compile tryflock.c && ./load tryflock )
>/dev/null \
2>&1 \
&& echo \#define HASFLOCK 1 || exit 0 ) > hasflock.h
rm -f tryflock.o tryflock
./compile lock_ex.c
./compile lock_exnb.c
./compile lock_un.c
./makelib lock.a lock_ex.o lock_exnb.o lock_un.o
( ( ./compile trywaitp.c && ./load trywaitp )
>/dev/null \
2>&1 \
&& echo \#define HASWAITPID 1 || exit 0 ) > haswaitp.h
rm -f trywaitp.o trywaitp
./compile wait_pid.c
./compile wait_nohang.c
./makelib wait.a wait_pid.o wait_nohang.o
./load auto-str substdio.a error.a str.a
substdio.a(substdo.o.b)(.text+0x32):substdo.c:
undefined reference to `errno'
collect2: ld returned 1 exit status
make: *** [auto-str] Error 1


Could anyone help ?

Thanks in advance.

       







_________________________________________________________
Do You Yahoo!?
«Ø¥ß­Ó¤Hºô¯¸ http://geocities.yahoo.com.hk
Build your own website at http://geocities.yahoo.com.hk

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019