Web lists-archives.com

[Mingw-users] newbie errors




tried that.... fails.

c:\ash>gcc -Wl,--no-undefined -L. -o aaspi_file.exe aaspi_file.o -laardvark

./aardvark.dll: file not recognized: File format not recognized
collect2.exe: error: ld returned 1 exit status

I'm curious about the 'usual' place libs are kept thing, should I be copying .dll files into a special dir under the MinGW install dir?

I'm starting to thing an earlier comment about the .dll format being wrong may be the issue. Not sure how to fix that tho.

What about the .h file instead, is there a way to skip the .dll and use the .h instead? would that work or am I a total n00b?

Ralph

>+<
 |    /\
 |___/  \
 [_@_]   `<
 O O O   
      IRS!
------------------------------------------------------------------------------------
In the twenty-first century, the robot will take the place
which slave labor occupied in ancient civilization.
 -- Nikola Tesla
------------------------------------------------------------------------------------

------------------------------------------------------------------------------
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe