Welcome, Guest
Username: Password: Remember me
CodeTyphon Cross-Build Development, discussions and problems
  • Page:
  • 1

TOPIC:

i want cross build for cubietruck 9 years 9 months ago #5703

  • trashtong
  • trashtong's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
i have a cubietruck ( en.wikipedia.org/wiki/Cubieboard ) : os is cubiuntu based ubuntu
and im win7-win32 user on my desktop.
but i don't know how to setup configure Typhon.

i tried that
1. download toolchain "win32-armeb-linux--hardfloat"
2. fpc32 build cross element armeb-linux--hardfloat
3. tried to download library, but there is only arm-linux-pi for raspberrypi. it's not for cubietruck
4. i select target platform to linux, target cpu family to arm, target process to armv7.

default project compile result is

Compile Project: Exit code 1, Errors:1, Warnings:4
project1.lpr(22,0) Warning: "crti.o" not found, this will probably cause a linking failure
project1.lpr(22,0) Warning: "crtbegin.o" not found, this will probably cause a linking failure
project1.lpr(22,0) Warning: "crtend.o" not found, this will probably cause a linking failure
project1.lpr(22,0) Warning: "crtn.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: (9034) "crti.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: (9034) "crtbegin.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: (9034) "crtend.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: (9034) "crtn.o" not found, this will probably cause a linking failure
c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: warning: link.res contains output sections; did you forget -T?
c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: cannot find -ldl
c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: cannot find -lpthread
c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: cannot find -lX11
c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: cannot find -lgdk_pixbuf-2.0
c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: cannot find -lgtk-x11-2.0
c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: cannot find -lgdk-x11-2.0
c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: cannot find -lgobject-2.0
c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: cannot find -lglib-2.0
c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: cannot find -lgthread-2.0
c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: cannot find -lgmodule-2.0
c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: cannot find -lpango-1.0
c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: cannot find -lcairo
c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: cannot find -latk-1.0
c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: cannot find -lc
project1.lpr(22,0) Error: Error while linking


how can i get BinLibrary for arm-linux-cubietruck like arm-linux-pi.7z.
can pilotlogic upload it?

i don't know how to gather "so" files even i have a cubietruck.

if pilotlogic can't upload file, i'll try gather "so" files.

I need someone's assistance.

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

Last edit: by trashtong.

i want cross build for cubietruck 9 years 9 months ago #5726

  • Alfred
  • Alfred's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 5
You just have to copy the libraries needed from your /usr/lib directory into a directory where CT can find them !
It is some work, but you will succeed in the end. I have done the same for RPi and BeagleBone Black. With success !!

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

i want cross build for cubietruck 9 years 7 months ago #5916

  • David
  • David's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 3
Hi

same problem, under aruntu / cubiuntu (ubuntu 13)
I did copy all libraries from usr / lib, and and much more libraries, but same problem when crosscompiling,

No problem using rasp-pi libraries, but compiled binaries not work under cubietruck + ubuntu13.

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

Last edit: by David.

i want cross build for cubietruck 9 years 7 months ago #5918

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Sir
you must copy and rename the last original libraries NOT links to Libraries
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: David

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

i want cross build for cubietruck 9 years 7 months ago #5922

  • David
  • David's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 3
Thanks Sr. !! ,
was logic, simbolik links are now libs,

i think that now i have all libraries
But now when crosscompile return too much errors EABI version
Using ct 4.8
how can i solve this ?.


Hint: Start of reading config file C:\codetyphon\fpc\bin\x86_64-win64\fpc.cfg
Hint: End of reading config file C:\codetyphon\fpc\bin\x86_64-win64\fpc.cfg
Free Pascal Compiler version 2.7.1 [2014/06/25] for arm
Copyright (c) 1993-2014 by Florian Klaempfl and others
Target OS: Linux for ARMEL
Compiling C:\codetyphon\typhonTemp\project1.lpr
Compiling unit1.pas
Assembling unit1
Assembling project1
Compiling resource lib\arm-linux\project1.or
Linking C:\codetyphon\typhonTemp\project1
project1.lpr(22) Warning: "crtbegin.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: "crtend.o" not found, this will probably cause a linking failure
c:\codetyphon\fpc\bin\x86_64-win64\arm-linux-ld.exe: warning: link.res contains output sections; did you forget -T?
c:\codetyphon\fpc\bin\x86_64-win64\arm-linux-ld.exe: error: Source object C:\codetyphon\typhonTemp\lib\arm-linux\project1.o has EABI version 0, but target C:\codetyphon\typhonTemp\project1 has EABI version 5
c:\codetyphon\fpc\bin\x86_64-win64\arm-linux-ld.exe: failed to merge target specific data of file C:\codetyphon\typhonTemp\lib\arm-linux\project1.o
c:\codetyphon\fpc\bin\x86_64-win64\arm-linux-ld.exe: error: Source object C:\codetyphon\fpc\units\arm-linux\rtl\system.o has EABI version 0, but target C:\codetyphon\typhonTemp\project1 has EABI version 5
c:\codetyphon\fpc\bin\x86_64-win64\arm-linux-ld.exe: failed to merge target specific data of file C:\codetyphon\fpc\units\arm-linux\rtl\system.o
c:\codetyphon\fpc\bin\x86_64-win64\arm-linux-ld.exe: error: Source object C:\codetyphon\fpc\units\arm-linux\rtl\lineinfo.o has EABI version 0, but target C:\codetyphon\typhonTemp\project1 has EABI version 5
c:\codetyphon\fpc\bin\x86_64-win64\arm-linux-ld.exe: failed to merge target specific data of file C:\codetyphon\fpc\units\arm-linux\rtl\lineinfo.o
c:\codetyphon\fpc\bin\x86_64-win64\arm-linux-ld.exe: failed to merge target specific data of file C:\codetyphon\typhon\lcl\units\arm-linux\gtk2\gtk2listviewtreemodel.o
.
..
....
project1.lpr(22) Error: Error while linking
project1.lpr(22) Fatal: There were 1 errors compiling module, stopping

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

