| www.delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
| X-Recipient: | geda-user AT delorie DOT com |
| X-Original-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
| d=gmail.com; s=20120113; | |
| h=mime-version:date:message-id:subject:from:to:content-type; | |
| bh=3GCe5kTJHqJc/OQ8O88UNKTDLwfJUMLDzkRiKstI+9g=; | |
| b=N+5qu0KBT8drJJCv9fYJS1Y5y3pqeBeBKBGog33ri7kA4fEVo01daN4KpXfDtN/U96 | |
| je/A2I2KDBex5sNs4tJ79zBWPIV0gz/hYmq+xRCkVgJXBL7vFWs/n2skgs+zr0OuMd1q | |
| kt+VibjpAQee5UN6F8a4rXYZRWrb2+sPeyGPNPw0gzKJ0tvSvZ1sOVjoU/1HHREizh6P | |
| RcR2T6H4ix+u6sg40o8+RKNBAvsoz7C8t72YF6I1TPK/jnbO1X7HgUx7tmsQL9L/dOFF | |
| y21PpqGkPopzJZIh1J054+8BerxS6sZWyivVDF/qWtZ+Q7T2EZ0VrvimgYMB4j4iaxd6 | |
| KGDw== | |
| MIME-Version: | 1.0 |
| X-Received: | by 10.194.8.227 with SMTP id u3mr30721556wja.38.1445225295627; |
| Sun, 18 Oct 2015 20:28:15 -0700 (PDT) | |
| Date: | Sun, 18 Oct 2015 19:28:15 -0800 |
| Message-ID: | <CAC4O8c9RZa3vYAajwWDJ=C9=hECv2of=NQjrtwvWurnWgG2jDQ@mail.gmail.com> |
| Subject: | [geda-user] -O0 triggers build failure in gettext.h for me, others? |
| From: | "Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
| To: | geda-user AT delorie DOT com |
| Reply-To: | geda-user AT delorie DOT com |
--047d7b5d9c075dd2be05226cbc31
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Does it work for others? It looks like its in PCB but I have not much clue
about gettext maybe its something on my system. Using --disable-nls avoids
the problem but there are still warnings
Doing ./configure --enable-debug (enable-debug probably doesn't matter),
then in src 'make CFLAGS=3D'-O0'
gives a build failure:
[snip]
gcc -std=3Dgnu99 -DLOCALEDIR=3D\"/tmp/junk/share/locale\" -DHAVE_CONFIG_H -=
I.
-I.. -I.. -I./hid/gtk -I/usr/include
-I/home/bkerin/local/include/dbus-1.0
-I/home/bkerin/local/lib/dbus-1.0/include
-I/home/bkerin/local/include/glib-2.0
-I/home/bkerin/local/lib/glib-2.0/include -pthread
-I/home/bkerin/local/include/gtk-2.0
-I/home/bkerin/local/lib/gtk-2.0/include
-I/home/bkerin/local/include/atk-1.0 -I/home/bkerin/local/include/cairo
-I/home/bkerin/local/include/gdk-pixbuf-2.0
-I/home/bkerin/local/include/pango-1.0
-I/home/bkerin/local/include/glib-2.0
-I/home/bkerin/local/lib/glib-2.0/include
-I/home/bkerin/local/include/pixman-1 -I/home/bkerin/local/include
-I/home/bkerin/local/include/freetype2
-I/home/bkerin/local/include/harfbuzz -I/usr/include/libpng12
-I/usr/include -pthread -I/home/bkerin/local/include/gtk-2.0
-I/home/bkerin/local/lib/gtk-2.0/include
-I/home/bkerin/local/include/pango-1.0
-I/home/bkerin/local/include/gdk-pixbuf-2.0
-I/home/bkerin/local/include/glib-2.0
-I/home/bkerin/local/lib/glib-2.0/include
-I/home/bkerin/local/include/cairo -I/home/bkerin/local/include/pixman-1
-I/home/bkerin/local/include -I/home/bkerin/local/include/freetype2
-I/home/bkerin/local/include/atk-1.0 -I/home/bkerin/local/include/harfbuzz
-I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include
-I/usr/include/libpng12 -pthread -pthread -DPREFIXDIR=3D\"/tmp/junk\"
-DBINDIR=3D\"/tmp/junk/bin\" -DHOST=3D\"i686-pc-linux-gnu\"
-DPCBLIBDIR=3D\"/tmp/junk/share/pcb\"
-DPCBTREEDIR=3D\"/tmp/junk/share/pcb/newlib\"
-DPCBTREEPATH=3D\"/tmp/junk/share/pcb/newlib:/tmp/junk/share/pcb/pcblib-new=
lib\"
-O0 -MT hid/gtk/libgtk_a-gui-config.o -MD -MP -MF
hid/gtk/.deps/libgtk_a-gui-config.Tpo -c -o hid/gtk/libgtk_a-gui-config.o
`test -f 'hid/gtk/gui-config.c' || echo './'`hid/gtk/gui-config.c
In file included from ./global.h:84:0,
from hid/gtk/gui.h:28,
from hid/gtk/gui-config.c:35:
hid/gtk/gui-config.c: In function =E2=80=98config_layers_tab_create=E2=80=
=99:
./gettext.h:126:67: error: =E2=80=98LC_MESSAGES=E2=80=99 undeclared (first =
use in this
function)
pgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid,
LC_MESSAGES)
--047d7b5d9c075dd2be05226cbc31
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div><br></div><div style=3D"">Does it work for others?=C2=
=A0 It looks like its in PCB but I have not much clue about gettext maybe i=
ts something on my system.=C2=A0 Using --disable-nls avoids the problem but=
there are still warnings</div><br><div style=3D"">Doing ./configure --enab=
le-debug (enable-debug probably doesn't matter), then in src 'make =
CFLAGS=3D'-O0'</div><div style=3D""><br></div><div style=3D"">gives=
a build failure:</div><div style=3D""><br></div><div style=3D"">[snip]</di=
v><div style=3D""><div>gcc -std=3Dgnu99 -DLOCALEDIR=3D\"/tmp/junk/shar=
e/locale\" -DHAVE_CONFIG_H -I. -I.. =C2=A0-I.. -I./hid/gtk -I/usr/incl=
ude =C2=A0-I/home/bkerin/local/include/dbus-1.0 -I/home/bkerin/local/lib/db=
us-1.0/include =C2=A0 -I/home/bkerin/local/include/glib-2.0 -I/home/bkerin/=
local/lib/glib-2.0/include =C2=A0 -pthread -I/home/bkerin/local/include/gtk=
-2.0 -I/home/bkerin/local/lib/gtk-2.0/include -I/home/bkerin/local/include/=
atk-1.0 -I/home/bkerin/local/include/cairo -I/home/bkerin/local/include/gdk=
-pixbuf-2.0 -I/home/bkerin/local/include/pango-1.0 -I/home/bkerin/local/inc=
lude/glib-2.0 -I/home/bkerin/local/lib/glib-2.0/include -I/home/bkerin/loca=
l/include/pixman-1 -I/home/bkerin/local/include -I/home/bkerin/local/includ=
e/freetype2 -I/home/bkerin/local/include/harfbuzz -I/usr/include/libpng12 =
=C2=A0 -I/usr/include =C2=A0-pthread -I/home/bkerin/local/include/gtk-2.0 -=
I/home/bkerin/local/lib/gtk-2.0/include -I/home/bkerin/local/include/pango-=
1.0 -I/home/bkerin/local/include/gdk-pixbuf-2.0 -I/home/bkerin/local/includ=
e/glib-2.0 -I/home/bkerin/local/lib/glib-2.0/include -I/home/bkerin/local/i=
nclude/cairo -I/home/bkerin/local/include/pixman-1 -I/home/bkerin/local/inc=
lude -I/home/bkerin/local/include/freetype2 -I/home/bkerin/local/include/at=
k-1.0 -I/home/bkerin/local/include/harfbuzz -I/usr/include/gtkglext-1.0 -I/=
usr/lib/gtkglext-1.0/include -I/usr/include/libpng12 =C2=A0 -pthread -pthre=
ad -DPREFIXDIR=3D\"/tmp/junk\" -DBINDIR=3D\"/tmp/junk/bin\&q=
uot; -DHOST=3D\"i686-pc-linux-gnu\" -DPCBLIBDIR=3D\"/tmp/jun=
k/share/pcb\" -DPCBTREEDIR=3D\"/tmp/junk/share/pcb/newlib\" =
-DPCBTREEPATH=3D\"/tmp/junk/share/pcb/newlib:/tmp/junk/share/pcb/pcbli=
b-newlib\" =C2=A0-O0 =C2=A0-MT hid/gtk/libgtk_a-gui-config.o -MD -MP -=
MF hid/gtk/.deps/libgtk_a-gui-config.Tpo -c -o hid/gtk/libgtk_a-gui-config.=
o `test -f 'hid/gtk/gui-config.c' || echo './'`hid/gtk/gui-=
config.c</div><div>In file included from ./global.h:84:0,</div><div>=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from hid/gtk/gui.h:2=
8,</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
from hid/gtk/gui-config.c:35:</div><div>hid/gtk/gui-config.c: In function =
=E2=80=98config_layers_tab_create=E2=80=99:</div><div>./gettext.h:126:67: e=
rror: =E2=80=98LC_MESSAGES=E2=80=99 undeclared (first use in this function)=
</div><div>=C2=A0 =C2=A0 pgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE M=
sgid, Msgid, LC_MESSAGES)</div><div><br></div></div></div>
--047d7b5d9c075dd2be05226cbc31--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |