[sword-devel] Compiling SWORD API using MinGW

Mico Siahaan mico at cbn.net.id
Fri Feb 1 08:19:43 MST 2008


Hi, I am new in programming and I tried to compile
SWORD API using MinGW compiler under Windows XP
Professional. What I did:
1. run ./configure
2. run make
 
then I got this error:
 
Making all in lib
make[1]: Entering directory
/home/mico/sword-1.5.10/lib'
/bin/sh ../libtool --tag=CC   --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../include  -I../include
-DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__  
-DGLOBCONFPATH=\"/usr/local/etc/sword.conf\"
-D_FTPLIB_NO_COMPAT     -MT ftplib.lo -MD -MP -MF
.deps/ftplib.Tpo -c -o ftplib.lo `test -f
'../src/utilfuns/ftplib.c' || echo
'./'`../src/utilfuns/ftplib.c
gcc -DHAVE_CONFIG_H -I. -I../include -I../include
-DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__
-DGLOBCONFPATH=\"/usr/local/etc/sword.conf\"
-D_FTPLIB_NO_COMPAT -MT ftplib.lo -MD -MP -MF
.deps/ftplib.Tpo -c ../src/utilfuns/ftplib.c 
-DDLL_EXPORT -DPIC -o .libs/ftplib.o
../src/utilfuns/ftplib.c:44:24: sys/socket.h: No
such file or directory
../src/utilfuns/ftplib.c:45:24: netinet/in.h: No such
file or directory
../src/utilfuns/ftplib.c:46:19: netdb.h: No such file
or directory
../src/utilfuns/ftplib.c:47:23: arpa/inet.h: No such
file or directory
make[1]: *** [ftplib.lo] Error 1
make[1]: Leaving directory
`/home/mico/sword-1.5.10/lib'
make: *** [all-recursive] Error 1
 
I am using MinGW: 
1. gcc-core 3.4.5
2. gcc-g++ 3.4.5
3. mingw-runtime 3.14
 
How to solve this?
 
best regards, 

Mico



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs



More information about the sword-devel mailing list