[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

compile problems with glibc


I sent a mail about compile problems for the programm tirc and got
that appended answer.

Is there any way to perhaps get this programm to compile through?

I'm not on this list, sorry, unfortunately I don't find the time for
that. So if you'd please make a group reply?

Thanks a lot,

- Forwarded message from Matthias Buelow <token@wicx50.informatik.uni-wuerzburg.de> -

From: Matthias Buelow <token@wicx50.informatik.uni-wuerzburg.de>
Subject: Re: [tirc] problems in getting tirc to compile
To: tirc@mayn.de
Date: Thu, 12 Feb 1998 20:40:21 +0100 (MET)
In-Reply-To: <19980212191531.02358@deadend.argh.org> from "Alexander Koch" at Feb 12, 98 07:15:31 pm
X-Mailer: ELM [version 2.4 PL20]
Reply-To: tirc@mayn.de

Alexander Koch wrote:

> So, I'm unable to get it to compile.
> I hope you can get some info off what I wrote. I included everything I
> though was useful.
> I'm using Debian Linux here, always the latest hamm stuff, means
> glibc, Kernel 2.1.xx... I've no mmap thingies compiled in the kernel.
> /var/src/tirc-alpha # make all
> shm.c:120: `SHMSEG' undeclared here (not in a function)
> shm.c: In function `morecore':
> shm.c:223: `SHMMAX' undeclared (first use this function)
> shm.c:223: (Each undeclared identifier is reported only once
> shm.c:223: for each function it appears in.)
> shm.c: In function `get_svipc_shmem':
> shm.c:414: `IPC_PRIVATE' undeclared (first use this function)
> shm.c:414: `SHM_R' undeclared (first use this function)
> shm.c:414: `SHM_W' undeclared (first use this function)
> shm.c:415: warning: assignment makes pointer from integer without a
> cast
> shm.c: In function `rm_all_shmem':
> shm.c:432: `IPC_RMID' undeclared (first use this function)
> make: *** [shm.o] Error 1

Yes, that's a known problem.
Upgrading the libc on Gnu/Linux to the generic Gnu libc breaks either
/usr/include/sys/ipc.h or /usr/include/sys/shm.h, or both, I can't remember
right now.  The configure script tries to compile its test programs
including these header files and fails.
It also doesn't work if you include them despite configure found them to
be disfunctional.
Sorry, but there's nothing I can do about it.  It works with the older
Linux libc.  I'll look if I can find a solution somewhere, nevertheless.

  Matthias K. Buelow      * Boycott Micro$oft, see http://www.vcnet.com/bms/ *

----- End forwarded message -----

Hit any user to continue.
Alexander Koch - <>< - aka Efraim - PGP - 0xA78FB1E9 - Wedel - Germany

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: