bug-cssc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-cssc] CSSC compile problem during make all-am (under src direct


From: James Youngman
Subject: Re: [Bug-cssc] CSSC compile problem during make all-am (under src directory)
Date: Mon, 8 Sep 2014 10:23:24 +0100

Apologies for the compilation bug.   It's fixed by this patch:
http://git.savannah.gnu.org/cgit/cssc.git/commit/?id=9737f41b5d2a49e61061e9f896b5a9ae19e3a3ac

On Fri, Aug 29, 2014 at 6:04 PM, Colin McGrath <address@hidden> wrote:
> I'd appreciate it if someone could give me a suggestion to get me past the
> following error:
>
> A missing #include config.h is reported during compile time, but I'm not
> sure where it should go. Any suggestions?
>
> configure ran perfectly, make ran perfectly for quite a while, till it tried
> to compile src/dtbl-prepend.cc.
>
> redhat-release: Red Hat Enterprise Linux Server release 6.5 (Santiago)
> Linux version 2.6.32-431.17.1.el6.x86_64
> (address@hidden) (gcc version 4.4.7 20120313
> (Red Hat 4.4.7-4) (GCC) ) #1 SMP Fri Apr 11 17:27:00 EDT 2014
>
> $ g++ --version:  g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)
> $ gcc --version:  gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)
>
> I did not pass any variables to the configure script.
>
> First compiles in src go OK:
>
> make[2]: Entering directory `/home/cmcgrath/xfer/CSSC-1.4.0/work/src'
> make  all-am
> make[3]: Entering directory `/home/cmcgrath/xfer/CSSC-1.4.0/work/src'
>
>     Making all in srcVE_CONFIG_H -I. -I../../src -I..  -I ../gl/lib -I
> ../../src/../gl/lib   -g -O2 -MT rl-merge.o -MD -MP -MF .deps/rl-merge.Tpo
> -c -o rl-merge.o ../../src/rl-merge.cc
>     mv -f .deps/rl-merge.Tpo .deps/rl-merge.Po
>     g++ -DHAVE_CONFIG_H -I. -I../../src -I..  -I ../gl/lib -I
> ../../src/../gl/lib   -g -O2 -MT bodyio.o -MD -MP -MF .deps/bodyio.Tpo -c -o
> bodyio.o ../../src/bodyio.cc
>     mv -f .deps/bodyio.Tpo .deps/bodyio.Po
>     g++ -DHAVE_CONFIG_H -I. -I../../src -I..  -I ../gl/lib -I
> ../../src/../gl/lib   -g -O2 -MT sf-get.o -MD -MP -MF .deps/sf-get.Tpo -c -o
> sf-get.o ../../src/sf-get.cc
>     mv -f .deps/sf-get.Tpo .deps/sf-get.Po
>     g++ -DHAVE_CONFIG_H -I. -I../../src -I..  -I ../gl/lib -I
> ../../src/../gl/lib   -g -O2 -MT sf-get3.o -MD -MP -MF .deps/sf-get3.Tpo -c
> -o sf-get3.o ../../src/sf-get3.cc
>     mv -f .deps/sf-get3.Tpo .deps/sf-get3.Po
>     g++ -DHAVE_CONFIG_H -I. -I../../src -I..  -I ../gl/lib -I
> ../../src/../gl/lib   -g -O2 -MT seqstate.o -MD -MP -MF .deps/seqstate.Tpo
> -c -o seqstate.o ../../src/seqstate.cc
>     mv -f .deps/seqstate.Tpo .deps/seqstate.Po
>     g++ -DHAVE_CONFIG_H -I. -I../../src -I..  -I ../gl/lib -I
> ../../src/../gl/lib   -g -O2 -MT canonify.o -MD -MP -MF .deps/canonify.Tpo
> -c -o canonify.o ../../src/canonify.cc
>     mv -f .deps/canonify.Tpo .deps/canonify.Po
>     g++ -DHAVE_CONFIG_H -I. -I../../src -I..  -I ../gl/lib -I
> ../../src/../gl/lib   -g -O2 -MT writesubst.o -MD -MP -MF
> .deps/writesubst.Tpo -c -o writesubst.o ../../src/writesubst.cc
>     mv -f .deps/writesubst.Tpo .deps/writesubst.Po
>     g++ -DHAVE_CONFIG_H -I. -I../../src -I..  -I ../gl/lib -I
> ../../src/../gl/lib   -g -O2 -MT pfile.o -MD -MP -MF .deps/pfile.Tpo -c -o
> pfile.o ../../src/pfile.cc
>     mv -f .deps/pfile.Tpo .deps/pfile.Po
>     g++ -DHAVE_CONFIG_H -I. -I../../src -I..  -I ../gl/lib -I
> ../../src/../gl/lib   -g -O2 -MT encoding.o -MD -MP -MF .deps/encoding.Tpo
> -c -o encoding.o ../../src/encoding.cc
>     mv -f .deps/encoding.Tpo .deps/encoding.Po
>     g++ -DHAVE_CONFIG_H -I. -I../../src -I..  -I ../gl/lib -I
> ../../src/../gl/lib   -g -O2 -MT sf-add.o -MD -MP -MF .deps/sf-add.Tpo -c -o
> sf-add.o ../../src/sf-add.cc
>     mv -f .deps/sf-add.Tpo .deps/sf-add.Po
>     g++ -DHAVE_CONFIG_H -I. -I../../src -I..  -I ../gl/lib -I
> ../../src/../gl/lib   -g -O2 -MT sf-kw.o -MD -MP -MF .deps/sf-kw.Tpo -c -o
> sf-kw.o ../../src/sf-kw.cc
>     mv -f .deps/sf-kw.Tpo .deps/sf-kw.Po
>
> BUT then a missing config.h error pops up:
>
> g++ -DHAVE_CONFIG_H -I. -I../../src -I..  -I ../gl/lib -I
> ../../src/../gl/lib   -g -O2 -MT dtbl-prepend.o -MD -MP -MF
> .deps/dtbl-prepend.Tpo -c -o dtbl-prepend.o ../../src/dtbl-prepend.cc
> In file included from
> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/x86_64-redhat-linux/bits/gthr-default.h:42,
>                  from
> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/x86_64-redhat-linux/bits/gthr.h:162,
>                  from
> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ext/atomicity.h:34,
>                  from
> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/basic_string.h:41,
>                  from
> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/string:53,
>                  from ../../src/mystring.h:29,
>                  from ../../src/sid.h:40,
>                  from ../../src/delta.h:28,
>                  from ../../src/delta-table.h:32,
>                  from ../../src/dtbl-prepend.cc:27:
> ../gl/lib/unistd.h:135:3: error: #error "Please include config.h first."
>
>
> unistd.h: 135:
> #ifndef _GL_INLINE_HEADER_BEGIN
>  #error "Please include config.h first."
> #endif
>
> --
> Colin
>
> _______________________________________________
> bug-CSSC mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-cssc
>



-- 
--
This email is intended solely for the use of its addressee, sender,
and any readers of a mailing list archive in which it happens to
appear.   If you have received this email in error, please say or type
three times, "I believe in the utility of email disclaimers," and then
reply to the author correcting any spellings (and, optionally, any
incorrect spellings), accompanying these with humorous jests about the
author's parentage.   If you are not the addressee, you are
nevertheless permitted to both copy and forward this email since
without such permissions email systems are unable to transmit email to
anybody, intended recipient or not.  To those still reading by this
point, the author would like to apologise for being unable to maintain
a consistent level of humour throughout this disclaimer.  Contents may
settle during transit.  Do not feed the animals.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]