Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

[Bug] Building typhon v8.70 in normal mode with LD bug for QT5/6 1 day 7 hours ago #19083

  • Libaud
  • Libaud's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 0
Building Typhon in nomal mode (QT5) on Linux Mint 22 does not correctly operate. There's LD error messages :

(9015) Linking ../typhon
/usr/bin/ld.bfd: /usr/local/codetyphon/typhon/components/ca_libQT5/lib/x86_64-linux/qt6/qt5.o: in function `COPYCHARSTOPANSISTRING':
/usr/local/codetyphon/typhon/components/ca_libQT5//source/qt5.pas:15701: multiple definition of `CopyCharsToPAnsiString'; /usr/local/codetyphon/typhon/components/ca_libQT6/lib/x86_64-linux/qt6/qt6.o:/usr/local/codetyphon/typhon/components/ca_libQT6//source/qt6.pas:15636: first defined here
/usr/bin/ld.bfd: /usr/local/codetyphon/typhon/components/ca_libQT5/lib/x86_64-linux/qt6/qt5.o: in function `CHARSOFPANSISTRING':
/usr/local/codetyphon/typhon/components/ca_libQT5//source/qt5.pas:15706: multiple definition of `CharsOfPAnsiString'; /usr/local/codetyphon/typhon/components/ca_libQT6/lib/x86_64-linux/qt6/qt6.o:/usr/local/codetyphon/typhon/components/ca_libQT6//source/qt6.pas:15641: first defined here
/usr/bin/ld.bfd: /usr/local/codetyphon/typhon/components/ca_libQT5/lib/x86_64-linux/qt6/qt5.o: in function `INITPANSISTRING':
/usr/local/codetyphon/typhon/components/ca_libQT5//source/qt5.pas:15711: multiple definition of `InitPAnsiString'; /usr/local/codetyphon/typhon/components/ca_libQT6/lib/x86_64-linux/qt6/qt6.o:/usr/local/codetyphon/typhon/components/ca_libQT6//source/qt6.pas:15646: first defined here
/usr/bin/ld.bfd: /usr/local/codetyphon/typhon/components/ca_libQT5/lib/x86_64-linux/qt6/qt5.o: in function `FINALPANSISTRING':
/usr/local/codetyphon/typhon/components/ca_libQT5//source/qt5.pas:15716: multiple definition of `FinalPAnsiString'; /usr/local/codetyphon/typhon/components/ca_libQT6/lib/x86_64-linux/qt6/qt6.o:/usr/local/codetyphon/typhon/components/ca_libQT6//source/qt6.pas:15651: first defined here
/usr/bin/ld.bfd: /usr/local/codetyphon/typhon/components/ca_libQT5/lib/x86_64-linux/qt6/qt5.o: in function `COPYUNICODETOPWIDESTRING':
/usr/local/codetyphon/typhon/components/ca_libQT5//source/qt5.pas:15722: multiple definition of `CopyUnicodeToPWideString'; /usr/local/codetyphon/typhon/components/ca_libQT6/lib/x86_64-linux/qt6/qt6.o:/usr/local/codetyphon/typhon/components/ca_libQT6//source/qt6.pas:15657: first defined here
/usr/bin/ld.bfd: /usr/local/codetyphon/typhon/components/ca_libQT5/lib/x86_64-linux/qt6/qt5.o: in function `UNICODEOFPWIDESTRING':
/usr/local/codetyphon/typhon/components/ca_libQT5//source/qt5.pas:15730: multiple definition of `UnicodeOfPWideString'; /usr/local/codetyphon/typhon/components/ca_libQT6/lib/x86_64-linux/qt6/qt6.o:/usr/local/codetyphon/typhon/components/ca_libQT6//source/qt6.pas:15665: first defined here
/usr/bin/ld.bfd: /usr/local/codetyphon/typhon/components/ca_libQT5/lib/x86_64-linux/qt6/qt5.o: in function `LENGTHOFPWIDESTRING':
/usr/local/codetyphon/typhon/components/ca_libQT5//source/qt5.pas:15738: multiple definition of `LengthOfPWideString'; /usr/local/codetyphon/typhon/components/ca_libQT6/lib/x86_64-linux/qt6/qt6.o:/usr/local/codetyphon/typhon/components/ca_libQT6//source/qt6.pas:15673: first defined here
/usr/bin/ld.bfd: /usr/local/codetyphon/typhon/components/ca_libQT5/lib/x86_64-linux/qt6/qt5.o: in function `INITPWIDESTRING':
/usr/local/codetyphon/typhon/components/ca_libQT5//source/qt5.pas:15746: multiple definition of `InitPWideString'; /usr/local/codetyphon/typhon/components/ca_libQT6/lib/x86_64-linux/qt6/qt6.o:/usr/local/codetyphon/typhon/components/ca_libQT6//source/qt6.pas:15681: first defined here
/usr/bin/ld.bfd: /usr/local/codetyphon/typhon/components/ca_libQT5/lib/x86_64-linux/qt6/qt5.o: in function `FINALPWIDESTRING':
/usr/local/codetyphon/typhon/components/ca_libQT5//source/qt5.pas:15751: multiple definition of `FinalPWideString'; /usr/local/codetyphon/typhon/components/ca_libQT6/lib/x86_64-linux/qt6/qt6.o:/usr/local/codetyphon/typhon/components/ca_libQT6//source/qt6.pas:15686: first defined here
/usr/bin/ld.bfd: /usr/local/codetyphon/typhon/components/ca_libQT5/lib/x86_64-linux/qt6/qt5.o: in function `GETPTRINTARRAYADDR':
/usr/local/codetyphon/typhon/components/ca_libQT5//source/qt5.pas:15758: multiple definition of `GetPtrIntArrayAddr'; /usr/local/codetyphon/typhon/components/ca_libQT6/lib/x86_64-linux/qt6/qt6.o:/usr/local/codetyphon/typhon/components/ca_libQT6//source/qt6.pas:15693: first defined here
/usr/bin/ld.bfd: /usr/local/codetyphon/typhon/components/ca_libQT5/lib/x86_64-linux/qt6/qt5.o: in function `GETPTRINTARRAYLENGTH':
/usr/local/codetyphon/typhon/components/ca_libQT5//source/qt5.pas:15763: multiple definition of `GetPtrIntArrayLength'; /usr/local/codetyphon/typhon/components/ca_libQT6/lib/x86_64-linux/qt6/qt6.o:/usr/local/codetyphon/typhon/components/ca_libQT6//source/qt6.pas:15698: first defined here
/usr/bin/ld.bfd: /usr/local/codetyphon/typhon/components/ca_libQT5/lib/x86_64-linux/qt6/qt5.o: in function `SETPTRINTARRAYLENGTH':
/usr/local/codetyphon/typhon/components/ca_libQT5//source/qt5.pas:15768: multiple definition of `SetPtrIntArrayLength'; /usr/local/codetyphon/typhon/components/ca_libQT6/lib/x86_64-linux/qt6/qt6.o:/usr/local/codetyphon/typhon/components/ca_libQT6//source/qt6.pas:15703: first defined here
/usr/bin/ld.bfd: /usr/local/codetyphon/typhon/components/ca_libQT5/lib/x86_64-linux/qt6/qt5.o: in function `GETQREALARRAYADDR':
/usr/local/codetyphon/typhon/components/ca_libQT5//source/qt5.pas:15774: multiple definition of `GetQRealArrayAddr'; /usr/local/codetyphon/typhon/components/ca_libQT6/lib/x86_64-linux/qt6/qt6.o:/usr/local/codetyphon/typhon/components/ca_libQT6//source/qt6.pas:15709: first defined here
/usr/bin/ld.bfd: /usr/local/codetyphon/typhon/components/ca_libQT5/lib/x86_64-linux/qt6/qt5.o: in function `GETQREALARRAYLENGTH':
/usr/local/codetyphon/typhon/components/ca_libQT5//source/qt5.pas:15779: multiple definition of `GetQRealArrayLength'; /usr/local/codetyphon/typhon/components/ca_libQT6/lib/x86_64-linux/qt6/qt6.o:/usr/local/codetyphon/typhon/components/ca_libQT6//source/qt6.pas:15714: first defined here
/usr/bin/ld.bfd: /usr/local/codetyphon/typhon/components/ca_libQT5/lib/x86_64-linux/qt6/qt5.o: in function `SETQREALARRAYLENGTH':
/usr/local/codetyphon/typhon/components/ca_libQT5//source/qt5.pas:15784: multiple definition of `SetQRealArrayLength'; /usr/local/codetyphon/typhon/components/ca_libQT6/lib/x86_64-linux/qt6/qt6.o:/usr/local/codetyphon/typhon/components/ca_libQT6//source/qt6.pas:15719: first defined here
/usr/local/codetyphon/typhon/ide/typhon.pp(140,1) Error: (9013) Error while linking
/usr/local/codetyphon/typhon/ide/typhon.pp(140,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted

Install and rebuild process from CT Center working correctly. But it's not easy, because we couldn't install external components for exemple.
Thanks
Frédéric Libaud, Digital Expert

Please Log in or Create an account to join the conversation.

[Bug] Building typhon v8.70 in normal mode with LD bug for QT5/6 1 day 4 hours ago #19084

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1245
  • Thank you received: 192
Please, give us more info
-OS
-Desktop
-etc

OR
use  CTCenter

 
PilotLogic Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..

[Bug] Building typhon v8.70 in normal mode with LD bug for QT5/6 5 hours 2 minutes ago #19085

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4570
  • Thank you received: 1124
Sir
We build LAB CT on  latest LinuxMint 22.1 with MATE desktop.

We don't find any problem on TyphonIDE rebuild for QT5 platform.

The errors in your post are from TyphonIDE rebuild for QT6.

Qt6Pas library in CT 8,70 and LAB CT 8.80 build on Fedora 36 with QT6 ver 6.62.

LinuxMint 22.1 has OLD QT6 ver 6.4.2.

Always, you can Build Qt6Pas library on LinuxMint with CTCenter (30-60 minutes).
In this case you can build and TyphonIDE for QT6 and rebuild TyphonIDE without problem. 

And some screens from our test...


 



 
PilotLogic Architect and Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.
  • Page:
  • 1