newbie errors

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

newbie errors

Ralph Hipps
ok, I tried make, fails.

This looked promising, but... second step fails, same error.

c:\ash>gcc -Iinclude -o aaspi_file.o -c aaspi_file.c

c:\ash>dir
 Directory of c:\ash

02/28/2014  12:00 PM             2,749 aadetect.c
02/28/2014  12:00 PM            28,126 aardvark.c
02/28/2014  12:00 PM            55,598 aardvark.dll
02/28/2014  12:00 PM            25,398 aardvark.h
11/24/2016  12:36 PM             5,726 aaspi_file.c
11/27/2016  08:58 AM             3,457 aaspi_file.o     <-----  .o object file created ok
02/28/2014  12:00 PM             2,919 Makefile
11/23/2016  09:52 PM             2,638 MinGW for First Time Users.txt

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

c:/mingw/bin/../lib/gcc/mingw32/5.3.0/../../../../mingw32/bin/ld.exe: cannot find -laardvark
collect2.exe: error: ld returned 1 exit status

This is just crazy. The Aardvark guys (Total Phase) even advertise using MinGW, show a list of simple instructions, but they don't work. So far nothing does. I guess this is why sw guys make so much $$$, they know all the secret handshakes to get this stuff to compile.   =)

us poor hardware guys get to beat our heads against the wall while the sw guys point and laugh.   =)

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
[hidden email]

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:[hidden email]?subject=unsubscribe
Reply | Threaded
Open this post in threaded view
|

Re: newbie errors

Eli Zaretskii
> From: Ralph Hipps <[hidden email]>
> Date: Sun, 27 Nov 2016 09:07:20 -0800
>
> c:\ash>dir
> Directory of c:\ash
>
> 02/28/2014 12:00 PM 2,749 aadetect.c
> 02/28/2014 12:00 PM 28,126 aardvark.c
> 02/28/2014 12:00 PM 55,598 aardvark.dll
> 02/28/2014 12:00 PM 25,398 aardvark.h
> 11/24/2016 12:36 PM 5,726 aaspi_file.c
> 11/27/2016 08:58 AM 3,457 aaspi_file.o <----- .o object file created ok
> 02/28/2014 12:00 PM 2,919 Makefile
> 11/23/2016 09:52 PM 2,638 MinGW for First Time Users.txt
>
> c:\ash>gcc -Wl,--no-undefined -Llib -o aaspi_file.exe aaspi_file.o -laardvark
>
> c:/mingw/bin/../lib/gcc/mingw32/5.3.0/../../../../mingw32/bin/ld.exe: cannot find -laardvark
> collect2.exe: error: ld returned 1 exit status

Try "-L ." instead of "-Llib".  IOW, GCC needs to be told where to
look for aardvark.dll, if it is not in the "usual" places, where all
the other libraries are kept.


------------------------------------------------------------------------------
_______________________________________________
MinGW-users mailing list
[hidden email]

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:[hidden email]?subject=unsubscribe