pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedundefined reference to `_libintl_gettext'
2+ messages / 1 participants
[nested] [flat]
* undefined reference to `_libintl_gettext'
@ 2003-08-24 02:45 Serguei Mokhov <mokhov@cs.concordia.ca>
0 siblings, 0 replies; 2+ messages in thread
From: Serguei Mokhov @ 2003-08-24 02:45 UTC (permalink / raw)
To: pgsql-admin; +Cc: Peter Eisentraut <peter_e@gmx.net>
Hello,
Any insight on what's going on? I'm positive I have all recent gettext stuff
installed and configure has detected that. For some reason, the linker
says otherwise for pl/PgSQL. That line in pl_exec.c has a call to gettext()
...
gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-error -I. -I. ./../../../src/include -c -o pl_funcs.o
pl_funcs.c
dlltool --export-all --output-def plpgsql.def pl_gram.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o
dllwrap -o plpgsql.dll --dllname plpgsql.dll --def plpgsql.def pl_gram.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o
../../../../src/utils/dllinit.o -L../../../
../src/port -L/usr/local/lib -L../../../../src/backend -lpostgrespl_exec.o(.text+0x10bd): In function
`plpgsql_exec_error_callback':/cygdrive/h/projects/PostgreSQL/pgsql/src/pl/plpgsql/src/pl_exec.c:704: undefined reference to
`_libintl_gettext'
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
make[4]: *** [libplpgsql.a] Error 1
make[4]: Leaving directory `/cygdrive/h/projects/PostgreSQL/pgsql/src/pl/plpgsql/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/cygdrive/h/projects/PostgreSQL/pgsql/src/pl/plpgsql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/cygdrive/h/projects/PostgreSQL/pgsql/src/pl'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cygdrive/h/projects/PostgreSQL/pgsql/src'
make: *** [all] Error 2
Few details if needed:
# Saved arguments from configure
configure_args = '--prefix=/home/Gunya/projects/PostgreSQL/installation' '--enable-nls' '--enable-debug' '--enable-cassert'
$ gettext --version
gettext (GNU gettext) 0.11.5
Copyright (C) 1995-1997, 2000-2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Ulrich Drepper.
$ uname -a
CYGWIN_98-4.10 gunn 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown unknown Cygwin
I don't think that is a -cygwin issue, but I may be wrong. Not sure that belongs
to -hackers either, so sending to -admin...
Thanks,
--
Serguei A. Mokhov
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: undefined reference to `_libintl_gettext'
@ 2003-08-24 03:00 Serguei Mokhov <mokhov@cs.concordia.ca>
0 siblings, 0 replies; 2+ messages in thread
From: Serguei Mokhov @ 2003-08-24 03:00 UTC (permalink / raw)
To: pgsql-admin; +Cc: Peter Eisentraut <peter_e@gmx.net>
Hmm...
Removing that gettext() call from there fixed the problem. I
successfully compiled postgres and installed it. I have also
just thought whether it makes much sense to have such a call
on a variable name within another call...
-s
----- Original Message -----
From: "Serguei Mokhov" <mokhov@cs.concordia.ca>
Sent: August 23, 2003 10:45 PM
> Hello,
>
> Any insight on what's going on? I'm positive I have all recent gettext stuff
> installed and configure has detected that. For some reason, the linker
> says otherwise for pl/PgSQL. That line in pl_exec.c has a call to gettext()
>
> ...
> gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-error -I. -I. ./../../../src/include -c -o pl_funcs.o
> pl_funcs.c
> dlltool --export-all --output-def plpgsql.def pl_gram.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o
> dllwrap -o plpgsql.dll --dllname plpgsql.dll --def plpgsql.def pl_gram.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o
> ../../../../src/utils/dllinit.o -L../../../
> ../src/port -L/usr/local/lib -L../../../../src/backend -lpostgrespl_exec.o(.text+0x10bd): In function
> `plpgsql_exec_error_callback':/cygdrive/h/projects/PostgreSQL/pgsql/src/pl/plpgsql/src/pl_exec.c:704: undefined reference to
> `_libintl_gettext'
> collect2: ld returned 1 exit status
> dllwrap: gcc exited with status 1
> make[4]: *** [libplpgsql.a] Error 1
> make[4]: Leaving directory `/cygdrive/h/projects/PostgreSQL/pgsql/src/pl/plpgsql/src'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/cygdrive/h/projects/PostgreSQL/pgsql/src/pl/plpgsql'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/cygdrive/h/projects/PostgreSQL/pgsql/src/pl'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/cygdrive/h/projects/PostgreSQL/pgsql/src'
> make: *** [all] Error 2
>
> Few details if needed:
>
> # Saved arguments from configure
> configure_args = '--prefix=/home/Gunya/projects/PostgreSQL/installation' '--enable-nls' '--enable-debug' '--enable-cassert'
>
> $ gettext --version
> gettext (GNU gettext) 0.11.5
> Copyright (C) 1995-1997, 2000-2002 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> Written by Ulrich Drepper.
>
> $ uname -a
> CYGWIN_98-4.10 gunn 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown unknown Cygwin
>
> I don't think that is a -cygwin issue, but I may be wrong. Not sure that belongs
> to -hackers either, so sending to -admin...
>
> Thanks,
>
> --
> Serguei A. Mokhov
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-08-24 03:00 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-08-24 02:45 undefined reference to `_libintl_gettext' Serguei Mokhov <mokhov@cs.concordia.ca>
2003-08-24 03:00 Re: undefined reference to `_libintl_gettext' Serguei Mokhov <mokhov@cs.concordia.ca>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox