473,386 Members | 1,652 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Boost .rodata build error

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
1 2547

<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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Bren | last post by:
Hi, Pardon my stupid, but I'm having a problem building Boost.Python as per the instructions at http://www.boost.org/libs/python/doc/building.html I got boost-build-2.0-m6.zip from...
0
by: Li Daobing | last post by:
I can't use .def(str(self)) I write a simple example, without `str', I can build it well, but with this one, I can't build //Rational.cpp #include <boost/python.hpp> #include <iostream> ...
0
by: ufnuceda | last post by:
Hello everyone, I was wondering if any of you have some experience with the boost library. I am having trouble compiling code with it. Since boost is being used a lot these days I thought some...
3
by: TonyHa | last post by:
Hello I try to install boost_1_33_1 on RedHat Linux. I have downloaded boost into /user/dtgtools/tmp and I try to install it into /user/dtgtools/packages/boost. I use the following commands:...
0
by: Osiris | last post by:
My experiences with BOOST on Windows XP and Visual C++ 2005 I'm new to Python. I built software in more than ten other computer languages. I'm not sure if that is not a handicap, when reading...
1
by: Noah Roberts | last post by:
Trying to use boost::function in a C++/CLI program. Here is code: pragma once #include <boost/function.hpp> #include <boost/shared_ptr.hpp> #include <vector> using namespace System;
6
by: Soren | last post by:
Hi! I'm trying to extend my python program with some C++ code. Right now I've spent hours just trying to get boost to work! I'm trying to get the example hello.cpp to work. Using Windows XP...
2
by: mr_gees100_peas | last post by:
Hi, I've been trying for days to make either boost.python or swig to work for me. The one I have gotten the closest to is boost. Note that this is for windows XP. I'm not much of an unix person...
0
by: Soumen | last post by:
Hi, Recently we've moved to gcc-3.3.6. Even though build is getting completed, linker is throwing some message like following: /usr/bin/ld: `.L815' referenced in section `.rodata' of...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.