getaddrinfo failed: Servname not supported for ai_socktype

Steven Hirsch snhirsch at gmail.com
Wed Aug 11 18:56:37 EDT 2010


On Wed, 11 Aug 2010, Matthew Kitchin (public/usenet) wrote:

> On 8/10/2010 5:03 PM, Matthew Kitchin (public/usenet) wrote:
>> Almost done building a Debian system to try everything out there. The 
>> OpenWrt compiling directions are geared toward Debian, so maybe I will have 
>> better luck with that.
> And I'm still stuck on the error below. I'll keep trying :)
>
> checking for mips-openwrt-linux-strip... mips-openwrt-linux-uclibc-strip
> checking for mips-openwrt-linux-gcc... mips-openwrt-linux-uclibc-gcc
> checking for C compiler default output file name...
> configure: error: C compiler cannot create executables
> See `config.log' for more details.

If the openwrt build is anything similar to Tomato, there is a name 
mismatch between the actual tools and what the build script assumes.  I 
had to create a couple of symlinks:

total 16
drwxr-xr-x  4 root  root    4096 2010-01-09 10:24 .
drwxr-xr-x 19  7662 users   4096 2010-05-26 07:36 ..
lrwxrwxrwx  1 root  root      27 2010-01-09 10:24 hndtools-mipsel-linux -> hndtools-mipsel-linux-3.2.3
drwxr-xr-x  9 52290 dialout 4096 2004-03-29 18:07 hndtools-mipsel-linux-3.2.3
lrwxrwxrwx  1 root  root      28 2010-01-09 10:15 hndtools-mipseluclib -> hndtools-mipsel-uclibc-3.2.3
lrwxrwxrwx  1 root  root      28 2010-01-09 10:23 hndtools-mipsel-uclibc -> hndtools-mipsel-uclibc-3.2.3
drwxr-xr-x  6 52290 dialout 4096 2004-03-29 19:07 hndtools-mipsel-uclibc-3.2.3

Hope this applies!

Steve



-- 




More information about the openconnect-devel mailing list