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

-- 
Wesley J. Landaker <[EMAIL PROTECTED]>
OpenPGP FP: 4135 2A3B 4726 ACC5 9094  0097 F0A9 8A4C 4CD6 E3D2

Attachment: pgp075iy1esAm.pgp
Description: PGP signature

Reply via email to