On Tue, Sep 15, 1998 at 04:29:39PM -0500, Matt Garman wrote:
>
>
> While working on some C++ code for a programming assignment, I got the
> following error:
>
> /usr/lib/crt1.o(.text+0x36): undefined reference to `main'
> collect2: ld returned 1 exit status
>
> And that is simply after typing "
> While working on some C++ code for a programming assignment, I got the
> following error:
>
> /usr/lib/crt1.o(.text+0x36): undefined reference to `main'
> collect2: ld returned 1 exit status
>
> And that is simply after typing "g++ .cc"
First, make sure you have a function called main (and it'
2 matches
Mail list logo