[Libusbx-devel] libusbx-1.0.10-rc1 now available
Xiaofan Chen
xiaofanc at gmail.com
Sat Apr 14 05:25:23 EDT 2012
On Sat, Apr 14, 2012 at 11:00 AM, Xiaofan Chen <xiaofanc at gmail.com> wrote:
> The rc1 source tar ball looks quite okay to me, tested
> (build and run the two examples) under Mac OS X Lion,
> Slackware Linux 13.37 VM and OpenBSD 5.0 VM
> as well. No compiler warnings. The examples also
> run fine.
There are a few compiler warnings under Slackware 9.0
which is the first version of Slackware to have a gcc 3.x
version (gcc 2.9x can not be used to build libusbx).
It was released in 2003 and has 2.4.20 kernel. libusbx
seems to work fine there.
bash-2.05b$ cd libusbx-1.0.10-rc1
bash-2.05b$ ls
AUTHORS Makefile.in TODO config.sub examples missing
COPYING NEWS aclocal.m4 configure install-sh msvc
ChangeLog PORTING compile configure.ac libusb
INSTALL README config.guess depcomp libusb-1.0.pc.in
Makefile.am THANKS config.h.in doc ltmain.sh
bash-2.05b$ ./configure --enable-examples-build
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/i386-slackware-linux/bin/ld
checking if the linker (/usr/i386-slackware-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert i686-pc-linux-gnu file names to
i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain
format... func_convert_file_noop
checking for /usr/i386-slackware-linux/bin/ld option to reload object
files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/i386-slackware-linux/bin/ld)
supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for windres... no
checking for inline... inline
checking whether gcc and cc understand -c and -o together... yes
checking operating system... Linux
checking for clock_gettime in -lrt... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/timerfd.h usability... no
checking sys/timerfd.h presence... no
checking for sys/timerfd.h... no
checking whether TFD_NONBLOCK is declared... no
checking whether to use timerfd for timing... no (header not available)
checking for struct timespec... yes
checking for sigaction... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
configure: creating ./config.status
config.status: creating libusb-1.0.pc
config.status: creating Makefile
config.status: creating libusb/Makefile
config.status: creating examples/Makefile
config.status: creating doc/Makefile
config.status: creating doc/doxygen.cfg
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
bash-2.05b$ make
make all-recursive
make[1]: Entering directory `/home/mcuee/libusbx-1.0.10-rc1'
Making all in libusb
make[2]: Entering directory `/home/mcuee/libusbx-1.0.10-rc1/libusb'
CC libusb_1_0_la-core.lo
CC libusb_1_0_la-descriptor.lo
CC libusb_1_0_la-io.lo
CC libusb_1_0_la-sync.lo
CC libusb_1_0_la-linux_usbfs.lo
os/linux_usbfs.c: In function `find_monotonic_clock':
os/linux_usbfs.c:210: warning: unused variable `ts'
os/linux_usbfs.c:211: warning: unused variable `r'
CC libusb_1_0_la-threads_posix.lo
CCLD libusb-1.0.la
make[2]: Leaving directory `/home/mcuee/libusbx-1.0.10-rc1/libusb'
Making all in doc
make[2]: Entering directory `/home/mcuee/libusbx-1.0.10-rc1/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mcuee/libusbx-1.0.10-rc1/doc'
Making all in examples
make[2]: Entering directory `/home/mcuee/libusbx-1.0.10-rc1/examples'
CC listdevs.o
CCLD listdevs
CC xusb.o
CCLD xusb
CC dpfp.o
CCLD dpfp
CC dpfp_threaded-dpfp_threaded.o
CCLD dpfp_threaded
make[2]: Leaving directory `/home/mcuee/libusbx-1.0.10-rc1/examples'
make[2]: Entering directory `/home/mcuee/libusbx-1.0.10-rc1'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/mcuee/libusbx-1.0.10-rc1'
make[1]: Leaving directory `/home/mcuee/libusbx-1.0.10-rc1'
bash-2.05b$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/specs
Configured with: ../gcc-3.2.2/configure --prefix=/usr --enable-shared
--enable-threads=posix --enable-__cxa_atexit --disable-checking
--with-gnu-ld --verbose --target=i386-slackware-linux
--host=i386-slackware-linux
Thread model: posix
gcc version 3.2.2
bash-2.05b$ uname -a
Linux slack9vm 2.4.20 #2 Mon Mar 17 22:02:15 PST 2003 i686 unknown
--
Xiaofan
More information about the libusbx
mailing list