Re: pg_dump.o(.text+0xf82): undefined reference to

From: Vicki Brown <vlb(at)cfcl(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: pg_dump.o(.text+0xf82): undefined reference to
Date: 2002-06-04 20:11:10
Message-ID: p0510030eb922cf474f72@[192.168.254.206]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Yes, I realized all of this after I hit send. I'm going to upgrade FreeBSD to
a more recent version...

At 21:58 +0200 6/4/02, Peter Eisentraut wrote:
>Vicki Brown writes:
>
>> I ran
>> ./configure --with-perl
>> gmake
>>
>> I got to a point that complained about
>> getopt.h: file not found
>
>I would like to see the exact output on the screen together with some
>context. Not having a getopt.h file is not necessarily a reason for
>failure.
>
>> I located
>> /usr/src/contrib/binutils/include/getopt.h
>> and copied it to /usr/include
>
>You can't just copy files around and hope things will work.
>
>> pg_dump.o: In function `main':
>> pg_dump.o(.text+0xf82): undefined reference to `getopt_long'
>> gmake[3]: *** [pg_dump] Error 1
>> gmake[3]: Leaving directory
>
>... 'coz they won't.
>
>> getopt_long is defined in the getopt.h I copied.
>
>Declared, not defined. That's the problem.
>
>--
>Peter Eisentraut peter_e(at)gmx(dot)net

--
- Vicki

Vicki Brown ZZZ Journeyman Sourceror:
P.O. Box 1269 zz |\ _,,,---,,_ Scripts & Philtres
San Bruno, CA zz /,`.-'`' -. ;-;;,_ Perl, Unix, MacOS
94066 USA |,4- ) )-,_. ,\ ( `'-'
mailto:vlb(at)cfcl(dot)com '---''(_/--' `-'\_) http://www.cfcl.com/~vlb

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message isaac flemmin 2002-06-04 20:17:35 Linker Problems
Previous Message Peter Eisentraut 2002-06-04 19:58:45 Re: pg_dump.o(.text+0xf82): undefined reference to