compiling in msys-mingw crashes

Bug #1040527 reported by kotoroshinoto
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libmetalink
Fix Released
Medium
Tatsuhiro Tsujikawa

Bug Description

make[3]: Entering directory `/custom/minecraftmodman-deps/libmetalink-0.1.0/doc/examples'
gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -I../../lib/includes -I../../lib/includes -DHAVE_INTTYPES_H -g -O2 -MT metalinkcat.o -MD -MP -MF .deps/metalinkcat.Tpo -c -o metalinkcat.o metalinkcat.c
mv -f .deps/metalinkcat.Tpo .deps/metalinkcat.Po
/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -o metalinkcat.exe metalinkcat.o ../../lib/libmetalink.la
libtool: link: gcc -g -O2 -o metalinkcat.exe metalinkcat.o ../../lib/.libs/libmetalink.a
metalinkcat.o: In function `main':
F:\custom\minecraftmodman-deps\libmetalink-0.1.0\doc\examples/metalinkcat.c:44: undefined reference to `_metalink_parse_file'
collect2.exe: error: ld returned 1 exit status
make[3]: *** [metalinkcat.exe] Error 1
make[3]: Leaving directory `/custom/minecraftmodman-deps/libmetalink-0.1.0/doc/examples'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/custom/minecraftmodman-deps/libmetalink-0.1.0/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/custom/minecraftmodman-deps/libmetalink-0.1.0'
make: *** [all] Error 2

Revision history for this message
Tatsuhiro Tsujikawa (t-tujikawa) wrote :

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.

Changed in libmetalink:
assignee: nobody → Tatsuhiro Tsujikawa (t-tujikawa)
importance: Undecided → Medium
status: New → Fix Committed
milestone: none → libmetalink-0.1.3
Ant Bryan (albryan)
Changed in libmetalink:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.