This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Makefile, libs and linkage


I'm trying to compile HEYU, a Unix/Linux program that talks to
a CM11-A interface ( the infamous ) X-10 controlers. I have
.../crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2 that came with the
ARM-9 SBC. ------------
Make & Makefiles - I've searched the web - found squat. Any words?
-------------
By using .../bin/arm-linux-gcc I've been able to do "-c [files].c" and now
I have 10 dot-O files and when I try gcc file1.o file2.o..... I get:
sun.o(.text+0x164): In function `suntimes':
: undefined reference to `sin'
sun.o(.text+0x18c): In function `suntimes':
: undefined reference to `cos'


and no executable  :-(   I don't know how to construct the gcc line to
include .... hmmm what do I include? link in? ( thats a cry for help )

Thanks

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]