Modify ↓
#8044 closed defect (no_response)
opkg (r23229) compilation failure
Reported by: | AndyI <pasha_inter@…> | Owned by: | jow |
---|---|---|---|
Priority: | normal | Milestone: | Barrier Breaker 14.07 |
Component: | packages | Version: | Trunk |
Keywords: | opkg cygwin | Cc: |
Description
$ uname -a
CYGWIN_NT-5.2 server00 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
make[3]: Entering directory `/ar7n/trunk/package/opkg' . /ar7n/trunk/include/shell.sh; gzip -dc /ar7n/trunk/dl/opkg-563.tar.gz | trapre t 2 /usr/bin/tar -C /ar7n/trunk/build_dir/host/opkg-563/.. -xf - Applying ./patches/003-fs_overlay_support.patch using plaintext: patching file libopkg/opkg_conf.c patching file libopkg/opkg_conf.h patching file libopkg/opkg_install.c Applying ./patches/004-host_cpu.patch using plaintext: patching file libbb/Makefile.am patching file libopkg/Makefile.am Applying ./patches/007-force_static.patch using plaintext: patching file libopkg/Makefile.am patching file libbb/Makefile.am patching file tests/Makefile.am patching file src/Makefile.am Applying ./patches/011-old-config-location.patch using plaintext: patching file src/opkg-cl.c Applying ./patches/012-strip-trailing-conffiles-whitespace.patch using plaintext : patching file libopkg/opkg_install.c Applying ./patches/013-add-list-changed-conffiles.patch using plaintext: patching file libopkg/opkg_cmd.c patching file src/opkg-cl.c touch /ar7n/trunk/build_dir/host/opkg-563/.prepared6f44bb79906942e7dda3312bdb851 efe (cd /ar7n/trunk/build_dir/host/opkg-563; autoreconf -v --install || exit 1) autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I shave autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory conf autoreconf: running: libtoolize --copy Putting files in AC_CONFIG_AUX_DIR, `conf'. autoreconf: running: /ar7n/trunk/staging_dir/host/bin/autoconf autoreconf: running: /ar7n/trunk/staging_dir/host/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force configure.ac:9: installing `conf/missing' configure.ac:9: installing `conf/install-sh' libbb/Makefile.am: installing `conf/depcomp' autoreconf: Leaving directory `.' (cd /ar7n/trunk/build_dir/host/opkg-563/; if [ -x configure ]; then cp -fpR /ar7 n/trunk/scripts/config.{guess,sub} /ar7n/trunk/build_dir/host/opkg-563// && ./c onfigure CFLAGS="-O2 -I/ar7n/trunk/staging_dir/host/include" CPPFLAGS="-O2 -I/ar 7n/trunk/staging_dir/host/include" LDFLAGS="-L/ar7n/trunk/staging_dir/host/lib" SHELL="/usr/bin/bash" --target=i686-pc-cygwin --host=i686-pc-cygwin --build=i686 -pc-cygwin --program-prefix="" --program-suffix="" --prefix=/ar7n/trunk/staging_ dir/host --exec-prefix=/ar7n/trunk/staging_dir/host --sysconfdir=/ar7n/trunk/sta ging_dir/host/etc --localstatedir=/ar7n/trunk/staging_dir/host/var --disable-cur l --disable-gpg --with-opkgetcdir=/etc --with-opkglockfile=/tmp/opkg.lock ; fi ) checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking for style of include used by make... GNU checking for i686-pc-cygwin-gcc... i686-pc-cygwin-gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-cygwin-gcc accepts -g... yes checking for i686-pc-cygwin-gcc option to accept ISO C89... none needed checking dependency style of i686-pc-cygwin-gcc... gcc3 checking how to run the C preprocessor... i686-pc-cygwin-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for gawk... (cached) gawk checking for i686-pc-cygwin-gcc... (cached) i686-pc-cygwin-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i686-pc-cygwin-gcc accepts -g... (cached) yes checking for i686-pc-cygwin-gcc option to accept ISO C89... (cached) none needed checking dependency style of i686-pc-cygwin-gcc... (cached) gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for a sed that does not truncate output... /ar7n/trunk/staging_dir/host /bin/sed checking for ld used by i686-pc-cygwin-gcc... /usr/i686-pc-cygwin/bin/ld.exe checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognize dependent libraries... file_magic ^x86 archive import| ^x86 DLL checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... 8192 checking command to parse /usr/bin/nm -B output from i686-pc-cygwin-gcc object.. . ok checking for objdir... .libs checking for i686-pc-cygwin-ar... no checking for ar... ar checking for i686-pc-cygwin-ranlib... no checking for ranlib... ranlib checking for i686-pc-cygwin-strip... no checking for strip... strip checking if i686-pc-cygwin-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-cygwin-gcc option to produce PIC... -DDLL_EXPORT checking if i686-pc-cygwin-gcc PIC flag -DDLL_EXPORT works... yes checking if i686-pc-cygwin-gcc static flag -static works... yes checking if i686-pc-cygwin-gcc supports -c -o file.o... yes checking whether the i686-pc-cygwin-gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... Win32 ld.exe 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 configure: creating libtool checking pkg-config is at least version 0.20... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for memory.h... (cached) yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for struct stat.st_rdev... yes checking whether byte ordering is bigendian... no checking for unistd.h... (cached) yes checking for working chown... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking return type of signal handlers... void checking for utime.h... (cached) yes checking whether utime accepts a null argument... yes checking for vprintf... yes checking for _doprnt... no checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for regcomp... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strndup... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for sysinfo... no checking for utime... yes checking for sed... /ar7n/trunk/staging_dir/host/bin/sed configure: creating ./config.status config.status: creating Makefile config.status: creating libopkg/Makefile config.status: creating tests/Makefile config.status: creating src/Makefile config.status: creating libbb/Makefile config.status: creating utils/Makefile config.status: creating utils/update-alternatives config.status: creating libopkg.pc config.status: creating shave/shave config.status: creating shave/shave-libtool config.status: creating man/Makefile config.status: creating man/opkg-cl.1 config.status: creating man/opkg-key.1 config.status: creating libopkg/config.h config.status: executing depfiles commands touch /ar7n/trunk/build_dir/host/opkg-563/.configured make -C /ar7n/trunk/build_dir/host/opkg-563 CC="gcc" all make[4]: Entering directory `/ar7n/trunk/build_dir/host/opkg-563' Making all in libbb make[5]: Entering directory `/ar7n/trunk/build_dir/host/opkg-563/libbb' make[5]: Leaving directory `/ar7n/trunk/build_dir/host/opkg-563/libbb' Making all in libopkg make[5]: Entering directory `/ar7n/trunk/build_dir/host/opkg-563/libopkg' make[6]: Entering directory `/ar7n/trunk/build_dir/host/opkg-563/libopkg' opkg_conf.c: In function `opkg_conf_load': opkg_conf.c:494: warning: implicit declaration of function `lockf' opkg_conf.c:494: error: `F_TLOCK' undeclared (first use in this function) opkg_conf.c:494: error: (Each undeclared identifier is reported only once opkg_conf.c:494: error: for each function it appears in.) opkg_conf.c:563: error: `F_ULOCK' undeclared (first use in this function) opkg_conf.c: In function `opkg_conf_deinit': opkg_conf.c:637: error: `F_ULOCK' undeclared (first use in this function) make[6]: *** [opkg_conf.o] Error 1 make[6]: Leaving directory `/ar7n/trunk/build_dir/host/opkg-563/libopkg' make[5]: *** [all] Error 2 make[5]: Leaving directory `/ar7n/trunk/build_dir/host/opkg-563/libopkg' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/ar7n/trunk/build_dir/host/opkg-563' make[3]: *** [/ar7n/trunk/build_dir/host/opkg-563/.built] Error 2 make[3]: Leaving directory `/ar7n/trunk/package/opkg' make[2]: *** [package/opkg/host/compile] Error 2 make[2]: Leaving directory `/ar7n/trunk' make[1]: *** [/ar7n/trunk/staging_dir/target-mips_uClibc-0.9.30.1/stamp/.package _compile] Error 2 make[1]: Leaving directory `/ar7n/trunk' make: *** [world] Error 2 Administrator@server00 /ar7n/trunk $
Attachments (1)
Change History (4)
comment:1 Changed 7 years ago by jow
- Owner changed from developers to jow
- Status changed from new to accepted
Changed 7 years ago by jow
Make compilation of lockf() dependant on existance of F_TLOCK and F_ULOCK
comment:2 Changed 7 years ago by jow
- Resolution set to no_response
- Status changed from accepted to closed
timeout
comment:3 Changed 4 years ago by jow
- Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07
Milestone Attitude Adjustment 12.09 deleted
Note: See
TracTickets for help on using
tickets.
It looks like you need at least Cygwin 1.7.1 for lockf().
Can you try the attached patch below please?