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: Other Features Wishlist and/or Bugs » IDE build using gcc failed
IDE build using gcc failed [message #55790] Mon, 14 December 2020 11:05 Go to next message
coolman is currently offline  coolman
Messages: 114
Registered: April 2006
Location: Czech Republic
Experienced Member
Hi,

When I tried to build TheIDE using gcc I got this error:
Linking...
/usr/bin/ld: .cache/upp.out/uppsrc/Esc/GCC.Blitz.Gui.Shared/Esc$blitz.o: undefined reference to symbol 'exp@@GLIBC_2.29'
/usr/bin/ld: /lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status


But it works when using clang. Could you help me to solve this problem?

Ubuntu 20.04
gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Re: IDE build using gcc failed [message #55791 is a reply to message #55790] Mon, 14 December 2020 17:35 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
https://askubuntu.com/questions/527665/undefined-reference-t o-symbol-expglibc-2-2-5

Maybe it would like some more libs?
Re: IDE build using gcc failed [message #55792 is a reply to message #55791] Mon, 14 December 2020 19:07 Go to previous messageGo to next message
coolman is currently offline  coolman
Messages: 114
Registered: April 2006
Location: Czech Republic
Experienced Member
Hi,

I tried to add other libraries, but it didn't help.

But when I'm bulding TheIDE using upp_cmake build script, and gcc is used for building the binary, build is successfull. I have a problem using internal TheIDE build to build TheIDE binary using gcc (9.3 or 10.2)

BR, Radek
Re: IDE build using gcc failed [message #55802 is a reply to message #55792] Tue, 15 December 2020 14:53 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Is it 64 bit system?

I have just tried with:

gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

and "it works".

Mirek
Re: IDE build using gcc failed [message #55803 is a reply to message #55802] Tue, 15 December 2020 15:18 Go to previous messageGo to next message
coolman is currently offline  coolman
Messages: 114
Registered: April 2006
Location: Czech Republic
Experienced Member
Yes, it is 64bit system. That's why it's weird.

Linux ul001998 5.4.0-58-generic #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

So it looks like I have wrong settings for gcc build method. Is there a possibility to reset the build method setting to "default" for particular compiler?

Radek
Re: IDE build using gcc failed [message #55805 is a reply to message #55803] Tue, 15 December 2020 17:05 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
coolman wrote on Tue, 15 December 2020 15:18
Yes, it is 64bit system. That's why it's weird.

Linux ul001998 5.4.0-58-generic #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

So it looks like I have wrong settings for gcc build method. Is there a possibility to reset the build method setting to "default" for particular compiler?

Radek


Delete or rename the configuration folder for theide. I guess it is better to rename, so that you can the copy just the .bm file.

Mirek
Re: IDE build using gcc failed [message #55807 is a reply to message #55805] Tue, 15 December 2020 20:11 Go to previous messageGo to next message
coolman is currently offline  coolman
Messages: 114
Registered: April 2006
Location: Czech Republic
Experienced Member
Quote:


Delete or rename the configuration folder for theide. I guess it is better to rename, so that you can the copy just the .bm file.

Mirek


This helped, Thank you
Re: IDE build using gcc failed [message #55841 is a reply to message #55807] Mon, 21 December 2020 08:53 Go to previous message
pvictor is currently offline  pvictor
Messages: 67
Registered: December 2015
Member
Hello.
A typo in CtrlLib/ChGtk3.cpp:309
		tooltip_paper = IsDark(SColorText()) ? LtYellow() : GrayColor(79);.

Best regards.
Victor
Previous Topic: Help regression and possible improvements in the latest builds
Next Topic: Some keyword that give nothing in documentation
Goto Forum:
  


Current Time: Fri Mar 29 00:51:23 CET 2024

Total time taken to generate the page: 0.02279 seconds