Re: Compiling from source

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

 



Charles Barry <charlesawake@xxxxxxxxx> writes:

> I'm having some trouble when i try to compile the Blowfish C algorithm
> source code.
> Whenever i type this command:
> gcc BLOWFISH.C
> I get this result:
> [charles@linux1 Blowfish]$ gcc BLOWFISH.C
> /usr/lib/gcc/i386-redhat-linux/4.0.0/../../../crt1.o(.text+0x18): In
> function `_start':
> : undefined reference to `main'

Do you have a function named 'main'?

> However, when you specify to only compile and assemble and not link,
> everything works smoothly.

Except, I presume, that you can not run the program.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux