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

Re: [MiNT] Pilot link



On Fri, 08 Feb 2008 10:57:30 , p.slegg@scubadivers.co.uk wrote:
> My Handspring PDA is geting rather old and in danger of falling apart
> so I am looking at getting a Treo 680.
>
> I presume this will still be able to Sync with Pilot-link if I use a serial
> adapter or even an RS-232 to Bluetooth adapter ?
>
> Last night I was downloaded the latest Pilot-link sources and I will be
> trying to build them. The current Sparemint rpm is pilot-link 0.9.3-1
> and the latest source code is pilot-link-0.12.3 so there have been a
> few updates.
>
> Peter
>

The make gets as far as this:

DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \

/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
 -I. -I. -I.. -I../include -I../include      -g2 -Wall -c -o
 libpisock_la-utils.lo `test -f 'utils.c' ¦¦ echo './'`utils.c

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -g2
 -Wall -c utils.c -Wp,-MD,.deps/libpisock_la-utils.TPlo -o libpisock_la-utils.o

utils.c:206: conflicting types for `inet_aton'
/usr/include/arpa/inet.h:78: previous declaration of `inet_aton'

make[2]: *** [libpisock_la-utils.lo] Error 1
make[2]: Leaving directory `/i/usr/src/pilot-link-0.12.3/libpisock'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/i/usr/src/pilot-link-0.12.3'
make: *** [all] Error 2


inet_aton converts an internet string into a structure with the
same address in it.

The file .deps/libpisock_la-utils.TPlo just contains the line
#dummy

While inet_aton is declared in utils.c

#ifndef HAVE_INET_ATON
/***********************************************************************
 *
 * Function:    inet_aton
 *
 * Summary:     Manipulate our network address information
 *
 * Parameters:  None
 *
 * Returns:     Nothing
 *
 ***********************************************************************/
int inet_aton(const char *cp, struct in_addr *addr)


Is inet_aton something that is also being included from Mint ?

I think I need to know more about make files to fix this. It looks
to me that HAVE_INET_ATON is not declared so it is trying to create
the function. How can I check if this is declared ?

Regards,

Peter