Re: "main (Not referenced yet! Probably due to -u option)" ... error message
From: Dennis Handly (dhandly_at_convex.hp.com)
Date: 06/28/05
- Previous message: Dennis Handly: "Re: HP-UX 10.20 Environment variables"
- In reply to: Farooq: ""main (Not referenced yet! Probably due to -u option)" ... error message"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Jun 2005 03:17:47 -0600
: While compiling my C program, I get the following error message:
: "main (Not referenced yet! Probably due to -u option)"
: any inputs or pointers as to how to resolve this will be helpful....
As a follow up to what Paul said, you are attempting to link a proggram
without a main. If you are only compiling, you need to add -c.
If creating a shared lib, you need to add a -b.
If you are just trying to use -V, you must supply a source file.
- Previous message: Dennis Handly: "Re: HP-UX 10.20 Environment variables"
- In reply to: Farooq: ""main (Not referenced yet! Probably due to -u option)" ... error message"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|