Pagina 1 di 1

13.37 x64 libm.a/libc.a problema con avr-gcc [SOLVED]

Inviato: mer lug 13, 2011 12:07
da y33t
Ciao a tutti,

Ho un pieno installare Slackware 13,37 x64 e sto cercando di fare
Arduino lavoro. Sto ricevendo il seguente errore quando provo a
compilare il codice;

/ usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatibili
/ usr/lib/gcc/avr/4.4.4/../../../../avr/lib/avr5/libm.a durante la ricerca
per-lm
/ usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatibili
/ usr/lib/gcc/avr/4.4.4/../../../../avr/lib/libm.a durante la ricerca di
-lm
/ usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: cannot find-lm
/ usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatibili
/ usr/lib/gcc/avr/4.4.4/avr5/libgcc.a durante la ricerca di-lgcc
/ usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatibili
/ usr/lib/gcc/avr/4.4.4/libgcc.a durante la ricerca di-lgcc
/ usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: cannot find-lgcc
/ usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatibili
/ usr/lib/gcc/avr/4.4.4/../../../../avr/lib/avr5/libc.a durante la ricerca
per-lc
/ usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatibili
/ usr/lib/gcc/avr/4.4.4/../../../../avr/lib/libc.a durante la ricerca di
-lc
/ usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: cannot find-lc
/ usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatibili
/ usr/lib/gcc/avr/4.4.4/avr5/libgcc.a durante la ricerca di-lgcc
/ usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatibili
/ usr/lib/gcc/avr/4.4.4/libgcc.a durante la ricerca di-lgcc
/ usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: cannot find-lgcc

Ho ricontrollato tutto quello che ho fatto in procedura di installazione, questo errore
non dovrebbe esiste a mio parere. I file sono lì, ma avr-gcc non
sembra di riconoscerli. Gradirei se gli utenti esperti possono
fornire qualche informazione su questo.

Buona giornata

Re: 13.37 x64 libm.a/libc.a problema con avr-gcc

Inviato: mer lug 13, 2011 12:20
da Vito
Lo provo appena ho tempo,purtroppo avendo un bel po' di impegni non ho avuto modo di testare per bene questi pacchetti.
P.S. Sul forum è ammesso l'uso dell'inglese (speak english is allowed)

Re: 13.37 x64 libm.a/libc.a problema con avr-gcc

Inviato: mer lug 13, 2011 12:32
da y33t
Oh, ok then.

I had the exact same problem with same packages on 13.1 x64 as well. All the packages are from slacky.eu and for the specific os I am working in. There shouldn't be any problem it's an easy task. Anyone using Arduino on 64bit Slack ? (I suspect the problem is about multilib incompatibility but just a hunch)

Re: 13.37 x64 libm.a/libc.a problema con avr-gcc

Inviato: mer lug 13, 2011 12:37
da Vito
I use Arduino on Slackware64,and I'm the author of these packages (so "mea culpa").
I'll test them on my machine and I will give you an answer.

Re: 13.37 x64 libm.a/libc.a problema con avr-gcc

Inviato: mer lug 13, 2011 12:53
da Vito
I probably found the problem.
I've missed to add some lines of code in the Slackbuild.
I will fix it immediately.

Re: 13.37 x64 libm.a/libc.a problema con avr-gcc

Inviato: mer lug 13, 2011 13:07
da y33t
That was quick, how did you spot the problem would you mind sharing your approach ?

Re: 13.37 x64 libm.a/libc.a problema con avr-gcc

Inviato: mer lug 13, 2011 13:10
da Vito
First I checked the Slackbuild of avr-gcc that I've written.
So I found the missing lines.
Now I'm rebuilding avr-gcc and avr-libc.
Thank a lot for the segnalation.
I will upload (and test) soon the new packages.

Re: 13.37 x64 libm.a/libc.a problema con avr-gcc

Inviato: mer lug 13, 2011 16:23
da y33t
Ok I am checking the repository each hour periodically.

Thank you for your efforts, you really saved me a lot of trouble.

Re: 13.37 x64 libm.a/libc.a problema con avr-gcc

Inviato: mer lug 13, 2011 16:41
da Vito
Unfortunately I can't upload it,until tomorrow evening.Tomorrow I have a really important exam.
Be patient,when i'll solve the problem and upload the packages,I'll notice you.

Re: 13.37 x64 libm.a/libc.a problema con avr-gcc

Inviato: mer lug 13, 2011 16:54
da y33t
That's fine np, good luck with your exam.

Re: 13.37 x64 libm.a/libc.a problema con avr-gcc

Inviato: ven lug 15, 2011 15:45
da Vito
I've corrected the packages and uploaded it. (avr-binutils , avr-gcc and avr-libc)
they will be available on our repository soon (maybe 1-2 days).
Test them and tell me if they work fine.
I've tested them on the machine that I use for the packaging and I didn't have any problem.
I didn't test avrdude yet,so if you can try it, I will be very pleased.
Thanks for the segnalation. :thumbright:

Re: 13.37 x64 libm.a/libc.a problema con avr-gcc

Inviato: ven lug 15, 2011 16:43
da y33t
There seems to be uploaded files are in repository now, didn't you upload them ?

[DIR] avr-binutils/ 15-Jul-2011 16:18 -
[DIR] avr-gcc/ 15-Jul-2011 16:18 -

If you confirm that these are the ones, I will test them all and get back to you.

Re: 13.37 x64 libm.a/libc.a problema con avr-gcc

Inviato: ven lug 15, 2011 17:05
da y33t
It worked like a charm, all of them including avr-dude. You rock mate, I will stick around to learn from you.

Cheers!

Re: 13.37 x64 libm.a/libc.a problema con avr-gcc

Inviato: ven lug 15, 2011 17:07
da Vito
You missed avr-libc.
Yes they are.
I upgraded gcc to 4.5.3 (same of SBo)
and added a +1 to build version of avr-binutils and avr-libc.


EDIT: I'm glad that they work fine :thumbright:
Don't be afraid to open a thread if you'll have any kind of problem with Slackware.
We allows the use of English Language, and we will pleased to help you!

Have Fun!


P.S. I added [SOLVED] to the thread name.