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

[coldsync-hackers] coldsync cant open connection



hi i have been unable to get coldsync working. i installed the coldsync
package provided by freebsd but attempts to use it result in

Error: USB support not enabled
Error: Can't open connection

i tried to compile coldsync by hand to see if i could get a working
version but i am having installation troubles.

one problem is with configure. it prints

checking for BSD USB support... no

despite usb support being available. this patch makes configure work
correctly

--- configure.in        Sun Nov 24 16:03:45 2002
+++ configure.in.bak    Sun Nov 24 16:02:57 2002
@@ -512,7 +512,7 @@
        AC_TRY_COMPILE(dnl
                [#include <dev/usb/usb.h>],dnl
                [struct usb_device_info udi;
-                udi.udi_vendorNo = 0x082d;],dnl
+                udi.vendorNo = 0x082d;],dnl
                [AC_DEFINE_UNQUOTED(WITH_USB)
                AC_MSG_RESULT(yes)],dnl
                [AC_MSG_RESULT(no)])

ive also included a patch to make PConnection_usb.c compile. find it
below.

i dont know how to fix the following error. i was hoping someone could
help me here.

conduit.c:66: syntax error before `*'
conduit.c:66: warning: type defaults to `int' in declaration of
`RETSIGTYPE'
conduit.c:66: `RETSIGTYPE' declared as function returning a function
conduit.c:85: `sigchld_handler' declared as function returning a
function
conduit.c: In function `run_conduit':
conduit.c:265: syntax error before `old_sigchld'
conduit.c:370: `old_sigchld' undeclared (first use in this function)
conduit.c:370: (Each undeclared identifier is reported only once
conduit.c:370: for each function it appears in.)
conduit.c:370: warning: passing arg 2 of `signal' from incompatible
pointer type
conduit.c: At top level:
conduit.c:1991: `sigchld_handler' declared as function returning a
function
conduit.c: In function `sigchld_handler':
conduit.c:2009: warning: `return' with no value, in function returning
non-void
conduit.c:2025: warning: `return' with no value, in function returning
non-void
conduit.c:2081: warning: `return' with no value, in function returning
non-void
gmake[1]: *** [conduit.o] Error 1

sincerly,
chris moline


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