At 11:41 AM +0800 4/27/00, Isaiah Chua wrote:
>hi folks,
>
>I'm not sure if this has been asked before, but searching the FAQs 
>didn't produce anything, so I assume it could be new.
>
>I'm trying to compile qMail on our RedHat 6.2 server and have 
>downloaded all the necessary files for qMail to be compiled and take 
>over sendmail.
>
>However, whenever I try to compile either of the modules and qMail 
>itself, I get a rather similar message for all... after typing 'make 
>setup check':
>
>bash# cd qmail*
>bash# make setup check
>( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null \
>2>&1 \
>&& cat fork.h2 || cat fork.h1 ) > fork.h
>rm -f tryvfork.o tryvfork
>./compile qmail-local.c
>qmail-local.c: In function `main':
>qmail-local.c:448: warning: return type of `main' is not `int'
>./compile qmail.c
>./compile quote.c
>./compile now.c
>./compile gfrom.c
>./compile myctime.c
>./compile slurpclose.c
>./compile case_diffb.c
>./compile case_diffs.c
>./compile case_lowerb.c
>./compile case_lowers.c
>./compile case_starts.c
>./makelib case.a case_diffb.o case_diffs.o case_lowerb.o \
>case_lowers.o case_starts.o
>./compile getln.c
>./compile getln2.c
>./makelib getln.a getln.o getln2.o
>./compile subgetopt.c
>./compile sgetopt.c
>./makelib getopt.a subgetopt.o sgetopt.o
>./compile sig_alarm.c
>In file included from /usr/include/signal.h:300,
>                  from sig_alarm.c:1:
>/usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or
>directory
>make: *** [sig_alarm.o] Error 1
>
>I already have all the GNU C compilers installed on the server.
>
>Anyone has any ideas why?
>

You're missing the kernel headers, most likely.  You'll need to get 
them from somewhere before you can proceed.  There's an rpm, I think. 
On my Yellow Dog Linux machine (a RedHat clone for PPC), 
/usr/include/asm is a symlink into the kernel sources.

>
>
>

-- 
--
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693
[EMAIL PROTECTED]

Reply via email to