[so] Tema 1 - VMchecker
Andrei Pârvu
andrei.prv at gmail.com
Mon Mar 18 20:50:36 EET 2013
2013/3/18 Vlad Dogaru <ddvlad at herebedragons.ro>
> On 3/18/2013 8:45 PM, Andrei S. wrote:
> > Salut,
> >
> > Dupa ce urc tema si ma uit la rezultate imi apare eroare urmatoare :
> >
> > gcc -g -Wall main.o utils-lin.o parser.tab.o parser.yy.o -o mini-shell
> > /usr/bin/ld: i386:x86-64 architecture of input file `parser.tab.o' is
> incompatible with i386 output
> > /usr/bin/ld: i386:x86-64 architecture of input file `parser.yy.o' is
> incompatible with i386 output
> > /usr/bin/ld: final link failed: Invalid operation
> > collect2: ld returned 1 exit status
> > make: *** [mini-shell] Error 1
> > checker: building failed
>
Nu poti trimite fisierele obiect ale parserului in arhiva - ele sunt facute
pentru arhitectura calculatorului tau, atunci cand ai compilat.
In schimb, ataseaza sursele parserului, si compileaza-le cand compilezi si
sursele tale.
Andrei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20130318/dbd071c3/attachment.html>
More information about the so
mailing list