gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compile gnokii 0.5.5 under win32


From: Martins
Subject: Compile gnokii 0.5.5 under win32
Date: Tue, 18 Nov 2003 15:30:59 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007

Hi!

Recently I downloaded latest gnokii (0.5.5) and tried to compile it, but no luck. I tried to do it with cygwin (latest), but as I understand from gnokii README-WIN32 it is required to use Cygwin B20, which I don't have. Allso I tried MinGW, but still no luck.
My OS on which I ty this is MS Win2k with SP4

With MinGW in its console I execute #> ./configure --disable-nls
After some time I get this output:

   Host system:        mingw32
   Gnokii version:     0.5.5
   Xgnokii version:    20030104
   X (GTK) support:    no
   Debug:              no
   XDebug:             no
   RLPDebug:           no
   NLS:                no
   IrDA:               no
   Bluetooth:          no
   Security:           no
   Build Shared Lib:   yes
Win32: Prefix: /usr/local


Then it is time to make, I execute it and everything dies with this:

make[1]: Entering directory `/c/gnokii-0.5.5/common/devices'
gcc -g -O2  -I../../include -INONE  -c -o tcp.o tcp.c
tcp.c:34:23: sys/ioctl.h: No such file or directory
tcp.c:40:22: sys/wait.h: No such file or directory
tcp.c:41:23: sys/ioctl.h: No such file or directory
tcp.c:42:24: netinet/in.h: No such file or directory
tcp.c:43:24: sys/socket.h: No such file or directory
tcp.c:44:19: netdb.h: No such file or directory
tcp.c:50:21: termios.h: No such file or directory
In file included from tcp.c:51:
../../include/devices/tcp.h:34: redefinition of `__ptr_t'
../../include/compat.h:202: `__ptr_t' previously declared here
tcp.c: In function `tcp_opendevice':
tcp.c:156: `F_SETOWN' undeclared (first use in this function)
tcp.c:156: (Each undeclared identifier is reported only once
tcp.c:156: for each function it appears in.)
tcp.c:175: `F_SETFL' undeclared (first use in this function)
make[1]: *** [tcp.o] Error 1
make[1]: Leaving directory `/c/gnokii-0.5.5/common/devices'
make: *** [common/devices] Error 2

I know that it is a little bit tricky to port linux programs to win32, and as much as I can I stick to Linux, but this time there is no choice for me, it must be win32.

Can You give me some hints in which direction to search for answer?
Is gnokii 0.3.3 the latest version vhich has prebuilt win32 binaries?

Thanks!


_______
Martins





reply via email to

[Prev in Thread] Current Thread [Next in Thread]