Subject: Gnokii & NetBSD1.6...
To: None <port-i386@netbsd.org>
From: Alexander <desync@libero.it>
List: port-i386
Date: 09/06/2002 13:43:30
Hi,
I'm using netbsd 1.6rc2 but i've a lots of problems to install gnokii... is There anyone that have install gnokii in netbsd ? Or make a port of gnokii ? This is my problem:
Ok, so i lunch the ./configure --with-libpthread=/usr/pkg/ --with-x without problem... 
 See file COPYING for more details.

    Host system:        netbsdelf1.6.
    Gnokii version:     0.4.3
    Xgnokii version:    20010323
    X (GTK) support:    yes
    Debug:              no
    XDebug:             no
    RLPDebug:           no
    NLS:                yes
    Security:           yes
    Build Shared Lib:   yes
    Win32:               
    Prefix:             /usr/local
And the first step is all ok... But when i run "gmake" i have that error:gmake[1]: Entering directory `/root/gnokii-0.4.3/common/devices'
gcc -O2 -Wall  -I../../include -I/usr/X11R6/include  -c -o tekram.o tekram.c
gcc -O2 -Wall  -I../../include -I/usr/X11R6/include  -c -o unixserial.o unixserial.c
unixserial.c: In function `serial_opendevice':
unixserial.c:302: `FNONBLOCK' undeclared (first use in this function)
unixserial.c:302: (Each undeclared identifier is reported only once
unixserial.c:302: for each function it appears in.)
unixserial.c: In function `serial_write':
unixserial.c:455: warning: increment of read-only location
gmake[1]: *** [unixserial.o] Error 1
gmake[1]: Leaving directory `/root/gnokii-0.4.3/common/devices'
gmake: *** [common/devices] Error 2

How i can resolve that problem ? Thank you!