From owner-freebsd-questions Wed Nov 6 13: 3:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81E4E37B404 for ; Wed, 6 Nov 2002 13:03:51 -0800 (PST) Received: from skytrackercanada.com (cust29.209.188.66.dsl.accessv.com [209.188.66.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0567443E4A for ; Wed, 6 Nov 2002 13:03:45 -0800 (PST) (envelope-from david@skytrackercanada.com) Received: (from david@localhost) by skytrackercanada.com (8.12.6/8.12.6) id gA6L3XT7085743 for questions@freebsd.org; Wed, 6 Nov 2002 16:03:33 -0500 (EST) (envelope-from david) Date: Wed, 6 Nov 2002 16:03:33 -0500 From: David Banning To: questions@freebsd.org Subject: usb recognition problem Message-ID: <20021106160333.A83698@skytrackercanada.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am attempting to compile coldsync. During the configure process it attempts to verify whether there is USB support or not on the FreeBSD machine. It does this by attempting to compile a simple program. I get this error in the config log; configure:3713: checking for library containing gethostbyname configure:3789: checking whether ENODEV is defined configure:3825: checking whether O_BINARY is defined configure:3834: gcc -c -Wall -ansi -pedantic -g -O2 -I/usr/local/include conftes t.c 1>&5 configure: In function `main': configure:3830: `O_BINARY' undeclared (first use in this function) configure:3830: (Each undeclared identifier is reported only once configure:3830: for each function it appears in.) configure:3830: warning: unused variable `fd' configure: failed program was: #line 3827 "configure" #include "confdefs.h" #include int main() { int fd; open("dummy", O_RDONLY | O_BINARY); ; return 0; } configure:3867: checking for BSD USB support configure:3883: gcc -c -Wall -ansi -pedantic -g -O2 -I/usr/local/include conftes t.c 1>&5 configure: In function `main': configure:3879: structure has no member named `vendorNo' configure: failed program was: #line 3875 "configure" #include "confdefs.h" #include int main() { struct usb_device_info udi; udi.vendorNo = 0x082d; ; return 0; } configure:3900: checking for socks behind the sofa :q! su-2.03# locate confdefs /usr/david/sql/sqlscreens-1.0.1/confdefs.h I am wondering if anyone knows what is up here. I have posted this on the coldsync list with no results. Any ideas or suggestions would be welcome. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message