Solaris compile problem

Поиск
Список
Период
Сортировка
От Karl DeBisschop
Тема Solaris compile problem
Дата
Msg-id 393C4F33.29633587@h00a0cc3b7988.ne.mediaone.net
обсуждение исходный текст
Ответы Re: Solaris compile problem
Список pgsql-bugs
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name        :    Karl DeBisschop
Your email address    :    kdebisschop@alert.infoplease.com


System Configuration
---------------------
  Architecture (example: Intel Pentium)      :    Sun E-450

  Operating System (example: Linux 2.0.26 ELF)     :    Solaris 7

  PostgreSQL version (example: PostgreSQL-6.5.1):    postgresql-7.0.1

  Compiler used (example:  gcc 2.8.0)        :    gcc version egcs-2.91.66
                            19990314 (egcs-1.1.2 release)



Please enter a FULL description of your problem:
------------------------------------------------

after `./configure --prefix-/opt/postgresql-7.0.1`
make bailed on libpq++

make[2]: Entering directory `/u/kdebisschop/postgresql-7.0.1/src/interfaces/libpq++'
ld -G -o libpq++.so.3.1 pgconnection.o pgdatabase.o pgtransdb.o pgcursordb.o pglobject.o  -L../../interfaces/libpq -lpq
-ldl-lsocket -lresolv -lnsl -lm -lc 
pgconnection.o: could not read symbols: Bad value
make[2]: *** [libpq++.so.3.1] Error 1

I don't use libpq++.so.3.1 so I just did:

cd /u/kdebisschop/postgresql-7.0.1/src/interfaces/libpq++
gcc -shared -G -o libpq++.so.3.1 pgconnection.o pgdatabase.o pgtransdb.o pgcursordb.o pglobject.o
-L../../interfaces/libpq-lpq -ldl -lsocket -lresolv -lnsl -lm -lc 
cd ~/postgresql-7.0.1/src
make

and everything picked up fine (I have not yet run regression tests)

Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------





If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bug Repoprt- Casting Issues
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Solaris compile problem