By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,812 Members | 863 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,812 IT Pros & Developers. It's quick & easy.

Boost .rodata build error

P: n/a
Hello Friends,

Building my software on a standard Debian sarge 'testing' machine.
Builds have been occuring with regular frequency for months without
this error cropping up, but I now get a significant number of errors
complaining of:

`.L1590' referenced in section `.rodata' of ......

which causes the build to exit with Error. My environment is as such:

$ g++ -v
Reading specs from /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/specs
Configured with: ../src/configure -v --enable-languages=c,c++,ada
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--enable-__cxa_atexit --with-system-zlib --enable-nls
--without-included-gettext --enable-clocale=gnu --enable-debug
i486-linux-gnu
Thread model: posix
gcc version 3.3.6 (Debian 1:3.3.6-10)

$ ls lib/boost/
libboost_date_time-gcc-mt-1_32.so.1.32.0
libboost_date_time.so
libboost_filesystem-gcc-mt-1_32.so.1.32.0
libboost_filesystem.so
libboost_program_options-gcc-mt-1_32.so.1.32.0
libboost_program_options.so
libboost_regex-gcc-mt-1_32.so.1.32.0
libboost_regex.so
libboost_thread-gcc-mt-1_32.so.1.32.0
libboost_thread.so

Full error message is included below. Has anyone come across this?
Any light you could shed on this for me would be tremendously
appreciated. Thanks so much for your time and consideration!

Regards,
John Quigley
https://chicagolug.org/~jquigley/

Partial Error Message:
---------------------------------
g++ -Wl,--fatal-warnings
.../client/../../../dist/debian3/internal/client/obj.rej/cmdline-client/test/GridClientTestCaseFactory.o
.../client/../../../dist/debian3/internal/client/obj.rej/cmdline-client/test/MessageIntegrityUnitTest.o
.../client/../../../dist/debian3/internal/client/obj.rej/cmdline-client/test/DirectoryCreationUnitTest.o
.../client/../../../dist/debian3/internal/client/obj.rej/cmdline-client/test/BackupRestoreUnitTest.o
.../client/../../../dist/debian3/internal/client/obj.rej/cmdline-client/test/MessageIntegrityThread.o
.../client/../../../dist/debian3/internal/client/obj.rej/cmdline-client/DatasourceProgressEventHandler.o
.../client/../../../dist/debian3/internal/client/obj.rej/cmdline-client/DataSourceTreeNodePrinter.o
.../client/../../../dist/debian3/internal/client/obj.rej/cmdline-client/GridClient.o
.../client/../../../dist/debian3/internal/client/obj.rej/svn_version.o
.../client/../../../dist/debian3/internal/client/lib.rej/libpolicy.so
.../client/../../../dist/debian3/internal/client/lib.rej/libnetwork.so
.../client/../../../dist/debian3/internal/client/lib.rej/libgridagent.so
.../client/../../../dist/debian3/internal/client/lib.rej/libdatasource.so
.../client/../../../dist/debian3/internal/client/lib.rej/libthread.so
.../client/../../../dist/debian3/internal/client/lib.rej/libgcode.so
.../../../dist/debian3/external/lib/gcodefac/libgcodefac.a
.../client/../../../dist/debian3/internal/client/lib.rej/libtest.so
.../client/../../../dist/debian3/internal/client/lib.rej/libutil.so
.../../../dist/debian3/external/lib/boost/libboost_program_options.so
.../../../dist/debian3/external/lib/boost/libboost_filesystem.so
.../../../dist/debian3/external/lib/boost/libboost_regex.so
.../../../dist/debian3/external/lib/boost/libboost_date_time.so
.../../../dist/debian3/external/lib/boost/libboost_thread.so
.../../../dist/debian3/external/lib/openssl/libssl.so
.../../../dist/debian3/external/lib/xerces/libxerces-c.so
.../../../dist/debian3/external/lib/ace/libACE.so
.../../../dist/debian3/external/lib/openssl/libcrypto.so
.../../../dist/debian3/external/lib/bzip/libbz2.so -o
.../client/../../../dist/debian3/internal/client/bin.rej/cmdline-client

