gnokii-users
[Top][All Lists]
Advanced

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

more on gnokii/smsd compilation on FreeBSD


From: Paulius Bulotas
Subject: more on gnokii/smsd compilation on FreeBSD
Date: Mon, 22 Apr 2002 18:26:22 +0200

Hi,

trying to compile smsd on FreeBSD...
After some tweaking, I've got gnokii compiled
( autoheader ;) and
added -L/usr/local/lib to LDFLAGS in Makefile.global,
invoked configure with CPPFLAGS=-I/usr/local/include and
LDFLAGS=-L/usr/local/lib - that found getopt stuff )
Still, smsd compilation fails on:
smsd.c:70: `connect' redeclared as different kind of symbol
/usr/include/sys/socket.h:439: previous declaration of `connect'
smsd.c:70: warning: `connect' was declared `extern' and later `static'

where socket.h is included in compat.h and this in misc.h ;)
and in config.h:
/* Define if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1

I think it's needed for new tcp connectivity?

Paulius



reply via email to

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