Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » A trouble with "All static" linking on Linux
Re: A trouble with "All static" linking on Linux [message #9835 is a reply to message #9832] Fri, 01 June 2007 16:05 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1215
Registered: March 2006
Location: Italy
Senior Contributor
trustmaster wrote on Fri, 01 June 2007 15:04

I've encountered following problems when trying to do a Release build with GCC:
Quote:

Linking...
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-lin ux-gnu/bin/ld: cannot find -lgtk-x11-2.0
collect2: running ld finished with error code 1

There were errors. (2:56.77)

It links neither in BLITZ nor in non-BLITZ mode. But when I switched Link mode to "Use shared libs", it linked properly. So it looks like a bug in the U++ make process which passes a wrong linker option (-lgtk-x11-2.0) or breaks the ld syntax when performing all-static linking.


If I remind, for some reason in linux you can use only shared libs mode. Only in windows you can switch to all static.

Luigi
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Meaning of BUGLOG
Next Topic: Mixing C and C++ files (windows with MinGW compiler)
Goto Forum:
  


Current Time: Tue Aug 26 01:36:37 CEST 2025

Total time taken to generate the page: 0.07964 seconds