Re: Which package from xorg replace xlibs-dev (xfree86)?
On Tue, Jan 09, 2007 at 09:54:57AM +0100, Michelle Konzack wrote:
> Hello and Happy new year,
>
> curently I am trying to build several programs made for xfree86 for
> xorg but I have problems to find the right devel package which
> replace xlibs-dev.
You should run the xlibs-split script.
> Also I have compile time errors like:
>
> ----8<--------------------------------------------------------------
> xbmbrowser.c: In function 'usage':
> xbmbrowser.c:223: warning: incompatible implicit declaration of built-in function 'exit'
> xbmbrowser.c: In function 'main':
> xbmbrowser.c:332: warning: incompatible implicit declaration of built-in function 'exit'
> xbmbrowser.c:349: warning: incompatible implicit declaration of built-in function 'exit'
> xbmbrowser.c:359: warning: incompatible implicit declaration of built-in function 'exit'
>
> images.c: In function 'allocate_widgets':
> images.c:167: warning: incompatible implicit declaration of built-in function 'abort'
> images.c:173: warning: incompatible implicit declaration of built-in function 'abort'
>
> user_functs.c: In function 'quit_browser':
> user_functs.c:33: warning: incompatible implicit declaration of built-in function 'exit'
> ----8<--------------------------------------------------------------
Looks like you need to #include <stdlib.h>
Justin
Reply to: