Dear Geos-devel list,

I am having a problem getting GEOS 2.2.1 to compile successfully under Solaris 
10.
I am using the GNU suite of tools to compile, make and link.
gnu gcc 3.4.3; gnu make 3.80; gnu ld 2.15
Any suggestions appreciated.

-----8<------
make[4]: Entering directory `/export/home/postgres/geos-2.2.1/source/headers'
make[4]: Leaving directory `/export/home/postgres/geos-2.2.1/source/headers'
make[3]: Leaving directory `/export/home/postgres/geos-2.2.1/source/headers'
make[2]: Leaving directory `/export/home/postgres/geos-2.2.1/source/headers'
Making all in bigtest
make[2]: Entering directory `/export/home/postgres/geos-2.2.1/source/bigtest'
if g++ -DHAVE_CONFIG_H -I. -I. -I../..//source/headers 
-I../..//source/headers/geos -I../../source/headers -I../../source/io/markup    
-g -O2 -MT TestSweepLineSpeed.o -MD -MP -MF ".deps/TestSweepLineSpeed.Tpo" -c 
-o TestSweepLineSpeed.o TestSweepLineSpeed.cpp; \
then mv -f ".deps/TestSweepLineSpeed.Tpo" ".deps/TestSweepLineSpeed.Po"; else 
rm -f ".deps/TestSweepLineSpeed.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..//source/headers 
-I../..//source/headers/geos -I../../source/headers -I../../source/io/markup    
-g -O2 -MT GeometryTestFactory.o -MD -MP -MF ".deps/GeometryTestFactory.Tpo" -c 
-o GeometryTestFactory.o GeometryTestFactory.cpp; \
then mv -f ".deps/GeometryTestFactory.Tpo" ".deps/GeometryTestFactory.Po"; else 
rm -f ".deps/GeometryTestFactory.Tpo"; exit 1; fi
/bin/bash ../..//libtool --mode=link --tag=CXX g++  -g -O2  -lstdc++ -o 
TestSweepLineSpeed  TestSweepLineSpeed.o GeometryTestFactory.o 
../..//source/geom/libgeos.la ../..//source/geom/libgeos.la
mkdir .libs
g++ -g -O2 -o .libs/TestSweepLineSpeed TestSweepLineSpeed.o 
GeometryTestFactory.o  
-L/usr2/SOURCES/S10/gcc-3.3.2/objdir/sparc-sun-solaris2.10/libstdc++-v3/src 
-L/usr2/SOURCES/S10/gcc-3.3.2/objdir/sparc-sun-solaris2.10/libstdc++-v3/src/.libs
 -L/usr2/SOURCES/S10/gcc-3.3.2/objdir/gcc -L/usr/ccs/bin -L/usr/ccs/lib 
-L/usr/local/lib/gcc-lib/.. -lm -lgcc_s ../..//source/geom/.libs/libgeos.so 
/usr/local/lib/./libstdc++.so -Wl,-R -Wl,/usr/local/lib/. -Wl,-R 
-Wl,/export/home/postgres/geos/lib
ld: warning: file /usr/local/lib/gcc-lib/../libstdc++.so: linked to 
/usr/local/lib/./libstdc++.so: attempted multiple inclusion of file
Undefined                       first referenced
 symbol                             in file
std::_Rb_tree_increment(std::_Rb_tree_node_base*)../..//source/geom/.libs/libgeos.so
std::basic_string<char, std::char_traits<char>, std::allocator<char> 
>::_Rep::_S_empty_rep_storage../..//source/geom/.libs/libgeos.so
__gnu_cxx::__exchange_and_add(int volatile*, 
int)../..//source/geom/.libs/libgeos.so
std::basic_istream<char, std::char_traits<char> >::seekg(long long, 
std::_Ios_Seekdir)../..//source/geom/.libs/libgeos.so
std::_Rb_tree_increment(std::_Rb_tree_node_base 
const*)../..//source/geom/.libs/libgeos.so
std::basic_string<char, std::char_traits<char>, std::allocator<char> 
>::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> 
const&)../..//source/geom/.libs/libgeos.so
std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, 
std::_Rb_tree_node_base&)../..//source/geom/.libs/libgeos.so
std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, 
std::_Rb_tree_node_base*, 
std::_Rb_tree_node_base&)../..//source/geom/.libs/libgeos.so
std::_Rb_tree_decrement(std::_Rb_tree_node_base*)../..//source/geom/.libs/libgeos.so
ld: fatal: Symbol referencing errors. No output written to 
.libs/TestSweepLineSpeed
collect2: ld returned 1 exit status
make[2]: *** [TestSweepLineSpeed] Error 1
make[2]: Leaving directory `/export/home/postgres/geos-2.2.1/source/bigtest'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/postgres/geos-2.2.1/source'
make: *** [all-recursive] Error 1

Regards,
Shaun Kolomeitz
Senior Technical Officer
Systems & Support Branch
Parks Division
Environmental Protection Agency
 



___________________________
Disclaimer

This e-mail, including attachments if any, has originated from a Queensland 
government agency and may contain information that is confidential, or covered 
by legal professional privilege, and is intended for the named recipient(s) 
only.  If you have received this message in error, you are asked to inform the 
sender as quickly as possible and delete this message and any copies of this 
message from your computer system network.

Any form of disclosure, modification, distribution and/or publication of this 
e-mail, including attachments is prohibited.  Unless otherwise stated, this 
e-mail, including attachments represents the views of the sender and not the 
views of the Environmental Protection Agency.

Although this e-mail has been checked for the presence of computer viruses, the 
Environmental Protection Agency provides no warranty that all possible viruses 
have been detected and cleaned.  Any use of this e-mail could harm your 
computer system.
___________________________

_______________________________________________
geos-devel mailing list
geos-devel@geos.refractions.net
http://geos.refractions.net/mailman/listinfo/geos-devel

Reply via email to