Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugs at busybox.net <bugs@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [buildroot 0001549]: buildroot/build_i386/grep-2.5.1/src/dfa.c:147: undefined reference to `libintl_gettext'
Date: Sun, 28 Oct 2007 14:28:10 -0700	[thread overview]
Message-ID: <fc4b97ba3ce08f85bc14c436e230b637@busybox.net> (raw)


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1549 
====================================================================== 
Reported By:                Steve Cornett
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   1549
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             10-22-2007 14:26 PDT
Last Modified:              10-28-2007 14:28 PDT
====================================================================== 
Summary:                    buildroot/build_i386/grep-2.5.1/src/dfa.c:147:
undefined reference to `libintl_gettext'
Description: 
Configure for i386.  Build ends with:

dfa.o: In function `xmalloc':
/home/test/buildroot/build_i386/grep-2.5.1/src/dfa.c:147: undefined
reference to `libintl_gettext'

Input and log attached.
====================================================================== 

---------------------------------------------------------------------- 
 pcwalton - 10-26-07 19:33  
---------------------------------------------------------------------- 
I'm getting this too. Workaround was to copy the configure line that the
buildroot makefile spits out, add LDFLAGS="-lintl" to the front of it, and
reconfigure and make manually. 

---------------------------------------------------------------------- 
 pcwalton - 10-28-07 13:59  
---------------------------------------------------------------------- 
Attached a proposed patch. 

---------------------------------------------------------------------- 
 vanokuten - 10-28-07 14:28  
---------------------------------------------------------------------- 
Can you post your part of config.log file? 

I have arm configuration and it works without applying your patch.
-lintl is added on configure step when checking for gettext:
configure:7201: checking for GNU gettext in libintl

/opt/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-gcc -Os
-pipe  -I/opt/buildroot/build_arm/staging_dir/usr/include
-I/opt/buildroot/build_arm/staging_dir/include
--sysroot=/opt/buildroot/build_arm/staging_dir/ -isysroot
/opt/buildroot/build_arm/staging_dir -mtune=arm920t -msoft-float  -g -O2  
-o grep  grep.o dfa.o kwset.o search.o grepmat.o -lintl 
../lib/libgreputils.a

Regards,
Ivan 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-22-07 14:26  Steve Cornett  New Issue                                    
10-22-07 14:26  Steve Cornett  Status                   new => assigned     
10-22-07 14:26  Steve Cornett  Assigned To               => buildroot       
10-22-07 14:26  Steve Cornett  File Added: InputAndOutput.tar                   

10-26-07 19:33  pcwalton       Note Added: 0002862                          
10-28-07 13:59  pcwalton       File Added: buildroot-grep.patch                 
  
10-28-07 13:59  pcwalton       Note Added: 0002863                          
10-28-07 14:28  vanokuten      Note Added: 0002864                          
======================================================================

             reply	other threads:[~2007-10-28 21:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-28 21:28 bugs at busybox.net [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-04-25  4:51 [Buildroot] [buildroot 0001549]: buildroot/build_i386/grep-2.5.1/src/dfa.c:147: undefined reference to `libintl_gettext' bugs at busybox.net
2007-10-28 20:59 bugs at busybox.net
2007-10-27  2:33 bugs at busybox.net
2007-10-22 21:26 bugs at busybox.net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fc4b97ba3ce08f85bc14c436e230b637@busybox.net \
    --to=bugs@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox