gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gm2] Can't compile


From: Anton Kazanov
Subject: [Gm2] Can't compile
Date: Fri, 9 Dec 2011 14:16:12 +0600

Thanks for reply

I tried
# gm2 -o nod -flibs=logitech,pim nod.mod

and have the following:
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
collect2: ld returned 1 exit status

So, the previous problem (missing libs) is solved.
And there is another...

Ater the search, I find workaround (this happens on debian-like distro
with gcc-4.6):
http://gcc.gnu.org/ml/gcc/2011-07/msg00018.html

"So the multilib f**kup finally reached testing ... I ended up adding symlinks
to /usr/lib which is where ld expects the files."

# cd /usr/lib
# ln -sv /usr/lib/x86_64-linux-gnu/crti.o crti.o
# ln -sv /usr/lib/x86_64-linux-gnu/crt1.o crt1.o
# ln -sv /usr/lib/x86_64-linux-gnu/crtn.o crtn.o

And it works flawlessly )

Regards,
Anton



reply via email to

[Prev in Thread] Current Thread [Next in Thread]