i want cross build for cubietruck 9 years 7 months ago #5923

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
My suggestion
1. download toolchain "win32-arm-linux--eabi5.7z"
2. fpc32 build cross element arm-linux--eabi5
and try again

PS1: Do you have libraries from cubiuntu ?
PS2: I you want, we can work together to make "CT cross for Cubieboard" possible...
I can give 2 programmers for this task, now
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: David

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

Last edit: by Sternas Stefanos.

i want cross build for cubietruck 9 years 7 months ago #5926

  • David
  • David's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 3
Yes Sr
Downloaded win32-arm-linux--eabi5.7z ,
and fpc32 crossbuild arm-linux--eabi5 done , but same errors when crosscompiling
testing under win8.1 win64 , but just in case i will be test under win32 win7.

I uploaded all cubieboard libs to google drive , drive.google.com/file/d/0Bw7tdxYw_to3TlN...dTA/edit?usp=sharing , (there are much libs that can be deleted, becouse some are renamed and others are unnecesary, but now i'ts better have all).
Let me know if you need something more.

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

i want cross build for cubietruck 9 years 7 months ago #5927

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Thanks Sir
we working on this, give us time...
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: universe

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

Last edit: by Sternas Stefanos.

i want cross build for cubietruck 9 years 7 months ago #5953

  • universe
  • universe's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 122
  • Thank you received: 8
Hello, I've been trying to compile to AllWinner - A13 SBC (Olinuxino-A13-WIFI) from Ubuntu using CT and I ended up with the same issue
Source object project1.o has EABI version 0, but target project1 has EABI version 5
So I just uploaded the libs it could be helpful for your tests, it will work after you will succeed to compile to the CubieBoard (AllWinner-A10/A20)
A13-ARM-Linux-Libs
If you could share Linux32-arm-linux--eabi5 then I'll try to recompile CT/FPC-arm and test by myself.
Thanks for your time

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

i want cross build for cubietruck 9 years 7 months ago #5957

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Sir thanks for Libraries

we working now in our lab with
arm_linux_BeagleBoard
arm_linux_Cubieboard
arm_linux_RapberryPi

all are the same with lin32-arm-linux--eabihf.7z (is in our Web ChainTools Library)

Please, give us time to find the properer way...

PS: our cross script for arm-linux--eabihf
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: feverkim

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

Last edit: by Sternas Stefanos.

i want cross build for cubietruck 9 years 7 months ago #5964

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Sir, the OS from you get these Libraries?
PilotLogic Architect and Core Programmer

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

i want cross build for cubietruck 9 years 7 months ago #5967

  • universe
  • universe's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 122
  • Thank you received: 8
Hello, it's Debian.
Thanks

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

i want cross build for cubietruck 9 years 7 months ago #5968

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Thanks Sir.
PilotLogic Architect and Core Programmer

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

i want cross build for cubietruck 9 years 7 months ago #5982

  • feverkim
  • feverkim's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
arm_linux_Cubieboard ,so i just wait for the cubieboard cross-compile libs, THANKS

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

i want cross build for cubietruck 9 years 7 months ago #5983

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Sir
this is our new Lab task
We will release all cross-build thinks
with CT Lab Revision 005010 with new FPC directory structure and updated OS Scripts

For Cubieboard and BeagleBoard we want testers
for Rapberry Pi we have QEMU installation with the latest wheezy-raspbian and MATE desktop
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: David

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

i want cross build for cubietruck 9 years 7 months ago #5986

  • David
  • David's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 3
Sir.
Let me know when you need something to test on cubieboard.

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

i want cross build for cubietruck 9 years 7 months ago #5987

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Thanks Sir, we want help on this arm-linux Task
we prepare CT Lab Revision 005010 for Public tests
ETA 2-3 days
PilotLogic Architect and Core Programmer

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

i want cross build for cubietruck 9 years 7 months ago #5988

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
And a screen from our
lab tests

CT CrossBuild WorkStation on Fedora 20 64 MultiArch
PilotLogic Architect and Core Programmer

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

i want cross build for cubietruck 7 years 1 month ago #10574

  • Alex John
  • Alex John's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Hello, I've been trying to compile to Graperain-6818-SBC from Ubuntu using CT and I ended up with the same issue
Source object project1.o has EABI version 0, but target project1 has EABI version 5
So I just uploaded the libs it could be helpful for your tests, it will work after you will succeed to compile to the CubieBoard

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

Last edit: by Alex John.
  • Page:
  • 1