autoconf & co.

Andre Heine <[email protected]>
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
Moin moin,

durch den Thread "Make Problem" habe ich jetzt
autoconf & co. nÀher angeguckt.

http://sources.redhat.com/autobook/autobook/autobook_toc.html#SEC_Contents

Mit dieser Einleitung wollt ich nun anfangen, soweit so gut!

"Makefile.am" und "configure.in" angelegt, danach habe ich

aclocal
autoconf
automake --add-missing

aufgerufen.
Als letztes noch mit "touch" die fehlenden Dateien angelegt...
(NEWS,COPYING, usw....)

Prima, scheint bis hier alles OK zu sein, ist es aber nicht ;(

Laut der Einleitung reicht nun einfach ein "./configure" um das 
Makefile zu generieren.

Stimmt tut's auch, aber das Makefile funktioniert nicht wirklich;(

------------------- snip ------------------------------------
voodoo@yamato tmp $ make
gcc -DPACKAGE=\"sigger\" -DVERSION=\"1.0\"  -I. -I.      -g -O2 -c 
main.c
main.c: In Funktion »main«:
main.c:13: error: `SIGINT' undeclared (first use in this function)
main.c:13: error: (Each undeclared identifier is reported only once
main.c:13: error: for each function it appears in.)
main.c:13: error: `SIG_ERR' undeclared (first use in this function)
main.c: In Funktion »strgc_faenger«:
main.c:39: error: `SIGINT' undeclared (first use in this function)
main.c:39: error: `SIG_IGN' undeclared (first use in this function)
main.c:45: error: `SIG_ERR' undeclared (first use in this function)
make: *** [main.o] Fehler 1

Hmm, "SIGINT" & Co. ist in signal.h deklariert, warum wird die nicht
gefunden?

Rufe ich den gcc von Hand auf klappt das alles.

voodoo@yamato tmp $ gcc -g -O2 -c main.c

Was fehlt den da nun noch? Was mache ich noch falsch?

Ciao

Andre

-- 
Um die Liste abzubestellen, schicken Sie eine Mail an:
    [email protected]
Um eine Liste aller verfÃŒgbaren Kommandos zu bekommen, schicken
Sie eine Mail an: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.