🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #60131

Re: bsd/signal.h problem w/ gcc 2.4.3, libc 4.4.1

#60131
From: Jonathon Tidswell
Date: Wed, 14 Jul 1993 00:59
35 lines
2246 bytes
In article <ins122a.742447702@aurora.cc.monash.edu.au> ins122a@aurora.cc.monash.edu.au (Mike Battersby) writes:
>I get the following error when trying to compile the "angband"
>game on my system (386-40, no co-pro, gcc 2.4.3, libc 4.4.1):
>
>---------------------------------------------------------------------------
>
>gcc -g -DLIBDIR=\"/usr/angband/lib\"  -c /usr/angband/src/signals.c -o
>/usr/ang\band/obj/signals.o
>In file included from /usr/angband/src/signals.c:56:
>/usr/include/bsd/signal.h:7: No include path in which to find signal.h
>make: *** [/usr/angband/obj/signals.o] Error 1
>
>---------------------------------------------------------------------------
>
>Can anyone shed light on this error (seems to occur in a
>#include_next statement -- what does this do?), and suggest
>a fix for the problem ??
>
>regards
>
>Mike

#define conjecture

If you are compiling bsd sources ( particularly networking ) under Linux,
I gather you should use -Ibsd as an option to gcc.
"#include_next <file>" includes in the bsd case and not otherwise or some such.

enjoy,
JonT.
-- 
Jonathon Earnshaw Tidswell            | Telephone:  +61 2 957 3549
Hydrographic Sciences Australia P/L   | Facsimile:  +61 2 959 3594
PO Box 85 Cammeray NSW Australia 2062 | E-mail:     jont@hsa.com.au
Disclaimer: I think my thoughts are my own, and I believe my writings are too.
Technical Details
Message-ID: <1993Jul14.005909.2516@hydro.hsa.com.au>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!ux1.cso.uiuc.edu!sdd.hp.com!saimiri.primate.wisc.edu!caen!batcomputer!munnari.oz.au!yarrina.connect.com.au!warrane.connect.com.au!hsa.com.au!jont
References: <ins122a.742447702@aurora.cc.monash.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9382,72fcd4b8aedefb8
X-Google-Attributes: gidf9382,public
X-Google-Thread: 102983,72fcd4b8aedefb8
X-Google-Attributes: gid102983,public
X-Google-ArrivalTime: 1993-07-13 18:29:45 PST
Newsgroups: aus.computers.linux,comp.os.linux
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!ux1.cso.uiuc.edu!sdd.hp.com!saimiri.primate.wisc.edu!caen!batcomputer!munnari.oz.au!yarrina.connect.com.au!warrane.connect.com.au!hsa.com.au!jont
From: jont@hydro.hsa.com.au (Jonathon Tidswell)
Subject: Re: bsd/signal.h problem w/ gcc 2.4.3, libc 4.4.1
Message-ID: <1993Jul14.005909.2516@hydro.hsa.com.au>
Keywords: gcc libc
Organization: Hydrographic Sciences of Australia. Pty. Ltd.
References: <ins122a.742447702@aurora.cc.monash.edu.au>
Date: Wed, 14 Jul 1993 00:59:09 GMT
Lines: 35