This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs and perl5.005


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]