Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Patch for _libintl_dgettext  compile failure
@ 2007-09-14 17:18 Roman.Rycerz
  2007-09-14 18:28 ` Dave Korn
  2007-09-16 14:07 ` Claus Baumgartner
  0 siblings, 2 replies; 5+ messages in thread
From: Roman.Rycerz @ 2007-09-14 17:18 UTC (permalink / raw)
  To: gdb


Hi...

I'm new to this group... and have tried to compile GDB 6.6 under cygwin

and I get to

make[3]: Entering directory `/tmp/build/gdb/sim/ppc'
gcc -g -O2   -o psim.exe main.o libsim.a ../../bfd/libbfd.a
../../libiberty/lib
iberty.a
../../bfd/libbfd.a(bfd.o)(.text+0x383): In function `bfd_errmsg':
/src/insight-6.6/bfd/bfd.c:397: undefined reference to `_libintl_dgettext'
../../bfd/libbfd.a(bfd.o)(.text+0x3c3):/src/insight-6.6/bfd/bfd.c:383:
undefined
 reference to `_libintl_dgettext'
../../bfd/libbfd.a(bfd.o)(.text+0xa16): In function `bfd_assert':
/src/insight-6.6/bfd/bfd.c:828: undefined reference to `_libintl_dgettext'
../../bfd/libbfd.a(bfd.o)(.text+0xafc): In function `_bfd_abort':
/src/insight-6.6/bfd/bfd.c:839: undefined reference to `_libintl_dgettext'
../../bfd/libbfd.a(bfd.o)(.text+0xb2d):/src/insight-6.6/bfd/bfd.c:846:
undefined
 reference to `_libintl_dgettext'
../../bfd/libbfd.a(bfd.o)(.text+0xb56):/src/insight-6.6/bfd/bfd.c:843: more
unde
fined references to `_libintl_dgettext' follow
collect2: ld returned 1 exit status


does anyone know of a patch and where it might be located ????

thanks in advance

Roman F. Rycerz

Continental Automotive Systems
21440 W Lake Cook Road
Deer Park, IL 60010
email: Roman.Rycerz@us.contiautomotive.com
www.contiautomotive.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Patch for _libintl_dgettext  compile failure
  2007-09-14 17:18 Patch for _libintl_dgettext compile failure Roman.Rycerz
@ 2007-09-14 18:28 ` Dave Korn
  2007-09-14 21:36   ` Roman.Rycerz
  2007-09-14 21:55   ` Roman.Rycerz
  2007-09-16 14:07 ` Claus Baumgartner
  1 sibling, 2 replies; 5+ messages in thread
From: Dave Korn @ 2007-09-14 18:28 UTC (permalink / raw)
  To: Roman.Rycerz, gdb

On 14 September 2007 17:50, Roman.Rycerz wrote:

> I'm new to this group... and have tried to compile GDB 6.6 under cygwin

> ../../bfd/libbfd.a(bfd.o)(.text+0x383): In function `bfd_errmsg':
> /src/insight-6.6/bfd/bfd.c:397: undefined reference to `_libintl_dgettext'

> ../../bfd/libbfd.a(bfd.o)(.text+0xb56):/src/insight-6.6/bfd/bfd.c:843: more
> undefined references to `_libintl_dgettext' follow
> collect2: ld returned 1 exit status
> 
> 
> does anyone know of a patch and where it might be located ????

  I don't think you need a patch.  Do you have the cygwin 'gettext-devel'
package installed?


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Patch for _libintl_dgettext  compile failure
  2007-09-14 18:28 ` Dave Korn
@ 2007-09-14 21:36   ` Roman.Rycerz
  2007-09-14 21:55   ` Roman.Rycerz
  1 sibling, 0 replies; 5+ messages in thread
From: Roman.Rycerz @ 2007-09-14 21:36 UTC (permalink / raw)
  To: gdb

Dave

no i dont..... i will give that a try

roman




Roman F. Rycerz

Continental Automotive Systems
21440 W Lake Cook Road
Deer Park, IL 60010
email: Roman.Rycerz@us.contiautomotive.com
www.contiautomotive.com


                                                                           
             "Dave Korn"                                                   
             <dave.korn@artimi                                             
             .com>                                                      To 
                                       <Roman.Rycerz@us.contiautomotive.co 
             09/14/2007 12:17          m>, <gdb@sourceware.org>            
             PM                                                         cc 
                                                                           
                                                                   Subject 
                                       RE: Patch for _libintl_dgettext     
                                       compile failure                     
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




On 14 September 2007 17:50, Roman.Rycerz wrote:

> I'm new to this group... and have tried to compile GDB 6.6 under cygwin

> ../../bfd/libbfd.a(bfd.o)(.text+0x383): In function `bfd_errmsg':
> /src/insight-6.6/bfd/bfd.c:397: undefined reference to
`_libintl_dgettext'

