Displaying 20 results from an estimated 451 matches for "socklen_t".
2005 Dec 16
2
R compile on AIX 5.3
...DHAVE_CONFIG_H -mno-fp-in-toc -g -O2 -c
platform.c -o platform.o
In file included from /usr/include/netdb.h:47,
from platform.c:1365:
/usr/include/netinet/in.h:793: error: parse error before
"inet6_rth_space"
/usr/include/netinet/in.h:794: error: parse error before "socklen_t"
/usr/include/netinet/in.h:800: error: parse error before "socklen_t"
/usr/include/netinet/in.h:801: error: parse error before "socklen_t"
/usr/include/netinet/in.h:803: error: parse error before "socklen_t"
/usr/include/netinet/in.h:804: error: parse error before...
2005 Mar 17
1
Bogus autoconf test for socklen_t
This affects the XMMS plugin. configure.in has this test:
AC_CHECK_TYPES(socklen_t, [], [])
And src/plugin_xmms/http.c is the only consumer:
#ifndef HAVE_SOCKLEN_T
typedef unsigned int socklen_t;
#endif
Together this looks bogus to me. The configure check looks for
socklen_t in the default headers. If it isn't found there, socklen_t
will be typedef'ed.
However...
2010 Oct 20
4
cross-compiling the windows_port branch (socklen_t)
Fr?d?ric,
I'm curious as to how you are configuring the windows_port branch.
When I try to cross-compile, configure complains about socklen_t:
$ ./configure --host=i686-pc-mingw32
Network UPS Tools version 2.4.3
[...]
checking for socklen_t... no
checking for socklen_t equivalent... configure: error: Cannot find a
type to use in place of socklen_t
The test (m4/nut_type_socklen_t.m4) is only looking in sys/types.h and
sys/socket.h,...
1999 Dec 28
2
autoconf check for socklen_t
Here's a configure check to see if socklen_t is defined. Even though my
man pages on linux say accept(2) takes (int *) as it's 3rd arg, the
sys/socket.h files begs to differ.
If not defined (which is doesn't seem to be on AIX 4.2.1), it can be
explicitly typedef'ed to (unsigned int). Now do mainstream code changes
get submitted...
2001 Nov 09
1
socklen_t - where?
Hi,
openssh_cvs as of today, SCO Open Server 3.0, socklen_t
this typedef doesn't exist on SCO OSR 3, and "configure" properly detects
this, leading to
/* #undef HAVE_SOCKLEN_T */
in config.h.
Problem: I can't find any place where this is actually being used? I'd
expect something like
#ifndef HAVE_SOCKLEN_T
typdef int socklen_t;...
2015 Apr 08
10
Build-system cleanups
Hi everyone
Following are a number of build-system cleanup patches. Some of them are
prep-work for a possible upcoming automake/gnulib introduction.
Best regards,
Tiziano
2006 Feb 28
1
Compiling R on aix getting error
...quot; is up to date.
xlc -I../../src/extra/zlib -I../../src/extra/bzip2
-I../../src/extra/pcre -I. -I../../src/include -I../../src/include
-DHAVE_CONFIG_H -O -qstrict -c platform.c -o platform.o
"/usr/include/netinet/in.h", line 793.1: 1506-166 (S) Definition of
function socklen_t requires parentheses.
"/usr/include/netinet/in.h", line 793.17: 1506-276 (S) Syntax error:
possible missing '{'?
"/usr/include/sys/socket.h", line 374.9: 1506-046 (S) Syntax error.
"/usr/include/sys/socket.h", line 378.9: 1506-046 (S) Syntax error.
"/usr/...
2016 Jan 06
0
[klibc:master] Add accept4(), handle fallback from accept () to accept4()
...3 deletions(-)
diff --git a/usr/include/sys/socket.h b/usr/include/sys/socket.h
index 3334212..d0ba9eb 100644
--- a/usr/include/sys/socket.h
+++ b/usr/include/sys/socket.h
@@ -251,6 +251,7 @@ __extern int bind(int, const struct sockaddr *, int);
__extern int connect(int, const struct sockaddr *, socklen_t);
__extern int listen(int, int);
__extern int accept(int, struct sockaddr *, socklen_t *);
+__extern int accept4(int, struct sockaddr *, socklen_t *, int);
__extern int getsockname(int, struct sockaddr *, socklen_t *);
__extern int getpeername(int, struct sockaddr *, socklen_t *);
__extern int...
2011 Aug 29
0
[PATCH] include: [sys/socket.h] Fix bind and connect attributes
.../socket.h b/usr/include/sys/socket.h
index fbc7711..38cfef6 100644
--- a/usr/include/sys/socket.h
+++ b/usr/include/sys/socket.h
@@ -244,8 +244,8 @@ struct ucred {
__extern int socket(int, int, int);
-__extern int bind(int, struct sockaddr *, int);
-__extern int connect(int, struct sockaddr *, socklen_t);
+__extern int bind(int, const struct sockaddr *, int);
+__extern int connect(int, const struct sockaddr *, socklen_t);
__extern int listen(int, int);
__extern int accept(int, struct sockaddr *, socklen_t *);
__extern int getsockname(int, struct sockaddr *, socklen_t *);
diff --git a/usr/klibc/...
1998 May 14
1
samba main cvs branch seems to be broken on 64-bit boxes.....
hi there :)
the code in util.c seems to have some bugs w/regard to compilation on
64-bit machines. in this case, the hardware is an Alpha running redhat
4.2 with pam turned off in the makefile.
i get a whole series of errors, all of which say "passing arg 'n' of
'function' from incompatible pointer type. in util.c, checked out of the
main branch the day before yesterday,
2016 Mar 30
2
[Bug 11813] New: m4/socklen_t.m4 uses obsolete AC_TRY_COMPILE macro
https://bugzilla.samba.org/show_bug.cgi?id=11813
Bug ID: 11813
Summary: m4/socklen_t.m4 uses obsolete AC_TRY_COMPILE macro
Product: rsync
Version: 3.1.2
Hardware: All
OS: All
Status: NEW
Severity: trivial
Priority: P5
Component: core
Assignee: wayned at samba.org
Reporter: b...
2003 Nov 14
1
Rsync 2.5.6 - Configure problem on HP-UX 11.i
Hello,
I received the following socket error when I try to run 'configure' on a
new HP-UX 11.i server. (It works fine of HP-UX 11.0) Can anyone help
with this error?
checking for struct stat.st_rdev... yes
checking for ino_t... yes
checking for socklen_t... no
checking for socklen_t equivalent... configure: error: Cannot find a
type to use in place of socklen_t
[/opt/rsync/rsync-2.5.6]$
Thanks,
Robert C. Hursch
UNIX Administration
Lockheed Martin
Tel: 303-430-2037 Fax: 2187
robert.hursch@lmco.com
2004 Nov 01
1
Configure error: Cannot find a type to use in place of socklen_t
Hi,
I'm using rsync with cygwin (i'm working on a windows OS) but when the config script is running i get an error - "Cannot find a type to use in place of socklen_t".
I have searched google but most of the solutions said to edit the configure file but none of their files that they are editing look like my configure file.
Does anyone know how i might fix this error?
Thanks in advance
2005 Apr 18
14
[Bug 1017] socklen_t test in configure fails/configure stops
http://bugzilla.mindrot.org/show_bug.cgi?id=1017
Summary: socklen_t test in configure fails/configure stops
Product: Portable OpenSSH
Version: 4.0p1
Platform: All
OS/Version: AIX
Status: NEW
Keywords: low-hanging-fruit
Severity: normal
Priority: P2
Component: Build system...
2000 Jun 27
1
openssh-2.1.1p1 on Irix6.2 report
...usr/local/include -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh/ssh-askpass\" -DHAVE_CONFIG_H -c canohost.c
"canohost.c", line 41: warning(1164): argument of type "socklen_t *" is
incompatible with parameter of type "int *"
if (getpeername(socket, (struct sockaddr *) & from, &fromlen) < 0) {
^
"canohost.c", line 153: warning(1164): argument of type "socklen_t *...
2002 May 21
0
[Bug 58] Cannot find a type to use in place of socklen_t
http://bugzilla.mindrot.org/show_bug.cgi?id=58
------- Additional Comments From kamo at ITmanage.co.jp 2002-05-21 21:31 -------
On my system (RHL6.2), socklen_t is defined in /usr/include/bits/socket.h .
My workarond:
echo 'ac_cv_type_socklen_t=${ac_cv_type_socklen_t=yes}' >config.cache
./configure -C --with....
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2001 Aug 15
2
rsync building OK on HP-UX 11.00 and 11.11?
On 8 Aug 2001, "MCCALL,DON (HP-USA,ex1)" <don_mccall@hp.com> wrote:
> Hi Martin,
> Thought I would let you know that rsync is failing to
> build on HP-UX 11.00 and 11.11 (using HP's ansi C compiler) because of a
> test you have for socklen_t; on HP-UX 11.00 and 11.11, socklen_t is not
> defined in types.h, but instead is defined in socket.h
> Result is that we get socklen_t defined in config.h, and then get a complier
> error when it gets REdefined in socket.h
I think this is now working OK on the CVS head. Please let me kno...
2002 Nov 26
1
Will pay $50 for a MingW build of latest rsync for Win32
I need to distribute rsync (useable for both client and --daemon) on
Win32. Distributing cygwin1.dll is, well you know, a bad idea. I took a
shot at building under MingW but ran into an ugly looking error:
> checking for socklen_t... no
> checking for socklen_t equivalent... configure: error: Cannot find a
> type to use in place of socklen_t
I will pay $50 for a MingW build of latest Rsync for Win32 along with
whatever libraries or source changes needed to make the build work.
Payment will go to the first person to...
1999 Dec 29
1
Patch to use Dante socks library
...fine read Rread
+#define readv Rreadv
+#define recv Rrecv
+#define recvmsg Rrecvmsg
+#define recvfrom Rrecvfrom
+#define rresvport Rrresvport
+#define send Rsend
+#define sendmsg Rsendmsg
+#define sendto Rsendto
+#define write Rwrite
+#define writev Rwritev
+int Raccept (int, struct sockaddr *, socklen_t *);
+int Rbind (int, const struct sockaddr *, socklen_t);
+int Rbindresvport(int , struct sockaddr_in *);
+int Rconnect (int, const struct sockaddr *, socklen_t);
+struct hostent *Rgethostbyname(const char *);
+struct hostent *Rgethostbyname2(const char *, int);
+int Rgetpeername (int,...
2001 Dec 29
0
[Bug 58] Cannot find a type to use in place of socklen_t
http://bugzilla.mindrot.org/show_bug.cgi?id=58
bugzilla at candlefire.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From bugzilla at candlefire.org