compiling in msys-mingw crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmetalink |
Fix Released
|
Medium
|
Tatsuhiro Tsujikawa |
Bug Description
make[3]: Entering directory `/custom/
gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -I../..
mv -f .deps/metalinkc
/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -o metalinkcat.exe metalinkcat.o ../../lib/
libtool: link: gcc -g -O2 -o metalinkcat.exe metalinkcat.o ../../lib/
metalinkcat.o: In function `main':
F:\custom\
collect2.exe: error: ld returned 1 exit status
make[3]: *** [metalinkcat.exe] Error 1
make[3]: Leaving directory `/custom/
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/custom/
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/custom/
make: *** [all] Error 2
Changed in libmetalink: | |
status: | Fix Committed → Fix Released |
I found that neigher expat nor libxml2 are installed, this error occurs.
Please (compile and) install expat or libxml2 and run configure again.
Expat is recommended because it is easier to build.
The configure should fail configure in this case. I fixed this in r150.