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

compiling



Hi group,
 
I am trying to compile a simple parser. But this is the output I get when I am compiling. I think that not all libraries are included during compile time. Can somebody help me?
 
--------------------------------------------------------------------------------------------------------------------------------------
paul@debian:~/softwarecon$ gcc parser.c
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
/tmp/cciorX2H.o: In function `sequence':
/tmp/cciorX2H.o(.text+0x23f): undefined reference to `forked'
/tmp/cciorX2H.o: In function `operand':
/tmp/cciorX2H.o(.text+0x278): undefined reference to `forked'
collect2: ld returned 1 exit status
---------------------------------------------------------------------------------------------------------------------------------------
 
Thanks in advance,
 
Paul Akkermans

Reply to: