You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by Rob Maidment <Ro...@clearswift.com> on 2010/07/09 18:04:00 UTC

linker problem "defined in discarded section"

Hello all, I hope someone can help.

I'm having problems building traffic server 2.0.0:


make[2]: Entering directory `/root/trafficserver/trafficserver-2.0.0/proxy'
/bin/sh ../libtool --tag=CXX   --mode=link g++  -g -pipe -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof  -march=i586 -rdynamic  -o traffic_server traffic_server-AbstractBuffer.o traffic_server-CacheControl.o traffic_server-CacheInspectorAllow.o traffic_server-Config.o traffic_server-ControlBase.o traffic_server-ControlMatcher.o traffic_server-CoreUtils.o traffic_server-DiagsConfig.o traffic_server-Error.o traffic_server-EventName.o traffic_server-ICP.o traffic_server-ICPConfig.o traffic_server-ICPProcessor.o traffic_server-ICPStats.o traffic_server-InkAPI.o traffic_server-InkAPITest.o traffic_server-InkIOCoreAPI.o traffic_server-InkXml.o traffic_server-IPAllow.o traffic_server-Main.o traffic_server-ParentSelection.o traffic_server-Plugin.o traffic_server-PluginDB.o traffic_server-PluginVC.o traffic_server-Prefetch.o traffic_server-ReverseProxy.o traffic_server-signals.o traffic_server-SocksProxy.o traffic_server-StatPages.o traffic_server-StatSystem.o traffic_server-TestHook.o traffic_server-Transform.o traffic_server-Update.o http2/libhttp.a congest/libCongestionControl.a dns_cache/libdnscache.a logging/liblogging.a stats/libstats.a hdrs/libhdrs.a mgmt2/preparse/libpreparse.a mgmt2/utils/libutils_p.a mgmt2/libmgmt_p.a ../iocore/utils/libinkutils.a ../iocore/cluster/libinkcluster.a ../iocore/dns/libinkdns.a ../iocore/hostdb/libinkhostdb.a ../iocore/dns/libinkdns.a ../iocore/cluster/libinkcluster.a ../iocore/cache/libinkcache.a ../iocore/aio/libinkaio.a ../iocore/net/libinknet.a ../iocore/eventsystem/libinkevent.a ../librecords/librecprocess.a ../iocore/eventsystem/libinkevent.a ../libinktomi++/libinktomi++.a -lpthread  -lnsl -lresolv -lrt -lpcre  -lsqlite3 -lssl -lcrypto -ltcl8.4 -ldl -lexpat
libtool: link: g++ -g -pipe -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof -march=i586 -rdynamic -o traffic_server traffic_server-AbstractBuffer.o traffic_server-CacheControl.o traffic_server-CacheInspectorAllow.o traffic_server-Config.o traffic_server-ControlBase.o traffic_server-ControlMatcher.o traffic_server-CoreUtils.o traffic_server-DiagsConfig.o traffic_server-Error.o traffic_server-EventName.o traffic_server-ICP.o traffic_server-ICPConfig.o traffic_server-ICPProcessor.o traffic_server-ICPStats.o traffic_server-InkAPI.o traffic_server-InkAPITest.o traffic_server-InkIOCoreAPI.o traffic_server-InkXml.o traffic_server-IPAllow.o traffic_server-Main.o traffic_server-ParentSelection.o traffic_server-Plugin.o traffic_server-PluginDB.o traffic_server-PluginVC.o traffic_server-Prefetch.o traffic_server-ReverseProxy.o traffic_server-signals.o traffic_server-SocksProxy.o traffic_server-StatPages.o traffic_server-StatSystem.o traffic_server-TestHook.o traffic_server-Transform.o traffic_server-Update.o  http2/libhttp.a congest/libCongestionControl.a dns_cache/libdnscache.a logging/liblogging.a stats/libstats.a hdrs/libhdrs.a mgmt2/preparse/libpreparse.a mgmt2/utils/libutils_p.a mgmt2/libmgmt_p.a ../iocore/utils/libinkutils.a ../iocore/hostdb/libinkhostdb.a ../iocore/dns/libinkdns.a ../iocore/cluster/libinkcluster.a ../iocore/cache/libinkcache.a ../iocore/aio/libinkaio.a ../iocore/net/libinknet.a ../librecords/librecprocess.a ../iocore/eventsystem/libinkevent.a ../libinktomi++/libinktomi++.a -lnsl -lresolv -lrt /usr/local/lib/libpcre.so /usr/local/lib/libsqlite3.so -lpthread -lssl -lcrypto -ltcl8.4 -ldl /usr/lib/libexpat.so
`.gnu.linkonce.t._Z12Cluster_readP14ClusterMachineiP12ContinuationP9MIOBufferP3URLP7HTTPHdrP21CacheLookupHttpConfigP7INK_MD5l13CacheFragTypePci' referenced in section `.gnu.linkonce.r._Z12Cluster_readP14ClusterMachineiP12ContinuationP9MIOBufferP3URLP7HTTPHdrP21CacheLookupHttpConfigP7INK_MD5l13CacheFragTypePci' of ../iocore/cache/libinkcache.a(Cache.o): defined in discarded section `.gnu.linkonce.t._Z12Cluster_readP14ClusterMachineiP12ContinuationP9MIOBufferP3URLP7HTTPHdrP21CacheLookupHttpConfigP7INK_MD5l13CacheFragTypePci' of ../iocore/cache/libinkcache.a(Cache.o)
collect2: ld returned 1 exit status
make[2]: *** [traffic_server] Error 1
make[2]: Leaving directory `/root/trafficserver/trafficserver-2.0.0/proxy'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/trafficserver/trafficserver-2.0.0/proxy'
make: *** [all-recursive] Error 1

You can see the compiler/linker version I'm using here:

# uname -r
2.6.32.7

# gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.4.0/configure --prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --disable-multilib --disable-bootstrap
Thread model: posix
gcc version 4.4.0 (GCC)

# ld -v
GNU ld version 2.15.91.0.2 20040727

# g++ -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.4.0/configure --prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --disable-multilib --disable-bootstrap
Thread model: posix
gcc version 4.4.0 (GCC)

Can anybody help?
thanks,
Rob Maidment




This e-mail and any files transmitted with it are strictly confidential, may be privileged and are intended only for use by the addressee unless otherwise indicated.  If you are not the intended recipient any use, dissemination, printing or copying is strictly prohibited and may be unlawful.  If you have received this e-mail in error, please delete it immediately and contact the sender as soon as possible.  Clearswift cannot be held liable for delays in receipt of an email or any errors in its content. Clearswift accepts no responsibility once an e-mail and any attachments leave us. Unless expressly stated, opinions in this message are those of the individual sender and not of Clearswift.

This email message has been inspected by Clearswift for inappropriate content and security threats. 

To find out more about Clearswift’s solutions please visit www.clearswift.com

Re: linker problem "defined in discarded section"

Posted by "Alan M. Carroll" <am...@network-geographics.com>.
It looks like it might be related to this gcc bug which is marked resolved/fixed.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625

which has a duplicate

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16849

that was reported against gcc 4.0.0. I can't find any more recent reference though.

Friday, July 9, 2010, 11:08:25 AM, you wrote:

> On 07/09/2010 10:04 AM, Rob Maidment wrote:
>> Hello all, I hope someone can help.

>> I'm having problems building traffic server 2.0.0:
>>    


> Weird. Any chance you can try one of the "dev" releases, either "trunk"
> from SVN, or v2.1.1 from the dist server? Links to the latter is on

>      http://trafficserver.apache.org/downloads.html

> -- Leif



Re: linker problem "defined in discarded section"

Posted by Leif Hedstrom <zw...@apache.org>.
On 07/09/2010 10:04 AM, Rob Maidment wrote:
> Hello all, I hope someone can help.
>
> I'm having problems building traffic server 2.0.0:
>    


Weird. Any chance you can try one of the "dev" releases, either "trunk" 
from SVN, or v2.1.1 from the dist server? Links to the latter is on

     http://trafficserver.apache.org/downloads.html

-- Leif


Re: linker problem "defined in discarded section"

Posted by Leif Hedstrom <le...@ogre.com>.
On 07/12/2010 06:45 AM, Rob Maidment wrote:
> Ok, I'm making progress now.  I noticed in the thread that Alan referred me to that someone had worked around the problem by disabling compiler optimisation.  That worked for me too, although in fact all I needed to do was disable inline functions, ie:
>
> -O3 -fno-inline-functions
>    

Cool. That's kind of a bummer, but hopefully won't affect performance 
too much.

> This worked for 2.0.0 and 2.1.1-unstable.
>
> So now I have to decide which version to test with.  I'm interested in measuring performance and trying out some of the plug-in interfaces to see if trafficserver might be suitable for my application.  Which version do you recommend?  How unstable is 2.1.1?
>    

I would test v2.1.1, or even better, svn "trunk". v2.1.2 will hopefully 
be out fairly soon, and v2.2.0 not to far after that (hopefully).

-- Leif


RE: linker problem "defined in discarded section"

Posted by Rob Maidment <Ro...@clearswift.com>.
Ok, I'm making progress now.  I noticed in the thread that Alan referred me to that someone had worked around the problem by disabling compiler optimisation.  That worked for me too, although in fact all I needed to do was disable inline functions, ie:

-O3 -fno-inline-functions

This worked for 2.0.0 and 2.1.1-unstable.  

So now I have to decide which version to test with.  I'm interested in measuring performance and trying out some of the plug-in interfaces to see if trafficserver might be suitable for my application.  Which version do you recommend?  How unstable is 2.1.1?  

Rob.


-----Original Message-----
From: Rob Maidment [mailto:Rob.Maidment@clearswift.com] 
Sent: 12 July 2010 09:56
To: dev@trafficserver.apache.org
Subject: RE: linker problem "defined in discarded section"

Same problem with v2.1.1-unstable:

`.gnu.linkonce.t._Z12Cluster_readP14ClusterMachineiP12ContinuationP9MIOBufferP3URLP7HTTPHdrP21CacheLookupHttpConfigP7INK_MD5l13CacheFragTypePci' referenced in section `.gnu.linkonce.r._Z12Cluster_readP14ClusterMachineiP12ContinuationP9MIOBufferP3URLP7HTTPHdrP21CacheLookupHttpConfigP7INK_MD5l13CacheFragTypePci' of ../iocore/cache/libinkcache.a(Cache.o): defined in discarded section `.gnu.linkonce.t._Z12Cluster_readP14ClusterMachineiP12ContinuationP9MIOBufferP3URLP7HTTPHdrP21CacheLookupHttpConfigP7INK_MD5l13CacheFragTypePci' of ../iocore/cache/libinkcache.a(Cache.o)



-----Original Message-----
From: Rob Maidment [mailto:Rob.Maidment@clearswift.com] 
Sent: 09 July 2010 17:04
To: dev@trafficserver.apache.org
Subject: linker problem "defined in discarded section"

Hello all, I hope someone can help.

I'm having problems building traffic server 2.0.0:


make[2]: Entering directory `/root/trafficserver/trafficserver-2.0.0/proxy'
/bin/sh ../libtool --tag=CXX   --mode=link g++  -g -pipe -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof  -march=i586 -rdynamic  -o traffic_server traffic_server-AbstractBuffer.o traffic_server-CacheControl.o traffic_server-CacheInspectorAllow.o traffic_server-Config.o traffic_server-ControlBase.o traffic_server-ControlMatcher.o traffic_server-CoreUtils.o traffic_server-DiagsConfig.o traffic_server-Error.o traffic_server-EventName.o traffic_server-ICP.o traffic_server-ICPConfig.o traffic_server-ICPProcessor.o traffic_server-ICPStats.o traffic_server-InkAPI.o traffic_server-InkAPITest.o traffic_server-InkIOCoreAPI.o traffic_server-InkXml.o traffic_server-IPAllow.o traffic_server-Main.o traffic_server-ParentSelection.o traffic_server-Plugin.o traffic_server-PluginDB.o traffic_server-PluginVC.o traffic_server-Prefetch.o traffic_server-ReverseProxy.o traffic_server-signals.o traffic_server-SocksProxy.o traffic_server-StatPages.o traffic_server-StatSystem.o traffic_server-TestHook.o traffic_server-Transform.o traffic_server-Update.o http2/libhttp.a congest/libCongestionControl.a dns_cache/libdnscache.a logging/liblogging.a stats/libstats.a hdrs/libhdrs.a mgmt2/preparse/libpreparse.a mgmt2/utils/libutils_p.a mgmt2/libmgmt_p.a ../iocore/utils/libinkutils.a ../iocore/cluster/libinkcluster.a ../iocore/dns/libinkdns.a ../iocore/hostdb/libinkhostdb.a ../iocore/dns/libinkdns.a ../iocore/cluster/libinkcluster.a ../iocore/cache/libinkcache.a ../iocore/aio/libinkaio.a ../iocore/net/libinknet.a ../iocore/eventsystem/libinkevent.a ../librecords/librecprocess.a ../iocore/eventsystem/libinkevent.a ../libinktomi++/libinktomi++.a -lpthread  -lnsl -lresolv -lrt -lpcre  -lsqlite3 -lssl -lcrypto -ltcl8.4 -ldl -lexpat
libtool: link: g++ -g -pipe -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof -march=i586 -rdynamic -o traffic_server traffic_server-AbstractBuffer.o traffic_server-CacheControl.o traffic_server-CacheInspectorAllow.o traffic_server-Config.o traffic_server-ControlBase.o traffic_server-ControlMatcher.o traffic_server-CoreUtils.o traffic_server-DiagsConfig.o traffic_server-Error.o traffic_server-EventName.o traffic_server-ICP.o traffic_server-ICPConfig.o traffic_server-ICPProcessor.o traffic_server-ICPStats.o traffic_server-InkAPI.o traffic_server-InkAPITest.o traffic_server-InkIOCoreAPI.o traffic_server-InkXml.o traffic_server-IPAllow.o traffic_server-Main.o traffic_server-ParentSelection.o traffic_server-Plugin.o traffic_server-PluginDB.o traffic_server-PluginVC.o traffic_server-Prefetch.o traffic_server-ReverseProxy.o traffic_server-signals.o traffic_server-SocksProxy.o traffic_server-StatPages.o traffic_server-StatSystem.o traffic_server-TestHook.o traffic_server-Transform.o traffic_server-Update.o  http2/libhttp.a congest/libCongestionControl.a dns_cache/libdnscache.a logging/liblogging.a stats/libstats.a hdrs/libhdrs.a mgmt2/preparse/libpreparse.a mgmt2/utils/libutils_p.a mgmt2/libmgmt_p.a ../iocore/utils/libinkutils.a ../iocore/hostdb/libinkhostdb.a ../iocore/dns/libinkdns.a ../iocore/cluster/libinkcluster.a ../iocore/cache/libinkcache.a ../iocore/aio/libinkaio.a ../iocore/net/libinknet.a ../librecords/librecprocess.a ../iocore/eventsystem/libinkevent.a ../libinktomi++/libinktomi++.a -lnsl -lresolv -lrt /usr/local/lib/libpcre.so /usr/local/lib/libsqlite3.so -lpthread -lssl -lcrypto -ltcl8.4 -ldl /usr/lib/libexpat.so
`.gnu.linkonce.t._Z12Cluster_readP14ClusterMachineiP12ContinuationP9MIOBufferP3URLP7HTTPHdrP21CacheLookupHttpConfigP7INK_MD5l13CacheFragTypePci' referenced in section `.gnu.linkonce.r._Z12Cluster_readP14ClusterMachineiP12ContinuationP9MIOBufferP3URLP7HTTPHdrP21CacheLookupHttpConfigP7INK_MD5l13CacheFragTypePci' of ../iocore/cache/libinkcache.a(Cache.o): defined in discarded section `.gnu.linkonce.t._Z12Cluster_readP14ClusterMachineiP12ContinuationP9MIOBufferP3URLP7HTTPHdrP21CacheLookupHttpConfigP7INK_MD5l13CacheFragTypePci' of ../iocore/cache/libinkcache.a(Cache.o)
collect2: ld returned 1 exit status
make[2]: *** [traffic_server] Error 1
make[2]: Leaving directory `/root/trafficserver/trafficserver-2.0.0/proxy'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/trafficserver/trafficserver-2.0.0/proxy'
make: *** [all-recursive] Error 1

You can see the compiler/linker version I'm using here:

# uname -r
2.6.32.7

# gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.4.0/configure --prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --disable-multilib --disable-bootstrap
Thread model: posix
gcc version 4.4.0 (GCC)

# ld -v
GNU ld version 2.15.91.0.2 20040727

# g++ -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.4.0/configure --prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --disable-multilib --disable-bootstrap
Thread model: posix
gcc version 4.4.0 (GCC)

Can anybody help?
thanks,
Rob Maidment




This e-mail and any files transmitted with it are strictly confidential, may be privileged and are intended only for use by the addressee unless otherwise indicated.  If you are not the intended recipient any use, dissemination, printing or copying is strictly prohibited and may be unlawful.  If you have received this e-mail in error, please delete it immediately and contact the sender as soon as possible.  Clearswift cannot be held liable for delays in receipt of an email or any errors in its content. Clearswift accepts no responsibility once an e-mail and any attachments leave us. Unless expressly stated, opinions in this message are those of the individual sender and not of Clearswift.

This email message has been inspected by Clearswift for inappropriate content and security threats. 

To find out more about Clearswift’s solutions please visit www.clearswift.com

------------------------------------------------------------------------
Message Processed by the MIMEsweeper TM SMTP Appliance

------------------------------------------------------------------------
Message Processed by the MIMEsweeper TM SMTP Appliance

RE: linker problem "defined in discarded section"

Posted by Rob Maidment <Ro...@clearswift.com>.
Same problem with v2.1.1-unstable:

`.gnu.linkonce.t._Z12Cluster_readP14ClusterMachineiP12ContinuationP9MIOBufferP3URLP7HTTPHdrP21CacheLookupHttpConfigP7INK_MD5l13CacheFragTypePci' referenced in section `.gnu.linkonce.r._Z12Cluster_readP14ClusterMachineiP12ContinuationP9MIOBufferP3URLP7HTTPHdrP21CacheLookupHttpConfigP7INK_MD5l13CacheFragTypePci' of ../iocore/cache/libinkcache.a(Cache.o): defined in discarded section `.gnu.linkonce.t._Z12Cluster_readP14ClusterMachineiP12ContinuationP9MIOBufferP3URLP7HTTPHdrP21CacheLookupHttpConfigP7INK_MD5l13CacheFragTypePci' of ../iocore/cache/libinkcache.a(Cache.o)



-----Original Message-----
From: Rob Maidment [mailto:Rob.Maidment@clearswift.com] 
Sent: 09 July 2010 17:04
To: dev@trafficserver.apache.org
Subject: linker problem "defined in discarded section"

Hello all, I hope someone can help.

I'm having problems building traffic server 2.0.0:


make[2]: Entering directory `/root/trafficserver/trafficserver-2.0.0/proxy'
/bin/sh ../libtool --tag=CXX   --mode=link g++  -g -pipe -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof  -march=i586 -rdynamic  -o traffic_server traffic_server-AbstractBuffer.o traffic_server-CacheControl.o traffic_server-CacheInspectorAllow.o traffic_server-Config.o traffic_server-ControlBase.o traffic_server-ControlMatcher.o traffic_server-CoreUtils.o traffic_server-DiagsConfig.o traffic_server-Error.o traffic_server-EventName.o traffic_server-ICP.o traffic_server-ICPConfig.o traffic_server-ICPProcessor.o traffic_server-ICPStats.o traffic_server-InkAPI.o traffic_server-InkAPITest.o traffic_server-InkIOCoreAPI.o traffic_server-InkXml.o traffic_server-IPAllow.o traffic_server-Main.o traffic_server-ParentSelection.o traffic_server-Plugin.o traffic_server-PluginDB.o traffic_server-PluginVC.o traffic_server-Prefetch.o traffic_server-ReverseProxy.o traffic_server-signals.o traffic_server-SocksProxy.o traffic_server-StatPages.o traffic_server-StatSystem.o traffic_server-TestHook.o traffic_server-Transform.o traffic_server-Update.o http2/libhttp.a congest/libCongestionControl.a dns_cache/libdnscache.a logging/liblogging.a stats/libstats.a hdrs/libhdrs.a mgmt2/preparse/libpreparse.a mgmt2/utils/libutils_p.a mgmt2/libmgmt_p.a ../iocore/utils/libinkutils.a ../iocore/cluster/libinkcluster.a ../iocore/dns/libinkdns.a ../iocore/hostdb/libinkhostdb.a ../iocore/dns/libinkdns.a ../iocore/cluster/libinkcluster.a ../iocore/cache/libinkcache.a ../iocore/aio/libinkaio.a ../iocore/net/libinknet.a ../iocore/eventsystem/libinkevent.a ../librecords/librecprocess.a ../iocore/eventsystem/libinkevent.a ../libinktomi++/libinktomi++.a -lpthread  -lnsl -lresolv -lrt -lpcre  -lsqlite3 -lssl -lcrypto -ltcl8.4 -ldl -lexpat
libtool: link: g++ -g -pipe -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof -march=i586 -rdynamic -o traffic_server traffic_server-AbstractBuffer.o traffic_server-CacheControl.o traffic_server-CacheInspectorAllow.o traffic_server-Config.o traffic_server-ControlBase.o traffic_server-ControlMatcher.o traffic_server-CoreUtils.o traffic_server-DiagsConfig.o traffic_server-Error.o traffic_server-EventName.o traffic_server-ICP.o traffic_server-ICPConfig.o traffic_server-ICPProcessor.o traffic_server-ICPStats.o traffic_server-InkAPI.o traffic_server-InkAPITest.o traffic_server-InkIOCoreAPI.o traffic_server-InkXml.o traffic_server-IPAllow.o traffic_server-Main.o traffic_server-ParentSelection.o traffic_server-Plugin.o traffic_server-PluginDB.o traffic_server-PluginVC.o traffic_server-Prefetch.o traffic_server-ReverseProxy.o traffic_server-signals.o traffic_server-SocksProxy.o traffic_server-StatPages.o traffic_server-StatSystem.o traffic_server-TestHook.o traffic_server-Transform.o traffic_server-Update.o  http2/libhttp.a congest/libCongestionControl.a dns_cache/libdnscache.a logging/liblogging.a stats/libstats.a hdrs/libhdrs.a mgmt2/preparse/libpreparse.a mgmt2/utils/libutils_p.a mgmt2/libmgmt_p.a ../iocore/utils/libinkutils.a ../iocore/hostdb/libinkhostdb.a ../iocore/dns/libinkdns.a ../iocore/cluster/libinkcluster.a ../iocore/cache/libinkcache.a ../iocore/aio/libinkaio.a ../iocore/net/libinknet.a ../librecords/librecprocess.a ../iocore/eventsystem/libinkevent.a ../libinktomi++/libinktomi++.a -lnsl -lresolv -lrt /usr/local/lib/libpcre.so /usr/local/lib/libsqlite3.so -lpthread -lssl -lcrypto -ltcl8.4 -ldl /usr/lib/libexpat.so
`.gnu.linkonce.t._Z12Cluster_readP14ClusterMachineiP12ContinuationP9MIOBufferP3URLP7HTTPHdrP21CacheLookupHttpConfigP7INK_MD5l13CacheFragTypePci' referenced in section `.gnu.linkonce.r._Z12Cluster_readP14ClusterMachineiP12ContinuationP9MIOBufferP3URLP7HTTPHdrP21CacheLookupHttpConfigP7INK_MD5l13CacheFragTypePci' of ../iocore/cache/libinkcache.a(Cache.o): defined in discarded section `.gnu.linkonce.t._Z12Cluster_readP14ClusterMachineiP12ContinuationP9MIOBufferP3URLP7HTTPHdrP21CacheLookupHttpConfigP7INK_MD5l13CacheFragTypePci' of ../iocore/cache/libinkcache.a(Cache.o)
collect2: ld returned 1 exit status
make[2]: *** [traffic_server] Error 1
make[2]: Leaving directory `/root/trafficserver/trafficserver-2.0.0/proxy'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/trafficserver/trafficserver-2.0.0/proxy'
make: *** [all-recursive] Error 1

You can see the compiler/linker version I'm using here:

# uname -r
2.6.32.7

# gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.4.0/configure --prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --disable-multilib --disable-bootstrap
Thread model: posix
gcc version 4.4.0 (GCC)

# ld -v
GNU ld version 2.15.91.0.2 20040727

# g++ -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.4.0/configure --prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --disable-multilib --disable-bootstrap
Thread model: posix
gcc version 4.4.0 (GCC)

Can anybody help?
thanks,
Rob Maidment




This e-mail and any files transmitted with it are strictly confidential, may be privileged and are intended only for use by the addressee unless otherwise indicated.  If you are not the intended recipient any use, dissemination, printing or copying is strictly prohibited and may be unlawful.  If you have received this e-mail in error, please delete it immediately and contact the sender as soon as possible.  Clearswift cannot be held liable for delays in receipt of an email or any errors in its content. Clearswift accepts no responsibility once an e-mail and any attachments leave us. Unless expressly stated, opinions in this message are those of the individual sender and not of Clearswift.

This email message has been inspected by Clearswift for inappropriate content and security threats. 

To find out more about Clearswift’s solutions please visit www.clearswift.com

------------------------------------------------------------------------
Message Processed by the MIMEsweeper TM SMTP Appliance