On Thu, Aug 22, 2013 at 10:50 PM, Hans de Goede <hdego...@redhat.com> wrote:
> On 08/22/2013 03:30 AM, Xiaofan Chen wrote:
>> For OpenBSD and NetBSD, I can carry out some simple tests
>> over the weekend (basic building, stress test and xusb example
>> on a few devices).
>
> I was already hoping you would test these, thanks in advance!
>
> And I hope I did not break anything there ...
>

It does seem to break OpenBSD build (ver 5.2 used here), will test
NetBSD later.

$ ./autogen.sh
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... yes
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... i386-unknown-openbsd5.2
checking host system type... i386-unknown-openbsd5.2
checking how to print strings... print -r
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/bin/ld
checking if the linker (/usr/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... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert i386-unknown-openbsd5.2 file names to
i386-unknown-openbsd5.2 format... func_convert_file_noop
checking how to convert i386-unknown-openbsd5.2 file names to
toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern
/lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
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... no
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/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... openbsd5.2 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... OpenBSD
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 syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for syslog... yes
checking for sigaction... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for gettimeofday... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking that generated files are newer than configure... done
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 tests/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

$ make -i
make  all-recursive
Making all in 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-strerror.lo
  CC       libusb_1_0_la-sync.lo
  CC       libusb_1_0_la-hotplug.lo
  CC       os/libusb_1_0_la-threads_posix.lo
  CC       os/libusb_1_0_la-openbsd_usb.lo
os/openbsd_usb.c: In function 'obsd_get_device_list':
os/openbsd_usb.c:148: error: storage size of 'dd' isn't known
os/openbsd_usb.c:207: error: 'USB_DEVICE_GET_DDESC' undeclared (first
use in this function)
os/openbsd_usb.c:207: error: (Each undeclared identifier is reported only once
os/openbsd_usb.c:207: error: for each function it appears in.)
os/openbsd_usb.c:148: warning: unused variable 'dd'
os/openbsd_usb.c: In function 'obsd_get_config_descriptor':
os/openbsd_usb.c:321: error: storage size of 'udf' isn't known
os/openbsd_usb.c:335: error: 'USB_DEVICE_GET_FDESC' undeclared (first
use in this function)
os/openbsd_usb.c:321: warning: unused variable 'udf'
os/openbsd_usb.c: In function '_cache_active_config_descriptor':
os/openbsd_usb.c:630: error: storage size of 'udc' isn't known
os/openbsd_usb.c:631: error: storage size of 'udf' isn't known
os/openbsd_usb.c:643: error: 'USB_DEVICE_GET_CDESC' undeclared (first
use in this function)
os/openbsd_usb.c:664: error: 'USB_DEVICE_GET_FDESC' undeclared (first
use in this function)
os/openbsd_usb.c:631: warning: unused variable 'udf'
os/openbsd_usb.c:630: warning: unused variable 'udc'
*** Error code 1 (ignored)
  CC       os/libusb_1_0_la-poll_posix.lo
  CCLD     libusb-1.0.la
libtool: link: `os/libusb_1_0_la-openbsd_usb.lo' is not a valid libtool object
*** Error code 1 (ignored)
Making all in doc
Making all in examples
  CC       listdevs.o
make: don't know how to make ../libusb/libusb-1.0.la. Stop in
/home/mcuee/Desktop/build/libusbx/libusbx/examples.
*** Error code 1 (ignored)


-- 
Xiaofan

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to