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

[coldsync-hackers] Cygwin



Hello hackers,

I read in the coldsync documentation that coldsync
"should" compile with Cygwin, but is not a high
priority for the maintainer ... which I totally
understand.

I, unfortunately, am forced to use Winders NT at work
... but I have Linux installed at home.  I do use the
Palm Desktop for syncing and such, but I also do some
custom programming in c/c++/perl and I would like to
be able to run these apps at work as well as home.

Right now I use pilot-link because it runs w/Cygwin. 
I am interested in checking out coldsync, but NT is
giving my problems.

So ... all that to ask if anyone knows how I can get
coldsync running under Cygwin?  I can get around
*most* of the warnings and errors, but all the signal
stuff (especially the sigsetjmp, siglongjmp, and
un/block_sigchld) won't compile.  And (if I comment
them out) I get a link error (shown below).

I am configuring like so:
   CXX=gcc CFLAGS="-mno-win32 -ansi" ./configure
--prefix=/usr/local/coldsync --without-i18n
--without-ipv6 --without-usb

And I get (from the src directory) at link time:

gcc -mno-win32 -DHAVE_CONFIG_H -I. -I./..
-I./../include -mno-win32 coldsync.o archive.o
backup.o restore.o install.o config.o misc.o lexhack.o
log.o conduit.o spalm.o palment.o pref.o spc.o
symboltable.o net_compat.o ap_snprintf.o utils.o
GenericConduit.o y.tab.o -o coldsync
-L/usr/local/coldsync/lib -L./../libpdb -lpdb
-L./../libpconn -lpconn  -lfl -lcygwin -lpthread
GenericConduit.o(.text+0x132):GenericConduit.cc:
undefined reference to `operator delete(void*)'
GenericConduit.o(.text+0x188):GenericConduit.cc:
undefined reference to `operator delete(void*)'
GenericConduit.o(.text+0x1de):GenericConduit.cc:
undefined reference to `operator delete(void*)'
GenericConduit.o(.data$_ZTI14GenericConduit+0x0):GenericConduit.cc:
undefined reference to `vtable for
__cxxabiv1::__class_type_info'
GenericConduit.o(.eh_frame+0x12):GenericConduit.cc:
undefined reference to `___gxx_personality_v0'
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/libgcc.a(unwind-dw2.o)(.text+0x14bf):
undefined reference to `_pthread_once'
collect2: ld returned 1 exit status

Any help or pointers is welcome.

Thx,
-- 
Rodney S.

=====
-- 
"A smile is the shortest distance between two people."
Victor Borge

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com

-- 
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.