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

[coldsync-hackers] Cant Build CVS on FreeBSD 4.8 STABLE



Hi Josef and others...

I cannot build CVS on my RELENG_4 box ?

Please see Alessandro's comments below.

Any hints ?


-----Original Message-----
From: owner-coldsync-hackers@lusars.net
[mailto:owner-coldsync-hackers@lusars.net] On Behalf Of Alessandro Zummo
Sent: 15 July 2003 12:51 AM
To: coldsync-hackers@lusars.net
Subject: Re: [coldsync-hackers] Cant Build CVS on FreeBSD 4.8 STABLE


On Mon, 14 Jul 2003 19:53:19 +0200
"Ryan Budge" <ryan@smarthand.co.za> wrote:

> Hi All.
> 
> I grabbed the cvs a few minutes ago.
> 
> Cd'd to the coldsync directory and typed "autoconf"
> 
> Then tried to do the usual"./configure"
> And  "make"
> 
> But I cant build it ?
> I scripted the output and attached it.
>
>bash-2.05b$ make
>all: Entering directory `./include'
>all: Entering directory `./include/pconn'
>all: Leaving directory `./include/pconn'
>all: Leaving directory `./include'
>all: Entering directory `./libpconn'
>gcc -Wall -ansi -pedantic -g -O2 -DHAVE_CONFIG_H  -I. -I./..
-I./../include -I/usr/local/include -c dlp_cmd.c In file included from
dlp_cmd.c:34:
>/usr/include/netinet/in.h:235: syntax error before `in_addr_t'
>/usr/include/netinet/in.h:236: warning: struct has no members
>/usr/include/netinet/in.h:287: syntax error before `u_char'
>In file included from /usr/include/netinet/in.h:469,
>                 from dlp_cmd.c:34:
>/usr/include/netinet6/in6.h:122: syntax error before `u_int8_t'
>/usr/include/netinet6/in6.h:125: warning: union has no members
>/usr/include/netinet6/in6.h:144: syntax error before `u_int8_t'
>/usr/include/netinet6/in6.h:149: syntax error before `u_int32_t'
>/usr/include/netinet6/in6.h:612: syntax error before `*'
>/usr/include/netinet6/in6.h:613: warning: type defaults to `int' in
declaration of `inet6_option_append'
>/usr/include/netinet6/in6.h:614: syntax error before `*'
>/usr/include/netinet6/in6.h:614: warning: type defaults to `int' in
declaration of `inet6_option_alloc'
>/usr/include/netinet6/in6.h:614: ANSI C forbids data definition with no
type or storage class
>/usr/include/netinet6/in6.h:615: syntax error before `u_int8_t'
>/usr/include/netinet6/in6.h:616: syntax error before `u_int8_t'
>/usr/include/netinet6/in6.h:631: syntax error before `u_int8_t'
>/usr/include/netinet6/in6.h:636: syntax error before `u_int8_t'
>/usr/include/netinet6/in6.h:638: syntax error before `u_int8_t'
>dlp_cmd.c: In function `DlpExpCardInfo':
>dlp_cmd.c:3886: warning: implicit declaration of function `__bswap_16'
>dlp_cmd.c:3887: warning: implicit declaration of function `__bswap_32'
>*** Error code 1
>
>Stop in /usr/home/budgie/installs/coldsync/cvs/coldsync/libpconn.
>*** Error code 1
>
>Stop in /usr/home/budgie/installs/coldsync/cvs/coldsync.
>bash-2.05b$ exit
>exit
>
>Script done on Mon Jul 14 17:35:43 2003


The problm is in the netinet/in.h header file which
coldsync uses to have a proper declaration of the
__bswap_16 and __bswap_32 functions.

Please try to find where those functions are
defined under FreeBSD.

-- 

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Turin, Italy

  http://www.towertech.it
-- 
This message was sent through the coldsync-hackers mailing list.  To
remove yourself from this mailing list, send a message to
majordomo@thedotin.net with the words "unsubscribe coldsync-hackers" in
the message body.  For more information on Coldsync, send mail to
coldsync-hackers-owner@thedotin.net.


-- 
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.