Web lists-archives.com

Re: [Mingw-users] libaddr2line.a: dependencies of libbfd.a?




> From: "Jannick" <thirdedition@xxxxxxx>
> Date: Sat, 1 Oct 2016 14:15:10 +0200
> 
> mingw32-g++.exe -o t.exe main.c -lbfd -lintl -liberty -lz 
> 
> should be fine, in principle, i.e. MinGW’s bfd appears to depend on the libraries intl, (l)iberty and z, at least.
> For MinGW compilation gcc needs -LC:\MinGW\msys\1.0\lib for linking. But still, the MinGW compiler is
> complaining:
> 
> c:/mingw/bin/../lib/gcc/mingw32/5.3.0/../../../libbfd.a(archive.o):(.text+0x3f4): undefined reference to
> `filename_ncmp'


filename_ncmp is in libiberty.a, so I don't understand why you are
getting these unresolved externals.  Perhaps your libiberty.a is from
an old distribution?

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
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