Skip site navigation (1)Skip section navigation (2)
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=0D=0D
=3D=3D=3D>  Extracting for libusb-0.1.5=0D
>> Checksum OK for libusb-0.1.5.tar.gz.=0D
=3D=3D=3D>  Patching for libusb-0.1.5=0D
=3D=3D=3D>  Applying FreeBSD patches for libusb-0.1.5=0D
=3D=3D=3D>  Configuring for libusb-0.1.5=0D
creating cache ./config.cache=0D
checking for a BSD compatible install... /usr/bin/install -c -o root -g whe=
el=0D
checking whether build environment is sane... yes=0D
checking for gawk... no=0D
checking for mawk... no=0D
checking for nawk... no=0D
checking for awk... awk=0D
checking whether make sets ${MAKE}... yes=0D
checking for style of include used by make... GNU=0D
checking for Cygwin environment... no=0D
checking for mingw32 environment... no=0D
checking how to run the C preprocessor... cc -E=0D
checking host system type... i386-portbld-freebsd4.5=0D
checking build system type... i386-portbld-freebsd4.5=0D
checking for gcc... cc=0D
checking whether the C compiler (cc -O -pipe -march=3Dk6 ) works... yes=0D
checking whether the C compiler (cc -O -pipe -march=3Dk6 ) is a cross-compi=
ler... no=0D
checking whether we are using GNU C... yes=0D
checking whether cc accepts -g... yes=0D
checking dependency style of cc... gcc=0D
checking for ld used by GCC... /usr/libexec/elf/ld=0D
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes=0D
checking for /usr/libexec/elf/ld option to reload object files... -r=0D
checking for BSD-compatible nm... /usr/bin/nm -B=0D
checking whether ln -s works... yes=0D
checking how to recognise dependant libraries... pass_all=0D
checking for object suffix... o=0D
checking for executable suffix... no=0D
checking command to parse /usr/bin/nm -B output... ok=0D
checking for dlfcn.h... yes=0D
checking for ranlib... ranlib=0D
checking for strip... strip=0D
checking for objdir... .libs=0D
checking for cc option to produce PIC... -fPIC=0D
checking if cc PIC flag -fPIC works... yes=0D
checking if cc static flag -static works... yes=0D
checking if cc supports -c -o file.o... yes=0D
checking if cc supports -c -o file.lo... yes=0D
checking if cc supports -fno-rtti -fno-exceptions... yes=0D
checking whether the linker (/usr/libexec/elf/ld) supports shared libraries=
... yes=0D
checking how to hardcode library paths into programs... immediate=0D
checking whether stripping libraries is possible... yes=0D
checking dynamic linker characteristics... freebsd4.5 ld.so=0D
checking if libtool supports shared libraries... yes=0D
checking whether to build shared libraries... yes=0D
checking whether to build static libraries... yes=0D
checking whether -lc should be explicitly linked in... yes=0D
creating libtool=0D
checking whether to enable maintainer-specific portions of Makefiles... no=
=0D
checking host system type... i386-portbld-freebsd4.5=0D
checking for what USB OS support... FreeBSD=0D
checking for gcc... (cached) cc=0D
checking whether the C compiler (cc -O -pipe -march=3Dk6 ) works... yes=0D
checking whether the C compiler (cc -O -pipe -march=3Dk6 ) is a cross-compi=
ler... no=0D
checking whether we are using GNU C... (cached) yes=0D
checking whether cc accepts -g... (cached) yes=0D
checking dependency style of cc... (cached) gcc=0D
checking for cc option to accept ANSI C... none needed=0D
checking for a BSD compatible install... /usr/bin/install -c -o root -g whe=
el=0D
checking for ANSI C header files... yes=0D
checking for vprintf... yes=0D
checking size of char... 1=0D
checking size of short... 2=0D
checking size of long... 4=0D
checking size of int... 4=0D
checking size of void *... 4=0D
checking size of long long... 8=0D
checking for working const... yes=0D
checking whether byte ordering is bigendian... no=0D
checking for limits.h... yes=0D
checking for unistd.h... yes=0D
checking for values.h... no=0D
checking for memmove... yes=0D
checking if we should build the documentation... no=0D
updating cache ./config.cache=0D
creating ./config.status=0D
creating Makefile=0D
creating doc/Makefile=0D
creating libusb.spec=0D
creating libusb-config=0D
creating tests/Makefile=0D
creating README=0D
creating INSTALL.libusb=0D
creating usb.h=0D
creating config.h=0D
=3D=3D=3D>  Building for libusb-0.1.5=0D
make  all-recursive=0D
Making all in .=0D
source=3D'usb.c' object=3D'usb.lo' libtool=3Dyes  depfile=3D'.deps/usb.Plo'=
 tmpdepfile=3D'.deps/usb.TPlo'  depmode=3Dgcc /bin/sh ./depcomp  /bin/sh ./=
