Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-23-2004, 09:24 AM   #1
Registered: Mar 2002
Distribution: Redhat, OWL, Mandrake, Winblows
Posts: 45

Rep: Reputation: 15
Angry problem compiling openssh

When configuring openssh 3.7.1p2 I get this error and I cannot go any further. Anyone have an idea? Thanks.

checking for socklen_t... no
checking for socklen_t equivalent... configure: error: Cannot find a type to use in place of socklen_t
Old 03-27-2005, 05:42 AM   #2
LQ Newbie
Registered: Mar 2005
Location: Earth / Europe / Romania / Bucharest
Distribution: Gentoo
Posts: 1

Rep: Reputation: 0
the solution to "socklen_t missing" problem

I had the same problem on a poor installed slackware (no headers, no C-compiler, etc.. ) ... and I've done this:

# ln -sf /usr/src/linux/include/linux /usr/include/linux
# ln -sf /usr/src/linux/include/asm-i386 /usr/include/asm
but be sure that we have install some linux-headers or a linux-kernel under /usr/src/linux !

To test it, you can compile a test C code (test.c):

#include <sys/socket.h>
main() {
 struct sockaddr name;
 socklen_t namelen;
 getpeername(0, &name, &namelen);
and see what if it returns some errors, after you run the resulted compiled code ( above ).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC2 compiling openssl/openssh TSJoshB Fedora 4 07-04-2005 02:25 PM
X11 tunneling through OpenSSH Problem IRIGHTI Linux - Software 9 11-22-2004 09:56 PM
Problem with init script for openssh kaplan71 Linux - Networking 1 04-28-2004 01:32 PM
Publickey authentication problem with OpenSSH Tularis Linux - Networking 2 03-17-2004 11:50 AM
openssh/PAM auth problem crippler909 Linux From Scratch 1 06-08-2003 11:51 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration