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

Re: [coldsync-hackers] understanding the configure script



OK, so have compiled the source. On examining the config.log file 
I see the following error on the FreeBSD (4.7) USB check that it runs;
------------------------------------

configure:3913: gcc -c -Wall -ansi -pedantic -g -O2 -I/usr/local/include conftes
t.c 1>&5
configure: In function `main':
configure:3909: structure has no member named `vendorNo'
configure: failed program was:
#line 3905 "configure"
#include "confdefs.h"
                #include <dev/usb/usb.h>
------------------------------------
In my /usr/include/dev/usb/usb.h there is not a udi.vendorNo
but rather a udi_vendorNo. I tried changing coldsync's udi.vendorNo to
udi_vendorNo with the following result;

------------------------------------

configure:3864: gcc -c -Wall -ansi -pedantic -g -O2 -I/usr/local/include conftes
t.c 1>&5
configure: In function `main':
configure:3860: `O_BINARY' undeclared (first use in this function)
configure:3860: (Each undeclared identifier is reported only once
configure:3860: for each function it appears in.)
configure:3860: warning: unused variable `fd'  
configure: failed program was:
#line 3857 "configure"
#include "confdefs.h"
#include <fcntl.h>
int main() {
int fd; open("dummy", O_RDONLY | O_BINARY);
; return 0; }
configure:3897: checking for BSD USB support
configure:3913: gcc -c -Wall -ansi -pedantic -g -O2 -I/usr/local/include conftes
t.c 1>&5
configure: In function `main':
configure:3909: `udi_vendorNo' undeclared (first use in this function)
configure:3909: (Each undeclared identifier is reported only once
configure:3909: for each function it appears in.)
configure:3908: warning: unused variable `udi'
configure: failed program was:
#line 3905 "configure"
#include "confdefs.h"

Any idea what the problem is here?

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