libtool --mode=3Dcompile cc -DHAVE_CONFIG_H -I. -I. -I.      -O -pipe -marc=
h=3Dk6 -Wall -c -o usb.lo `test -f usb.c || echo './'`usb.c=0D
mkdir .libs=0D
cc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -march=3Dk6 -Wall -c usb.c -Wp,-MD,=
.deps/usb.TPlo  -fPIC -DPIC -o .libs/usb.lo=0D
cc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -march=3Dk6 -Wall -c usb.c -Wp,-MD,=
.deps/usb.TPlo -o usb.o >/dev/null 2>&1=0D
mv -f .libs/usb.lo usb.lo=0D
source=3D'error.c' object=3D'error.lo' libtool=3Dyes  depfile=3D'.deps/erro=
r.Plo' tmpdepfile=3D'.deps/error.TPlo'  depmode=3Dgcc /bin/sh ./depcomp  /b=
in/sh ./libtool --mode=3Dcompile cc -DHAVE_CONFIG_H -I. -I. -I.      -O -pi=
pe -march=3Dk6 -Wall -c -o error.lo `test -f error.c || echo './'`error.c=0D
rm -f .libs/error.lo=0D
cc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -march=3Dk6 -Wall -c error.c -Wp,-M=
D,.deps/error.TPlo  -fPIC -DPIC -o .libs/error.lo=0D
cc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -march=3Dk6 -Wall -c error.c -Wp,-M=
D,.deps/error.TPlo -o error.o >/dev/null 2>&1=0D
mv -f .libs/error.lo error.lo=0D
source=3D'descriptors.c' object=3D'descriptors.lo' libtool=3Dyes  depfile=
=3D'.deps/descriptors.Plo' tmpdepfile=3D'.deps/descriptors.TPlo'  depmode=
=3Dgcc /bin/sh ./depcomp  /bin/sh ./libtool --mode=3Dcompile cc -DHAVE_CONF=
IG_H -I. -I. -I.      -O -pipe -march=3Dk6 -Wall -c -o descriptors.lo `test=
 -f descriptors.c || echo './'`descriptors.c=0D
rm -f .libs/descriptors.lo=0D
cc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -march=3Dk6 -Wall -c descriptors.c =
-Wp,-MD,.deps/descriptors.TPlo  -fPIC -DPIC -o .libs/descriptors.lo=0D
cc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -march=3Dk6 -Wall -c descriptors.c =
-Wp,-MD,.deps/descriptors.TPlo -o descriptors.o >/dev/null 2>&1=0D
mv -f .libs/descriptors.lo descriptors.lo=0D
source=3D'bsd.c' object=3D'bsd.lo' libtool=3Dyes  depfile=3D'.deps/bsd.Plo'=
 tmpdepfile=3D'.deps/bsd.TPlo'  depmode=3Dgcc /bin/sh ./depcomp  /bin/sh ./=
libtool --mode=3Dcompile cc -DHAVE_CONFIG_H -I. -I. -I.      -O -pipe -marc=
h=3Dk6 -Wall -c -o bsd.lo `test -f bsd.c || echo './'`bsd.c=0D
rm -f .libs/bsd.lo=0D
cc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -march=3Dk6 -Wall -c bsd.c -Wp,-MD,=
.deps/bsd.TPlo  -fPIC -DPIC -o .libs/bsd.lo=0D
bsd.c: In function `usb_set_altinterface':=0D
bsd.c:154: structure has no member named `interface_index'=0D
bsd.c:155: structure has no member named `alt_no'=0D
bsd.c: In function `usb_control_msg':=0D
bsd.c:287: structure has no member named `request'=0D
bsd.c:288: structure has no member named `request'=0D
bsd.c:289: structure has no member named `request'=0D
bsd.c:289: structure has no member named `request'=0D
bsd.c:289: warning: left-hand operand of comma expression has no effect=0D
bsd.c:290: structure has no member named `request'=0D
bsd.c:290: structure has no member named `request'=0D
bsd.c:290: warning: left-hand operand of comma expression has no effect=0D
bsd.c:291: structure has no member named `request'=0D
bsd.c:291: structure has no member named `request'=0D
bsd.c:291: warning: left-hand operand of comma expression has no effect=0D
bsd.c:293: structure has no member named `data'=0D
bsd.c:294: structure has no member named `flags'=0D
bsd.c:306: structure has no member named `request'=0D
bsd.c:306: structure has no member named `request'=0D
bsd.c:307: warning: control reaches end of non-void function=0D
bsd.c: In function `usb_find_devices_on_bus':=0D
bsd.c:324: structure has no member named `addr'=0D
bsd.c:330: structure has no member named `devnames'=0D
bsd.c:335: structure has no member named `devnames'=0D
*** Error code 1=0D
=0D
Stop in /usr/ports/devel/libusb/work/libusb-0.1.5.=0D
*** Error code 1=0D
=0D
Stop in /usr/ports/devel/libusb/work/libusb-0.1.5.=0D
*** Error code 1=0D
=0D
Stop in /usr/ports/devel/libusb/work/libusb-0.1.5.=0D
*** Error code 1=0D
=0D
Stop in /usr/ports/devel/libusb.=0D
*** Error code 1=0D
=0D
Stop in /usr/ports/devel/libusb.=0D
*** Error code 1=0D
=0D
Stop in /usr/ports/devel/libusb.=0D
black# ^D=08=08exit=0D

Script done on Sun Mar 10 18:59:48 2002

--=20
"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>