(OMITTED FOR THE SAKE OF BREVITY)

`.L1589' referenced in section `.rodata' of
.../client/../../../dist/debian3/internal/client/obj.rej/cmdline-client/test/MessageIntegrityThread.o:
defined in discarded section
`.gnu.linkonce.t._ZN5boost9date_time11int_adapterI xE12from_specialENS0_14special_valuesE'
of
.../client/../../../dist/debian3/internal/client/obj.rej/cmdline-client/test/MessageIntegrityThread.o
`.L1591' referenced in section `.rodata' of
.../client/../../../dist/debian3/internal/client/obj.rej/cmdline-client/test/MessageIntegrityThread.o:
defined in discarded section
`.gnu.linkonce.t._ZN5boost9date_time11int_adapterI xE12from_specialENS0_14special_valuesE'
of
.../client/../../../dist/debian3/internal/client/obj.rej/cmdline-client/test/MessageIntegrityThread.o
`.L1590' referenced in section `.rodata' of
.../client/../../../dist/debian3/internal/client/obj.rej/cmdline-client/test/MessageIntegrityThread.o:
defined in discarded section
`.gnu.linkonce.t._ZN5boost9date_time11int_adapterI xE12from_specialENS0_14special_valuesE'
of
.../client/../../../dist/debian3/internal/client/obj.rej/cmdline-client/test/MessageIntegrityThread.o
collect2: ld returned 1 exit status
make: ***
[../client/../../../dist/debian3/internal/client/bin.rej/cmdline-client]
Error 1

Mar 20 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a

<qu******@gmail.com> wrote in message
news:11*********************@i40g2000cwc.googlegro ups.com...
Hello Friends,

Building my software on a standard Debian sarge 'testing' machine.
Builds have been occuring with regular frequency for months without
this error cropping up, but I now get a significant number of errors
complaining of:

`.L1590' referenced in section `.rodata' of ......

which causes the build to exit with Error. My environment is as such:

$ g++ -v
Reading specs from /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/specs
Configured with: ../src/configure -v --enable-languages=c,c++,ada
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--enable-__cxa_atexit --with-system-zlib --enable-nls
--without-included-gettext --enable-clocale=gnu --enable-debug
i486-linux-gnu
Thread model: posix
gcc version 3.3.6 (Debian 1:3.3.6-10)

$ ls lib/boost/
libboost_date_time-gcc-mt-1_32.so.1.32.0
libboost_date_time.so
libboost_filesystem-gcc-mt-1_32.so.1.32.0
libboost_filesystem.so
libboost_program_options-gcc-mt-1_32.so.1.32.0
libboost_program_options.so
libboost_regex-gcc-mt-1_32.so.1.32.0
libboost_regex.so
libboost_thread-gcc-mt-1_32.so.1.32.0
libboost_thread.so

Full error message is included below. Has anyone come across this?
Any light you could shed on this for me would be tremendously
appreciated. Thanks so much for your time and consideration!

Regards,
John Quigley
https://chicagolug.org/~jquigley/

Partial Error Message:
---------------------------------
g++ -Wl,--fatal-warnings
../client/../../../dist/debian3/internal/client/obj.rej/cmdline-client/test/GridClientTestCaseFactory.o `.L1589' referenced in section `.rodata' of
../client/../../../dist/debian3/internal/client/obj.rej/cmdline-client/test/MessageIntegrityThread.o:
defined in discarded section


Those 'referenced in section' statements are not the error messages
themselves. They are descriptions of locations where references were made
to symbols which caused the errors. Apparently, you've got some kind of
link error(s) here, and it appears to me that you've snipped the actual
error message(s). You most likely have "undefined reference" errors, or
something similar, which indicates that you've got code referring to one or
more symbols which are never properly linked in.

Since this is a linking problem, I'd suggest asking on a gnu or linux
newsgroup, where they might be able to more easily help sort out link errors
with g++.

-Howard
Mar 20 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.