Re: undefined reference to

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

 



 On 8/24/2010 11:55 PM, jmchu@xxxxxxx wrote:
Hi,
I am running Cygwin on Windows 7 and I am trying to compile a c file that
has uses a function from a c++ file.
........
I think the linker does not know where to look for my wireless.o file,
it is at the current directory of make file/build.328/obj

how do I tell the linker where to look?  when I tried -l/build.328/obj ,
it kept saying folder not found

Doesn't that expand to /libbuild.328/obj (adding an entire directory in the top level of your cygwin installation to the link; seems unlikely to work even if it exists)? Did you mean simply

build.328/obj/wireless.o
?


--
Tim Prince



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux