gnokii-users
[Top][All Lists]
Advanced

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

gnokii-0.5.0pre3 build error (USE_IRDA/HAVE_IRDA?)


From: Paulius Bulotas
Subject: gnokii-0.5.0pre3 build error (USE_IRDA/HAVE_IRDA?)
Date: Thu, 2 Jan 2003 10:20:55 +0200

Hello list,

OS FreeBSD 4-STABLE (4.7+)

tar zxvf gnokii-0.5.0pre3.tar.gz
cd gnokii-0.5.0pre3/
./configure --without-x --disable-nls
gmake
gcc -Wl,--rpath -Wl,/usr/local/lib gnokii.o ../getopt/libgetopt.a
../common/gsm-filetypes.o  -L../common -lgnokii -o gnokii
../common/libgnokii.so: undefined reference to `phonet_initialise'

As I see, phonet_initialise is defined in common/links/fbus_phonet.c,
and from common/links/Makefile - it will be used only if I have USE_IRDA
set. 
grep -r phonet_initialise *
common/phones/nk6100.c:         err = phonet_initialise(state);
common/phones/nk6510.c:                 err = phonet_initialise(state);
common/phones/nk7110.c:                 err = phonet_initialise(state);
Binary file common/phones/nk7110.o matches
Binary file common/phones/nk6510.o matches
Binary file common/phones/nk6100.o matches
Binary file common/phones/PHONES.o matches
Binary file common/libgnokii.so matches

I think ;) in these files you have to use defines checking whether
HAVE_IRDA is defined?

include/config.h contains:
/* Define if you want IrDA support. Linux only */
/* #undef HAVE_IRDA */

Regards,
Paulius Bulotas



reply via email to

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