This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs and perl5.005
- To: alex dot buell at tahallah dot demon dot co dot uk
- Subject: Re: egcs and perl5.005
- From: Horst von Brand <vonbrand at inf dot utfsm dot cl>
- Date: Fri, 19 Jun 1998 18:02:32 -0400
- Cc: egcs at cygnus dot com
Alex Buell <alex.buell@tahallah.demon.co.uk> said:
> I recently tried to recompile perl5.005 with egcs-1.0.3a and glibc-2.0.94.
> Here's the result of my output:
>
> `sh cflags libperl.so doio.o` -fpic doio.c
> CCCMD = cc -DPERL_CORE -c -Dbool=char -DHAS_BOOL -I/usr/local/includ
> e -O2
> doio.c: In function `Perl_do_ipcctl':
> doio.c:1337: storage size of `unsemds' isn't known
> doio.c:1377: storage size of `semun' isn't known
> make: *** [doio.o] Error 1
>
> What does this mean?
That you didn't define "union semun" for yourself as you should (Andries
Brouwer told me this). Look at the manpage for semctl(2), there you'll find
the correct definition of the type.
--
Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513