Project

General

Profile

Bug #376

Unable to compile strongswan 5.1.0 on openwrt

Added by G. V. almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
libstrongswan
Target version:
Start date:
08.08.2013
Due date:
Estimated time:
Affected version:
5.1.0
Resolution:
Fixed

Description

OpenWrt-libtool: compile: ccache_cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/libstrongswan -DIPSEC_DIR=\"/usr/lib/ipsec\" -DIPSEC_LIB_DIR=\"/usr/lib/ipsec\" -DPLUGINDIR=\"/usr/lib/ipsec/plugins\" -DSTRONGSWAN_CONF=\"/etc/strongswan.conf\" -I/home/gabriel/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/home/gabriel/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/home/gabriel/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/home/gabriel/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -include /home/gabriel/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/strongswan-5.1.0/config.h -MT backtrace.lo -MD -MP -MF .deps/backtrace.Tpo -c utils/backtrace.c -fPIC -DPIC -o .libs/backtrace.o
utils/backtrace.c:539:21: error: conflicting types for 'clone'
/home/gabriel/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.3/../../../../mips-openwrt-linux-uclibc/sys-include/bits/sched.h:81:12: note: previous declaration of 'clone' was here

Associated revisions

Revision a24515c5 (diff)
Added by Martin Willi almost 7 years ago

backtrace: rename clone() method clashing with system call

Fixes #376.

History

#1 Updated by G. V. almost 7 years ago

I reverted the commit d9c459e8557da4650dd5df7ceb6ccf468e923541 and now everything seems to be fine.

Sorry for the blank duplicate.

#2 Updated by Martin Willi almost 7 years ago

  • Category set to libstrongswan
  • Status changed from New to Closed
  • Assignee set to Martin Willi
  • Target version set to 5.1.1
  • Resolution set to Fixed

Thanks for the bug report, fixed with the associated commit.

Regards
Martin

Also available in: Atom PDF