Date: Thu, 28 Feb 2002 22:20:19 -0600 (CST) From: Steven Engelhardt <sengelha@yahoo.com> To: FreeBSD-gnats-submit@freebsd.org Cc: sengelha@yahoo.com Subject: gnu/35439: undefined reference to `gettext' when compiling makeinfo Message-ID: <200203010420.g214KJr96922@sirius.my.domain>
next in thread | raw e-mail | index | archive | help
>Number: 35439 >Category: gnu >Synopsis: undefined reference to `gettext' when compiling makeinfo >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 28 20:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Steven Engelhardt >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD sirius.my.domain 4.4-STABLE FreeBSD 4.4-STABLE #2: Mon Oct 1 09:08:16 CDT 2001 root@sirius.my.domain:/usr/obj/export/src/freebsd/src/sys/SIRIUS i386 gettext-0.10.35 installed in /usr/local >Description: I modified /etc/make.conf to include the following: CFLAGS=-O -pipe -I/usr/local/include -I/usr/X11R6/include When I cvsup'd to the latest 4.5-STABLE and did a 'make buildworld', the compile failed with the following error messages: cc -O -pipe -I/usr/local/include -I/usr/X11R6/include -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I/export/src/freebsd/src/gnu/usr.bin/texinfo/makeinfo /../../../../contrib/texinfo -I/export/src/freebsd/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo/lib -static -o makeinfo cmds.o defun.o files.o footnote.o html.o index.o insertion.o lang.o macro.o makeinfo.o multi.o node.o sectioning.o toc.o /usr/obj/export/src/freebsd/src/i386/export/src/freebsd/src/gnu/usr.bin/texinfo/makeinfo/../libtxi/libtxi.a cmds.o: In function `cm_today': cmds.o(.text+0x194): undefined reference to `gettext' cmds.o: In function `cm_var': cmds.o(.text+0x3f1): undefined reference to `gettext' cmds.o: In function `cm_sc': cmds.o(.text+0x591): undefined reference to `gettext' cmds.o: In function `cm_obsolete': cmds.o(.text+0x7d8): undefined reference to `gettext' cmds.o: In function `cm_sp': cmds.o(.text+0x8ae): undefined reference to `gettext' cmds.o(.text+0xe82): more undefined references to `gettext' follow makeinfo.o: In function `main': makeinfo.o(.text+0x2e0): undefined reference to `bindtextdomain' makeinfo.o(.text+0x2ed): undefined reference to `textdomain' makeinfo.o(.text+0x38d): undefined reference to `gettext' makeinfo.o(.text+0x414): undefined reference to `gettext' makeinfo.o(.text+0x434): undefined reference to `gettext' makeinfo.o(.text+0x489): undefined reference to `gettext' makeinfo.o(.text+0x57a): undefined reference to `gettext' makeinfo.o(.text+0x706): more undefined references to `gettext' follow *** Error code 1 Stop in /export/src/freebsd/src/gnu/usr.bin/texinfo/makeinfo. *** Error code 1 Stop in /export/src/freebsd/src/gnu/usr.bin/texinfo. *** Error code 1 Stop in /export/src/freebsd/src. *** Error code 1 Stop in /export/src/freebsd/src. *** Error code 1 Stop in /export/src/freebsd/src. >How-To-Repeat: - Install gettext into /usr/local - Set CFLAGS in /etc/make.conf to have -I/usr/local/include - Run 'make buildworld' >Fix: Removing the CFLAGS line entirely fixed the problem. I suspect this is caused by the "-I/usr/local/include" line. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203010420.g214KJr96922>
