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