[Top][All Lists]

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

[Bug-cssc] CSSC compile problem during make all-am (under src directory)

From: Colin McGrath
Subject: [Bug-cssc] CSSC compile problem during make all-am (under src directory)
Date: Fri, 29 Aug 2014 13:04:51 -0400

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:
 #error "Please include config.h first."


reply via email to

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