Build environment does not work for me

  • rbe2012
  • rbe2012's Avatar Topic Author
  • Offline
  • So much to do, so little time...
More
27 Sep 2012 11:04 #1838 by rbe2012
Hello,
I am a newbie in building a building environment for linux. I know linux quite well, but it was never neccessary to use compiler, linker and so on.
I tried the steps described on PracturedBlue's BitBucket-Deviation-site and I ended up with a working environment, but always an error message stops the process:
...
 + Building 'devo8.elf'
/home/NAME/sat/lib64/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/libopencm3_stm32f1.a(vector.o): In function `reset_handler':
/home/NAME/summon-arm-toolchain-source/esden-summon-arm-toolchain-19eb747/libopencm3/lib/stm32/f1/vector.c:207: undefined reference to `_data_loadaddr'
collect2: ld returned 1 exit status
make: *** [devo8.elf] Fehler 1
I reproduced this with WinXP and MinGW, OpenSuSE 12.1 and 12.2.
Now I do not know if there is missing something in my environment or if I did something wrong while installing.
I tried to build the last version from bitbucket what is version 448df70e6788 and version 8d606b524971 with no change.
Can anyone help me to fix this?

Greetings
rbe2012

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

More
27 Sep 2012 14:43 #1842 by suvsuv
Replied by suvsuv on topic Build environment does not work for me
I encountered same issue before, here is the anwer
www.deviationtx.com/forum/6-general-disc...h-the-latest-opencm3

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

More
27 Sep 2012 18:27 #1849 by PhracturedBlue
Replied by PhracturedBlue on topic Build environment does not work for me
Sorry, I missed this as I've been busy and unable to spend much time on Deviation. Generally, filing a ticket on bitbucket will get more prompt attention for things like this.

I'll look into it and figure out what is wrong.

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

  • rbe2012
  • rbe2012's Avatar Topic Author
  • Offline
  • So much to do, so little time...
More
27 Sep 2012 18:53 - 28 Sep 2012 05:11 #1851 by rbe2012
Replied by rbe2012 on topic Build environment does not work for me
Yes, it does!
Thank you suvsuv for sharing your knowledge.

Hint for anyone who uses the summon-arm-toolchain: in the main script in line 147 + 148 there are two variables used for libopencm3. I set them to
LIBOPENCM3=libopencm3
LIBOPENCM3_GIT=83d62e9bfc79e03737c2f1977004bef6e6e20562
to get the working version.

I just saw PhracturedBlue's answer while using the preview. Maybe you should put a hint for the libopencm3-version on your bitbucket-mainpage.
I will try to examine (at the weekend) what else could be done to use the current libopencm3. Maybe the new linker variable (commit 74cd991e7e8972cf22933743c847b5ce2b165798 of libopencm3) is the reason.

Thanks again to everyone.

Greetings
rbe2012
Last edit: 28 Sep 2012 05:11 by rbe2012.

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

  • rbe2012
  • rbe2012's Avatar Topic Author
  • Offline
  • So much to do, so little time...
More
28 Sep 2012 10:04 #1854 by rbe2012
Replied by rbe2012 on topic Build environment does not work for me
Opened bitbucket-bug #51
Suggested solution: adding variable definition in linker scripts

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

More
29 Sep 2012 19:09 #1877 by PhracturedBlue
Replied by PhracturedBlue on topic Build environment does not work for me
Thanks, I've applied the fix. The fix you suggested was the right one.

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

Time to create page: 0.034 seconds
Powered by Kunena Forum