|
From: Rahul S. <rah...@fl...> - 2003-11-07 15:10:57
|
I got an error building scrollkeeper 0.3.12 on a Solaris 2.8 box following packages are installed: gettext-0.12.1 libiconv-1.9.1 libxml2-2.6.2 libxslt-1.1.0 intltool-0.27.2 docbookx412 docbook-xsl-1.48 gcc version 2.95.3 gettext was built and installed with the configure option --with-included-gettext nm /usr/local/lib/libintl.so | grep libintl_ [293] | 9016| 36|FUNC |GLOB |0 |10 |libintl_bind_textdomain_codeset [246] | 8980| 36|FUNC |GLOB |0 |10 |libintl_bindtextdomain [310] | 9052| 40|FUNC |GLOB |0 |10 |libintl_dcgettext [267] | 21264| 1688|FUNC |GLOB |0 |10 |libintl_dcigettext [319] | 24984| 40|FUNC |GLOB |0 |10 |libintl_dcngettext [271] | 9092| 28|FUNC |GLOB |0 |10 |libintl_dgettext [339] | 25024| 36|FUNC |GLOB |0 |10 |libintl_dngettext [282] | 9120| 28|FUNC |GLOB |0 |10 |libintl_gettext [327] | 27688| 288|FUNC |GLOB |0 |10 |libintl_gettext_extract_plural [309] | 26616| 104|FUNC |GLOB |0 |10 |libintl_gettext_free_exp [247] | 98380| 20|OBJT |GLOB |0 |13 |libintl_gettext_germanic_plural [346] | 25296| 1320|FUNC |GLOB |0 |10 |libintl_gettextparse [262] | 25060| 36|FUNC |GLOB |0 |10 |libintl_ngettext [308] | 98336| 4|OBJT |GLOB |0 |13 |libintl_nl_current_default_domain [288] | 31632| 9|OBJT |GLOB |0 |12 |libintl_nl_default_default_domain [294] | 31648| 24|OBJT |GLOB |0 |12 |libintl_nl_default_dirname [303] | 100188| 4|OBJT |GLOB |0 |21 |libintl_nl_domain_bindings [281] | 29608| 352|FUNC |GLOB |0 |10 |libintl_relocate [261] | 29080| 36|FUNC |GLOB |0 |10 |libintl_set_relocation_prefix [348] | 17628| 244|FUNC |GLOB |0 |10 |libintl_textdomain scrollkeeper configured with this command: ./configure --prefix=/usr/local --with-libiconv-prefix=/usr/local --with-libintl-prefix=/usr/local --with-included-gettext make output: ... Making all in buildtools make[2]: Entering directory `/export/home0/rsood/proj/scrollkeeper-0.3.12/buildtools' source='separate.c' object='separate.o' libtool=no \ depfile='.deps/separate.Po' tmpdepfile='.deps/separate.TPo' \ depmode=gcc /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libs -I/usr/local/include/libxml2 -g -O2 -c `test -f 'separate.c' || echo './'`separate.c /bin/bash ../libtool --mode=link gcc -g -O2 -o scrollkeeper-tree-separate separate.o -L/usr/local/lib -R/usr/local/lib -lxml2 -lz -lpthread -liconv -lm -lsocket -lnsl -L/usr/local/lib -R/usr/local/lib -lxslt -lxml2 -lz -lpthread -liconv -lsocket -lnsl -lm ../libs/libscrollkeeper.la mkdir .libs gcc -g -O2 -o .libs/scrollkeeper-tree-separate separate.o -L/usr/local/lib ../libs/.libs/libscrollkeeper.so /usr/local/lib/libxslt.so /usr/local/lib/libxml2.so -lz -lpthread /usr/local/lib/libiconv.so -lsocket -lnsl -lm -Wl,--rpath -Wl,/usr/local/lib separate.o: In function `create_locale_files': /export/home/rsood/proj/scrollkeeper-0.3.12/buildtools/separate.c:88: undefined reference to `libintl_gettext' separate.o: In function `usage': /export/home/rsood/proj/scrollkeeper-0.3.12/buildtools/separate.c:298: undefined reference to `libintl_gettext' separate.o: In function `main': /export/home/rsood/proj/scrollkeeper-0.3.12/buildtools/separate.c:310: undefined reference to `libintl_bindtextdomain' /export/home/rsood/proj/scrollkeeper-0.3.12/buildtools/separate.c:311: undefined reference to `libintl_textdomain' /export/home/rsood/proj/scrollkeeper-0.3.12/buildtools/separate.c:320: undefined reference to `libintl_gettext' /export/home/rsood/proj/scrollkeeper-0.3.12/buildtools/separate.c:325: undefined reference to `libintl_gettext' /export/home/rsood/proj/scrollkeeper-0.3.12/buildtools/separate.c:333: undefined reference to `libintl_gettext' /export/home/rsood/proj/scrollkeeper-0.3.12/buildtools/separate.c:337: undefined reference to `libintl_gettext' /export/home/rsood/proj/scrollkeeper-0.3.12/buildtools/separate.c:348: undefined reference to `libintl_gettext' ../libs/.libs/libscrollkeeper.so: undefined reference to `strndup' collect2: ld returned 1 exit status make[2]: *** [scrollkeeper-tree-separate] Error 1 make[2]: Leaving directory `/export/home0/rsood/proj/scrollkeeper-0.3.12/buildtools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home0/rsood/proj/scrollkeeper-0.3.12' make: *** [all] Error 2 |