> ../../bfd/libbfd.a(bfd.o)(.text+0xb56):/src/insight-6.6/bfd/bfd.c:843:
more
> undefined references to `_libintl_dgettext' follow
> collect2: ld returned 1 exit status
>
>
> does anyone know of a patch and where it might be located ????

  I don't think you need a patch.  Do you have the cygwin 'gettext-devel'
package installed?


    cheers,
      DaveK
--
Can't think of a witty .sigline today....




^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Patch for _libintl_dgettext  compile failure
  2007-09-14 18:28 ` Dave Korn
  2007-09-14 21:36   ` Roman.Rycerz
@ 2007-09-14 21:55   ` Roman.Rycerz
  1 sibling, 0 replies; 5+ messages in thread
From: Roman.Rycerz @ 2007-09-14 21:55 UTC (permalink / raw)
  To: gdb

I have tried installing 'gettext-devl'  in cygwin..

same compile errors



Roman F. Rycerz

Continental Automotive Systems
21440 W Lake Cook Road
Deer Park, IL 60010
email: Roman.Rycerz@us.contiautomotive.com
www.contiautomotive.com


                                                                           
             "Dave Korn"                                                   
             <dave.korn@artimi                                             
             .com>                                                      To 
             Sent by:                  <Roman.Rycerz@us.contiautomotive.co 
             gdb-owner@sourcew         m>, <gdb@sourceware.org>            
             are.org                                                    cc 
                                                                           
                                                                   Subject 
             09/14/2007 12:17          RE: Patch for _libintl_dgettext     
             PM                        compile failure                     
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




On 14 September 2007 17:50, Roman.Rycerz wrote:

> I'm new to this group... and have tried to compile GDB 6.6 under cygwin

> ../../bfd/libbfd.a(bfd.o)(.text+0x383): In function `bfd_errmsg':
> /src/insight-6.6/bfd/bfd.c:397: undefined reference to
`_libintl_dgettext'

> ../../bfd/libbfd.a(bfd.o)(.text+0xb56):/src/insight-6.6/bfd/bfd.c:843:
more
> undefined references to `_libintl_dgettext' follow
> collect2: ld returned 1 exit status
>
>
> does anyone know of a patch and where it might be located ????

  I don't think you need a patch.  Do you have the cygwin 'gettext-devel'
package installed?


    cheers,
      DaveK
--
Can't think of a witty .sigline today....




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Patch for _libintl_dgettext  compile failure
  2007-09-14 17:18 Patch for _libintl_dgettext compile failure Roman.Rycerz
  2007-09-14 18:28 ` Dave Korn
@ 2007-09-16 14:07 ` Claus Baumgartner
  1 sibling, 0 replies; 5+ messages in thread
From: Claus Baumgartner @ 2007-09-16 14:07 UTC (permalink / raw)
  To: Roman.Rycerz; +Cc: gdb

Roman.Rycerz@us.contiautomotive.com wrote:
 > Hi...
 >
 > I'm new to this group... and have tried to compile GDB 6.6 under cygwin
 >
 > and I get to
 >
 > make[3]: Entering directory `/tmp/build/gdb/sim/ppc'
 > gcc -g -O2   -o psim.exe main.o libsim.a ../../bfd/libbfd.a
 > ../../libiberty/lib
 > iberty.a
 > ../../bfd/libbfd.a(bfd.o)(.text+0x383): In function `bfd_errmsg':
 > /src/insight-6.6/bfd/bfd.c:397: undefined reference to 
`_libintl_dgettext'
 > ../../bfd/libbfd.a(bfd.o)(.text+0x3c3):/src/insight-6.6/bfd/bfd.c:383:
 > undefined
 >  reference to `_libintl_dgettext'
 > ../../bfd/libbfd.a(bfd.o)(.text+0xa16): In function `bfd_assert':
 > /src/insight-6.6/bfd/bfd.c:828: undefined reference to 
`_libintl_dgettext'
 > ../../bfd/libbfd.a(bfd.o)(.text+0xafc): In function `_bfd_abort':
 > /src/insight-6.6/bfd/bfd.c:839: undefined reference to 
`_libintl_dgettext'
 > ../../bfd/libbfd.a(bfd.o)(.text+0xb2d):/src/insight-6.6/bfd/bfd.c:846:
 > undefined
 >  reference to `_libintl_dgettext'
 > 
../../bfd/libbfd.a(bfd.o)(.text+0xb56):/src/insight-6.6/bfd/bfd.c:843: more
 > unde
 > fined references to `_libintl_dgettext' follow
 > collect2: ld returned 1 exit status
 >
 >
 > does anyone know of a patch and where it might be located ????
 >
 > thanks in advance
 >
 > Roman F. Rycerz
 >
 > Continental Automotive Systems
 > 21440 W Lake Cook Road
 > Deer Park, IL 60010
 > email: Roman.Rycerz@us.contiautomotive.com
 > www.contiautomotive.com
 >

Hi Roman,

It compiles nicely if you add the --disable-nls switch when you run the 
configure script for GDB.

./configure --disable-nls

If you use crosstools scripts then you should add the --disable-nls 
switch to gdb.sh file to the line where configure is run.

The --disable-nls switch disables the localization.

Have a nice day,

Claus


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-09-15 11:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-14 17:18 Patch for _libintl_dgettext compile failure Roman.Rycerz
2007-09-14 18:28 ` Dave Korn
2007-09-14 21:36   ` Roman.Rycerz
2007-09-14 21:55   ` Roman.Rycerz
2007-09-16 14:07 ` Claus Baumgartner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox