Re: Make error in ...utils/mb/conversion_procs/* - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Make error in ...utils/mb/conversion_procs/*
Date
Msg-id 3421.1041538400@sss.pgh.pa.us
Whole thread Raw
In response to Make error in ...utils/mb/conversion_procs/*  (Chris Albertson <Christopher.J.Albertson@aero.org>)
List pgsql-bugs
Chris Albertson <Christopher.J.Albertson@aero.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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re:
Next
From: Benjamin Reed
Date:
Subject: Re: Libpq is not a shared library on Mac OS X