Re: Make error in ...utils/mb/conversion_procs/*

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Chris Albertson <Christopher(dot)J(dot)Albertson(at)aero(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Make error in ...utils/mb/conversion_procs/*
Date: 2003-01-02 20:13:20
Message-ID: 3421.1041538400@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Chris Albertson <Christopher(dot)J(dot)Albertson(at)aero(dot)org> writes:
> make[3]: Entering directory
> `/home/postgres/postgresql-7.3/src/backend/utils/mb/conversion_procs/euc_cn_and_mic'
> gcc -Wall -Wmissing-prototypes -Wmissing-declarations -fPIC
> -I../../../../../../src/include -I /opt/sfw/include -c -o
> euc_cn_and_mic.o euc_cn_and_mic.c
> gcc -shared -Wl,-soname,libeuc_cn_and_mic.so.0 euc_cn_and_mic.o
> -L../../../../../../src/port -L -o libeuc_cn_and_mic.so.0.0
> gcc: libeuc_cn_and_mic.so.0.0: No such file or directory
> make[3]: *** [libeuc_cn_and_mic.so.0.0] Error 1

The problem here is the spurious -L switch (it hasn't got an argument,
so it eats the "-o" as argument).

That seems it must have come from LDFLAGS in src/Makefile.global ---
what did configure put there? What switches did you run configure with?

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Benjamin Reed 2003-01-03 15:20:02 Re: Libpq is not a shared library on Mac OS X
Previous Message Tom Lane 2003-01-02 20:02:34 Re: