LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 04-23-2004, 09:24 AM   #1
josephswagner
Member
 
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.



Code:
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
phil_ro
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:

Code:
# 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):

Code:
#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 ).
 
  


Reply


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


All times are GMT -5. The time now is 02:23 AM.

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