Date: Sun, 10 Mar 2002 19:05:06 -0500 From: stan <stanb@awod.com> To: FreeBSD Stable Mailing List <freebsd-stable@freebsd.org> Subject: libusb build problems Message-ID: <20020311000505.GA30508@teddy.fas.com>
next in thread | raw e-mail | index | archive | help
I have been having problems building the libusb port for the last couple of
weeks.
More and more of teh ports I use are becoming dependent on it.
I'm enclosing a script of the build atempt.
Can anyone provide nay sugestiosn?
Script started on Sun Mar 10 18:59:36 2002
black# make
===> Extracting for libusb-0.1.5
>> Checksum OK for libusb-0.1.5.tar.gz.
===> Patching for libusb-0.1.5
===> Applying FreeBSD patches for libusb-0.1.5
===> Configuring for libusb-0.1.5
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets ${MAKE}... yes
checking for style of include used by make... GNU
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... cc -E
checking host system type... i386-portbld-freebsd4.5
checking build system type... i386-portbld-freebsd4.5
checking for gcc... cc
checking whether the C compiler (cc -O -pipe -march=k6 ) works... yes
checking whether the C compiler (cc -O -pipe -march=k6 ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking dependency style of cc... gcc
checking for ld used by GCC... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking for /usr/libexec/elf/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/libexec/elf/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... freebsd4.5 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i386-portbld-freebsd4.5
checking for what USB OS support... FreeBSD
checking for gcc... (cached) cc
checking whether the C compiler (cc -O -pipe -march=k6 ) works... yes
checking whether the C compiler (cc -O -pipe -march=k6 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking dependency style of cc... (cached) gcc
checking for cc option to accept ANSI C... none needed
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking for ANSI C header files... yes
checking for vprintf... yes
checking size of char... 1
checking size of short... 2
checking size of long... 4
checking size of int... 4
checking size of void *... 4
checking size of long long... 8
checking for working const... yes
checking whether byte ordering is bigendian... no
checking for limits.h... yes
checking for unistd.h... yes
checking for values.h... no
checking for memmove... yes
checking if we should build the documentation... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
creating libusb.spec
creating libusb-config
creating tests/Makefile
creating README
creating INSTALL.libusb
creating usb.h
creating config.h
===> Building for libusb-0.1.5
make all-recursive
Making all in .
source='usb.c' object='usb.lo' libtool=yes depfile='.deps/usb.Plo' tmpdepfile='.deps/usb.TPlo' depmode=gcc /bin/sh ./depcomp /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -march=k6 -Wall -c -o usb.lo `test -f usb.c || echo './'`usb.c
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -march=k6 -Wall -c usb.c -Wp,-MD,.deps/usb.TPlo -fPIC -DPIC -o .libs/usb.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -march=k6 -Wall -c usb.c -Wp,-MD,.deps/usb.TPlo -o usb.o >/dev/null 2>&1
mv -f .libs/usb.lo usb.lo
source='error.c' object='error.lo' libtool=yes depfile='.deps/error.Plo' tmpdepfile='.deps/error.TPlo' depmode=gcc /bin/sh ./depcomp /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -march=k6 -Wall -c -o error.lo `test -f error.c || echo './'`error.c
rm -f .libs/error.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -march=k6 -Wall -c error.c -Wp,-MD,.deps/error.TPlo -fPIC -DPIC -o .libs/error.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -march=k6 -Wall -c error.c -Wp,-MD,.deps/error.TPlo -o error.o >/dev/null 2>&1
mv -f .libs/error.lo error.lo
source='descriptors.c' object='descriptors.lo' libtool=yes depfile='.deps/descriptors.Plo' tmpdepfile='.deps/descriptors.TPlo' depmode=gcc /bin/sh ./depcomp /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -march=k6 -Wall -c -o descriptors.lo `test -f descriptors.c || echo './'`descriptors.c
rm -f .libs/descriptors.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -march=k6 -Wall -c descriptors.c -Wp,-MD,.deps/descriptors.TPlo -fPIC -DPIC -o .libs/descriptors.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -march=k6 -Wall -c descriptors.c -Wp,-MD,.deps/descriptors.TPlo -o descriptors.o >/dev/null 2>&1
mv -f .libs/descriptors.lo descriptors.lo
source='bsd.c' object='bsd.lo' libtool=yes depfile='.deps/bsd.Plo' tmpdepfile='.deps/bsd.TPlo' depmode=gcc /bin/sh ./depcomp /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -march=k6 -Wall -c -o bsd.lo `test -f bsd.c || echo './'`bsd.c
rm -f .libs/bsd.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -march=k6 -Wall -c bsd.c -Wp,-MD,.deps/bsd.TPlo -fPIC -DPIC -o .libs/bsd.lo
bsd.c: In function `usb_set_altinterface':
bsd.c:154: structure has no member named `interface_index'
bsd.c:155: structure has no member named `alt_no'
bsd.c: In function `usb_control_msg':
bsd.c:287: structure has no member named `request'
bsd.c:288: structure has no member named `request'
bsd.c:289: structure has no member named `request'
bsd.c:289: structure has no member named `request'
bsd.c:289: warning: left-hand operand of comma expression has no effect
bsd.c:290: structure has no member named `request'
bsd.c:290: structure has no member named `request'
bsd.c:290: warning: left-hand operand of comma expression has no effect
bsd.c:291: structure has no member named `request'
bsd.c:291: structure has no member named `request'
bsd.c:291: warning: left-hand operand of comma expression has no effect
bsd.c:293: structure has no member named `data'
bsd.c:294: structure has no member named `flags'
bsd.c:306: structure has no member named `request'
bsd.c:306: structure has no member named `request'
bsd.c:307: warning: control reaches end of non-void function
bsd.c: In function `usb_find_devices_on_bus':
bsd.c:324: structure has no member named `addr'
bsd.c:330: structure has no member named `devnames'
bsd.c:335: structure has no member named `devnames'
*** Error code 1
Stop in /usr/ports/devel/libusb/work/libusb-0.1.5.
*** Error code 1
Stop in /usr/ports/devel/libusb/work/libusb-0.1.5.
*** Error code 1
Stop in /usr/ports/devel/libusb/work/libusb-0.1.5.
*** Error code 1
Stop in /usr/ports/devel/libusb.
*** Error code 1
Stop in /usr/ports/devel/libusb.
*** Error code 1
Stop in /usr/ports/devel/libusb.
black# ^Dexit
Script done on Sun Mar 10 18:59:48 2002
--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020311000505.GA30508>
