Re: help me

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

 



Andy Falanga (afalanga) wrote:
Other than that, it's not clear if you're building for Windows or not.  It looks like, if GCC wasn't compiled for Windows support, it may not know how to handle the __declspec() syntax.  Look through the GCC docs for more info.

Andy
Additionally, you need to remove the static qualifier from both the prototype (so it doesn't search the library in the program instead of the dl) and in the library (defining as static prevents it to be exported), You will also have to provide a definition for MAP in your header (or at least a forward declaration),







[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