Hello: my configure.in : AC_INIT(main, 0.1, zqiang320@xxxxxxxxx) AM_INIT_AUTOMAKE(foreign) AC_PROG_CC AC_PROG_CXX AM_PROG_LIBTOOL AC_OUTPUT(Makefile libsbml/src/Makefile) Makefile.am : bin_PROGRAMS = main SUBDIRS = libsbml/src . main_SOURCES = main.c main_LDADD = sundials/src/cvodes/libsundials_cvodes.la sundials/src/nvec_ser/libsundials_nvecserial.la ./libsbml/src/libsbml.la -lm AM_CPPFLAGS = -Isundials/include -Ilibsbml/include and execute $ autoreconf -vi autoreconf: Entering directory `.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal autoreconf: configure.in: tracing autoreconf: running: libtoolize --copy autoreconf: running: /usr/bin/autoconf autoreconf: configure.in: not using Autoheader autoreconf: running: automake --add-missing --copy --no-force configure.in:2: installing `./install-sh' configure.in:2: installing `./missing' autoreconf: Leaving directory `.' $ make Making all in libsbml/src make[1]: Entering directory `/home/internet/mydoc/test_pj/libsbml/src' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"main\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"main\ 0.1\" -DPACKAGE_BUGREPORT=\"zqiang320@xxxxxxxxx\" -DPACKAGE=\"main\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I../include -g -O2 -MT libsbml-version.lo -MD -MP -MF .deps/libsbml-version.Tpo -c -o libsbml-version.lo `test -f 'common/libsbml-version.cpp' || echo './'`common/libsbml-version.cpp mkdir .libs g++ -DPACKAGE_NAME=\"main\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"main 0.1\"" -DPACKAGE_BUGREPORT=\"zqiang320@xxxxxxxxx\" -DPACKAGE=\"main\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I../include -g -O2 -MT libsbml-version.lo -MD -MP -MF .deps/libsbml-version.Tpo -c common/libsbml-version.cpp -fPIC -DPIC -o .libs/libsbml-version.o g++ -DPACKAGE_NAME=\"main\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"main 0.1\"" -DPACKAGE_BUGREPORT=\"zqiang320@xxxxxxxxx\" -DPACKAGE=\"main\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I../include -g -O2 -MT libsbml-version.lo -MD -MP -MF .deps/libsbml-version.Tpo -c common/libsbml-version.cpp -o libsbml-version.o >/dev/null 2>&1 mv -f .deps/libsbml-version.Tpo .deps/libsbml-version.Plo /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"main\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"main\ 0.1\" -DPACKAGE_BUGREPORT=\"zqiang320@xxxxxxxxx\" -DPACKAGE=\"main\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I../include -g -O2 -MT ASTNode.lo -MD -MP -MF .deps/ASTNode.Tpo -c -o ASTNode.lo `test -f 'math/ASTNode.cpp' || echo './'`math/ASTNode.cpp g++ -DPACKAGE_NAME=\"main\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"main 0.1\"" -DPACKAGE_BUGREPORT=\"zqiang320@xxxxxxxxx\" -DPACKAGE=\"main\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I../include -g -O2 -MT ASTNode.lo -MD -MP -MF .deps/ASTNode.Tpo -c math/ASTNode.cpp -fPIC -DPIC -o .libs/ASTNode.o g++ -DPACKAGE_NAME=\"main\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"main 0.1\"" -DPACKAGE_BUGREPORT=\"zqiang320@xxxxxxxxx\" -DPACKAGE=\"main\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I../include -g -O2 -MT ASTNode.lo -MD -MP -MF .deps/ASTNode.Tpo -c math/ASTNode.cpp -o ASTNode.o >/dev/null 2>&1 mv -f .deps/ASTNode.Tpo .deps/ASTNode.Plo /bin/sh ../../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"main\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"main\ 0.1\" -DPACKAGE_BUGREPORT=\"zqiang320@xxxxxxxxx\" -DPACKAGE=\"main\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I../include -g -O2 -MT FormulaTokenizer.lo -MD -MP -MF .deps/FormulaTokenizer.Tpo -c -o FormulaTokenizer.lo `test -f 'math/FormulaTokenizer.c' || echo './'`math/FormulaTokenizer.c gcc -DPACKAGE_NAME=\"main\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"main 0.1\"" -DPACKAGE_BUGREPORT=\"zqiang320@xxxxxxxxx\" -DPACKAGE=\"main\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I../include -g -O2 -MT FormulaTokenizer.lo -MD -MP -MF .deps/FormulaTokenizer.Tpo -c math/FormulaTokenizer.c -fPIC -DPIC -o .libs/FormulaTokenizer.o gcc -DPACKAGE_NAME=\"main\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"main 0.1\"" -DPACKAGE_BUGREPORT=\"zqiang320@xxxxxxxxx\" -DPACKAGE=\"main\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I../include -g -O2 -MT FormulaTokenizer.lo -MD -MP -MF .deps/FormulaTokenizer.Tpo -c math/FormulaTokenizer.c -o FormulaTokenizer.o >/dev/null 2>&1 mv -f .deps/FormulaTokenizer.Tpo .deps/FormulaTokenizer.Plo /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"main\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"main\ 0.1\" -DPACKAGE_BUGREPORT=\"zqiang320@xxxxxxxxx\" -DPACKAGE=\"main\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I../include -g -O2 -MT List.lo -MD -MP -MF .deps/List.Tpo -c -o List.lo `test -f 'util/List.cpp' || echo './'`util/List.cpp g++ -DPACKAGE_NAME=\"main\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"main 0.1\"" -DPACKAGE_BUGREPORT=\"zqiang320@xxxxxxxxx\" -DPACKAGE=\"main\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I../include -g -O2 -MT List.lo -MD -MP -MF .deps/List.Tpo -c util/List.cpp -fPIC -DPIC -o .libs/List.o g++ -DPACKAGE_NAME=\"main\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"main 0.1\"" -DPACKAGE_BUGREPORT=\"zqiang320@xxxxxxxxx\" -DPACKAGE=\"main\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I../include -g -O2 -MT List.lo -MD -MP -MF .deps/List.Tpo -c util/List.cpp -o List.o >/dev/null 2>&1 mv -f .deps/List.Tpo .deps/List.Plo /bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -version-info 0:0:0 -o libsbml.la -rpath /usr/local/lib libsbml-version.lo ASTNode.lo FormulaTokenizer.lo List.lo g++ -shared -nostdlib /usr/lib/gcc/i386-redhat-linux/4.3.0/../../../crti.o /usr/lib/gcc/i386-redhat-linux/4.3.0/crtbeginS.o .libs/libsbml-version.o .libs/ASTNode.o .libs/FormulaTokenizer.o .libs/List.o -L/usr/lib/gcc/i386-redhat-linux/4.3.0 -L/usr/lib/gcc/i386-redhat-linux/4.3.0/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i386-redhat-linux/4.3.0/crtendS.o /usr/lib/gcc/i386-redhat-linux/4.3.0/../../../crtn.o -Wl,-soname -Wl,libsbml.so.0 -o .libs/libsbml.so.0.0.0 (cd .libs && rm -f libsbml.so.0 && ln -s libsbml.so.0.0.0 libsbml.so.0) (cd .libs && rm -f libsbml.so && ln -s libsbml.so.0.0.0 libsbml.so) ar cru .libs/libsbml.a libsbml-version.o ASTNode.o FormulaTokenizer.o List.o ranlib .libs/libsbml.a creating libsbml.la (cd .libs && rm -f libsbml.la && ln -s ../libsbml.la libsbml.la) make[1]: Leaving directory `/home/internet/mydoc/test_pj/libsbml/src' Making all in . make[1]: Entering directory `/home/internet/mydoc/test_pj' gcc -DPACKAGE_NAME=\"main\" -DPACKAGE_TARNAME=\"main\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"main\ 0.1\" -DPACKAGE_BUGREPORT=\"zqiang320@xxxxxxxxx\" -DPACKAGE=\"main\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -Isundials/include -Ilibsbml/include -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c In file included from sundials/include/sundials/sundials_nvector.h:50, from sundials/include/cvodes/cvodes.h:41, from main.c:52: sundials/include/sundials/sundials_types.h:50:38: error: sundials/sundials_config.h: No such file or directory In file included from sundials/include/cvodes/cvodes.h:41, from main.c:52: sundials/sundials_config.h was in directory in sundials/include, why compiler could not find it by AM_CPPFLAGS = -Isundials/include what should I do? 2008-09-25 zqiang320