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

Re: Linux compilation

Kevin W. Beam <Kevin_W._Beam@notes.up.com> writes:

> when linking, the following error occurs:
> /usr/lib/crt1.o: In function `_start':
> /usr/lib/crt1.o(.text+0x57): undefined reference to `main'

You are trying to install the Linux/a.out binaries on a Linux/ELF system.

You might either link using "cc -b i486-linuxaout" instead of "cc", or
fetch and install the Linux/ELF binaries.