Skip to content
This repository has been archived by the owner on Mar 17, 2018. It is now read-only.

A toolchain cross compiler for the entware-ng #40

Closed
houzi- opened this issue Nov 27, 2015 · 4 comments
Closed

A toolchain cross compiler for the entware-ng #40

houzi- opened this issue Nov 27, 2015 · 4 comments
Labels

Comments

@houzi-
Copy link

houzi- commented Nov 27, 2015

erro:

checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... no
checking whether pthreads work with -pthreads... no
checking whether pthreads work with -mthreads... no
checking for the pthreads library -lpthread... no
checking whether pthreads work with --thread-safe... no
checking whether pthreads work with -mt... no
checking for pthread-config... no
configure: error: Missing Pthread Library

My compiler parameter is:

LIBS="-ldl" LDFLAGS="-Wl,-static -static -static-libgcc" ./configure --host=mipsel-openwrt-linux-uclibc CC=mipsel-openwrt-linux-gcc --with-openssl=/home/mipsel/openssl --with-zlib=/home/mipsel/zlib
@zyxmon
Copy link
Member

zyxmon commented Nov 27, 2015

It is configure script that cannot find threads support. I do not remember now - how i've fixed similar error for one of the packages.
Please use openwrt style Makefiles to build packages. Try to set PKG_FIXUP:=autoreconf in case of similar errors.

@houzi-
Copy link
Author

houzi- commented Nov 27, 2015

@zyxmon Because shadowsocks-libev update to the latest version, and entware or old version , want to build a new one, I do not know whether you will update shadowsocks-libev
https://github.com/shadowsocks/shadowsocks-libev

@zyxmon
Copy link
Member

zyxmon commented Nov 27, 2015

All you need to change - is to update Makefile (and patches) here - https://github.com/Entware-ng/entware-packages/tree/master/net/shadowsocks-libev

(after getting feeds with ./scripts/feeds ...) and run

make package/shadowsocs-libev/compile

We will update entware package after openwrt updates it here - https://github.com/openwrt/packages/tree/master/net/shadowsocks-libev

@zyxmon
Copy link
Member

zyxmon commented Dec 1, 2015

the package is upgraded in - Entware/entware-ng-packages@da77e29

@zyxmon zyxmon closed this as completed Dec 1, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

3 participants