|
-
February 12th, 2009, 04:27 PM
#1
Linker error
I am trying to compile a linked list implementation file that includes a linked list header file. I get this error.
In function `_start':
: undefined reference to `main'
collect2: ld returned 1 exit status
I know that since the implementation file is a cpp file without a main function, it needs some sort of special command when compiling, but I don't know what it is.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|