Re: compile problem
Incoming from Wesley J Landaker:
> On Thursday, 09 September 2004 11:55, Paul Akkermans wrote:
> > Hi everyone,
> >
> > I am trying to compile the following program. But from the output I
> > get the feeling that not all links are made. I believe this is due to
> > the fact that not all libraries are included during the compilation.
>
> [ ... ]
>
> > debian:/home/paul/softwarecon# gcc test.c
> > test.c: In function `main':
> > test.c:26: warning: return type of `main' is not `int'
>
> Try:
>
> $ gcc test.c -L/usr/X11R6/lib -lX11 -lXt -lXaw
And don't call it "test". Unix/Linux already has a test, and it's
important that you don't mask it.
--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://www.spots.ab.ca/~keeling
- -
Reply to: