DragonFly BSD
DragonFly bugs List (threaded) for 2004-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Can't compile kernel with -O0


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Mon, 19 Jul 2004 08:42:45 +0200

On Mon, Jul 19, 2004 at 07:31:20AM +0200, Simon 'corecode' Schubert wrote:
> hey,
> 
> I just tried to compile the kernel with -O0 and get these error  
> messages on linking:
> 
> kern_sig.o: In function `iscaught':
> /home/corecode/pf4df/sys/compile/SWEATSHORTS/../../kern/kern_sig.c: 
> 1033: undefined reference to `__cursig'
> 
> (not the only one, but I don't have more at the moment)
> 
> seems like this comes from extern __inline __cursig() not being defined  
> at all then.

I don't think support -O0 is worse the effort. But the usage of
"extern inline" should perhaps be changed to "static inline", which
is IIRC the C99 version of the GNU extension.

Joerg

> 
> cheers
>   simon
> 
> -- 
> /"\
> \ /
>  \     ASCII Ribbon Campaign
> / \  Against HTML Mail and News



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