[scponly] Cannot Complie scponly-4.8 on Solaris 9 with 64-bit SPARC 9]
jworm
jwormhk at yahoo.com.hk
Fri Apr 18 05:26:00 EDT 2008
Kaleb Pederson wrote:
> On Tuesday 15 April 2008, jworm wrote:
>
>> #sudo make
>> I have download getopt-1.1.4 and copy getopt.c getopt.h getopt1.c to the
>> directory that I make the files.
>> The previous seems to be solved, but the new error is prompted as
>> following:
>>
> ...
>
>> Undefined first referenced
>> symbol in file
>> getopt_long helper.o
>> ld: fatal: Symbol referencing errors. No output written to scponly
>> collect2: ld returned 1 exit status
>>
>
> If you can do a formal install of getopt, it will probably work. I don't know
> if getopt uses a shared or static library on Solaris, but unless the getopt
> object file gets linked in, you'll continue to have the above problem.
>
> You could compile it yourself just for scponly, but that will require a bit of
> manual work.
>
> --Kaleb
>
>
Thanks for your prompt reply on my question. Kaleb.
Indeed, I am beginner of gcc. What's work could I do after I have
complied getopt? I got getopt.c, getopt1.c, getopt.h, getopt.o,
getopt1.o and a executable getopt.
Andrew
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the scponly
mailing list