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

From: Chris Albertson <Christopher(dot)J(dot)Albertson(at)aero(dot)org>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Make error in ...utils/mb/conversion_procs/*
Date: 2002-12-26 23:23:57
Message-ID: 3E0B8F8D.6070207@aero.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


I get many failures in the makefile in
postgresql-7.3/src/backend/utils/mb/conversion_procs/* Each is the
same. When I re-type the gcc command by hand with the option switches
re-orderd it works and the *.so library gets built

Here is what I'm running

>uname -a
SunOS wi792 5.8 Generic_108529-17 i86pc i386 i86pc
>gcc --version
3.0.2

Here is the last of make's output ending with the error. This is
followed by what I had to type in. If you type "gcc --help" you will
see that "infile" should be last but still that does not explain it.

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
make[3]: Leaving directory
`/home/postgres/postgresql-7.3/src/backend/utils/mb/conversion_procs/euc_cn_and_mic'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/postgres/postgresql-7.3/src/backend/utils/mb/conversion_procs'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/postgres/postgresql-7.3/src'
make: *** [all] Error 2

wi792:~/postgresql-7.3>cd
/home/postgres/postgresql-7.3/src/backend/utils/mb/conversion_procs/euc_cn_and_mic
wi792:~...conversion_procs/euc_cn_and_mic>gcc -shared
-Wl,-soname,libeuc_cn_and_mic.so.0 \
? -o libeuc_cn_and_mic.so.0.0
wi792:~...conversion_procs/euc_cn_and_mic>ls -l
-rw-r--r-- 1 postgres postgres 404 Aug 21 14:33 Makefile
-rw-r--r-- 1 postgres postgres 2585 Oct 26 08:00 euc_cn_and_mic.c
-rw-r--r-- 1 postgres postgres 1600 Dec 26 15:05 euc_cn_and_mic.o
-rwxr-xr-x 1 postgres postgres 5610 Dec 26 15:07
libeuc_cn_and_mic.so.0.0
wi792:~...conversion_procs/euc_cn_and_mic>

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2002-12-27 01:50:35 Bug #859: 7.3.1 on linux-alpha: 3 "make check" tests fail
Previous Message Tamotsu Ebina 2002-12-26 22:43:36 Re: Can't start postmaster on Cygwin with local 'ja_JP.EUC