curl / Mailing Lists / curl-library / Single Mail

curl-library

Configure libcurl 7.57.0 to run with lwip on open RTOS (MIPS)

From: Tsachi via curl-library <curl-library_at_cool.haxx.se>
Date: Sun, 21 Jan 2018 19:07:37 +0200

Hi,
I have download the latest libcurl code and I am trying to run
configure (using cross compiler for MIPS).
I have an issue while running the configure command on Linux host.
It seems that the configure doesn't find the gethostbyname function in
the lwip library.

The command is:
./configure --host=mips-mti-elf --prefix=/projects/libcurl/build/
--build=mips LDFLAGS="-L../../build/Core/" LIBS="-llwip"

Below is the relevant error:
.
.
.
checking for gethostbyname... no
checking for gethostbyname in -lnsl... no
checking for gethostbyname in -lsocket... no
checking for gethostbyname in -lwatt... no
checking for gethostbyname with both nsl and socket libs... no
checking for gethostbyname for Minix 3... no
checking for gethostbyname for eCos... no
checking for gethostbyname in -lnetwork... no
checking for gethostbyname in -lnet... no
configure: error: couldn't find libraries for gethostbyname()

1. Am I doing something incorrect ?
2. Does anyone had such issue ?
3. Does curl support lwip and works on RTOS ?

Thanks in advance !
Kimel
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-01-21