Article View: gnu.g++.help
Article #457Re: g++,libg++,groff, ISC3.0
From: Bjoern Wennberg
Date: Thu, 12 Nov 1992 17:26
Date: Thu, 12 Nov 1992 17:26
32 lines
1700 bytes
1700 bytes
Kay Schulz (kschulz@ba-stuttgart.de) wrote: : Keywords: : : Hi ,I have some problems installing groff on an ISC3.0 machine. : I think the problem is my libg++. : I had problems instaling libg++ but after a while int worked. : Now I try to install groff, but when the g++ starts to link the files : an error arrives... : fileno error (not found) something like that, first referenced in libbib.a : : I noticed that my normal stdio.h has a macto and an extrern function : for fileno and that the stdio in /usr/local/lib/g++-include hasnt.... : : But what can I do? The compiler looks for it in g++-include... : Does anybody knows what to do? : : ///**************************************************/// : ///*** kschulz@garfield.t-informatik.ba-stuttgart.de***/// : ///*** KAY ***/// : ///**************************************************/// : Hi! fileno() is defined in stdio.h. But you have to compile with -D_POSIX_SOURCE to get that function and link with -lc_posix. If you have installed fixincludes, you should compile with gcc -posix to a) define -D_POSIX_SOURCE when compiling and b) link with -lc_posix. bjornw> -- The sooner all the animals are dead, the sooner we'll find all their money.
Technical Details
Message-ID:
<1992Nov12.172608.28085@ugle.unit.no>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!ugle.unit.no!colargol!bjornwReferences:
<1dt7lpINNo13@nic.belwue.de>Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.help Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!ugle.unit.no!colargol!bjornw From: bjornw@colargol (Bjoern Wennberg) Subject: Re: g++,libg++,groff, ISC3.0 Message-ID: <1992Nov12.172608.28085@ugle.unit.no> Sender: news@ugle.unit.no (NetNews Administrator) Organization: Colargol, Trondheim College of Engineering X-Newsreader: TIN [version 1.1 PL6] References: <1dt7lpINNo13@nic.belwue.de> Date: Thu, 12 Nov 92 17:26:08 GMT Lines: 32