search for: netdb

Displaying 20 results from an estimated 341 matches for "netdb".

2003 Jun 24
8
[Bug 602] enormous bitching about netdb.h
http://bugzilla.mindrot.org/show_bug.cgi?id=602 Summary: enormous bitching about netdb.h Product: Portable OpenSSH Version: 3.6.1p2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Build system AssignedTo: openssh-bugs at mindrot.org ReportedBy: tedm at t...
2015 Feb 24
4
Call for testing: OpenSSH 6.8
...g <err.h>. > > I noticed one of the changes was about HOST_NAME_MAX but I don't > think that change addresses the real issue on at least these old > Solaris systems. It looks to me like the fall back in defines.h > was not activated because Solaris has MAXHOSTNAMELEN in <netdb.h> > which has not been included when defines.h tries to find a fall back > HOST_NAME_MAX. > > Looking at sshd.c with gcc -dD -E confirms it as defines.h now set > HOST_NAME_MAX to 255 and later <netdb.h> is included which then > defines MAXHOSTNAMELEN to 256. > > I...
2003 Mar 17
1
Error in making R-1.6.2.
...got the following error message: ===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+=== gcc -I. -I../../src/include -I../../src/include -DHAVE_CONFIG_H -g -O2 -c platform.c -o platform.o In file included from /usr/include/netinet/in.h:41, from /usr/include/netdb.h:96, from platform.c:1079: /usr/include/sys/stream.h:307: parse error before "projid_t" *** Error code 1 ===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+=== I looked at the file /usr/include/sys/stream.h and found the offending line. It is right...
2015 Feb 23
2
Call for testing: OpenSSH 6.8
On Mon, 23 Feb 2015, Tom G. Christensen wrote: > On 23/02/15 20:31, Damien Miller wrote: > > Thanks - I just committed a fix: > > > <snip patch> > > Thanks, unfortunately you missed the one in packet.h. > > In file included from ssh_api.h:31:0, > from ssh_api.c:21: > packet.h:38:23: fatal error: sys/queue.h: No such file or directory
2002 Jan 04
1
Patch for 2.5.1 on Tru64 UNIX 5.x
Tru64 UNIX has getaddrinfo but not by that name. Including <netdb.h> #defines getaddrinfo to ogetaddrinfo or ngetaddrinfo which exists in /usr/shlib/libc.so. So, AC_CHECK_FUNC(getaddrinfo) isn't enough to test for getaddrinfo. Best to AC_TRY_LINK so the #define takes effect. -- albert chin (china@thewrittenword.com) -- snip snip --- configure.in.orig Th...
1998 Nov 24
1
Missing inet.h and netdb.h for SCO
I tried to compile Samba 2.0 beta with cc under SCO 3.2. I seem to be missing the inet.h and netdb.h include files. Does anyone know if they are publicly available? Steve Grose Sgrose@cmps.com Continental Managed Pharmacy Services - www.preferrx.com Voice - 216-459-2025 Ext. 208 Fax - 216-485-8615 Any opinions expressed are my own and not necessarily those of my employers.
2002 Apr 09
3
getaddrinfo.c error compiling rsync on tru64 5.1A
i've applied albert chin's patch on configure.in file: http://lists.samba.org/pipermail/rsync/2002-January/005726.html, but i still getting the error: cc: Error: lib/getaddrinfo.c, line 180: In this statement, "EAI_MAX" is not declared. (undeclared) thanks for any advice Martin Sigilfredo _________________________________________________________________ Join the world’s
2000 Dec 30
1
MAXHOSTNAMELEN
...Isrc -DETCDI R=\"/usr/local/etc\" -DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT= \"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c src/bsd-arc4random.c In file included from src/includes.h:59, from src/bsd-arc4random.c:25: /usr/include/netdb.h:302: warning: `MAXHOSTNAMELEN' redefined src/defines.h:82: warning: this is the location of the previous definition ... Perhaps defines.h should have #ifdef HAVE_NETDB_H # include <netdb.h> #endif -- Tim Rice Multitalents (707) 887-1469 tim at multitalents.net
2004 Aug 26
6
chan_capi module
...lude/asterisk/lock.h:17, from chan_capi.c:14: /usr/include/pthread.h:674: error: syntax error before "__THROW" /usr/include/pthread.h:679: error: syntax error before "__THROW" In file included from /usr/include/netinet/in.h:23, from /usr/include/netdb.h:28, from /usr/include/asterisk/lock.h:18, from chan_capi.c:14: /usr/include/stdint.h:37: error: syntax error before "typedef" In file included from /usr/include/sys/uio.h:24, from /usr/include/sys/socket.h:27, from /usr...
2006 Dec 18
2
Error compiling on HP-UX
...s: yes gmake gives me the following error: gcc -I../../src/extra/zlib -I../../src/extra/bzip2 -I../../src/extra/pcre -I. -I../../src/include -I../../src/include -I/home/agrl/pniklaus/include -DHAVE_CONFIG_H -g -O2 -std=gnu99 -c platform.c -o platform.o In file included from /usr/include/netdb.h:69, from platform.c:1428: /usr/include/sys/socket.h:535: error: static declaration of 'sendfile' follows non-static declaration /usr/include/sys/socket.h:506: error: previous declaration of 'sendfile' was here /usr/include/sys/socket.h:536: error: static declara...
2007 Nov 06
1
FYI: issue with arpa/inet.h on SunOS 5.9 (old gcc?)
...net.h: in the future, the compiler will take precedence configure: WARNING: ## ----------------------------------- ## configure: WARNING: ## Report this to r-bugs at R-project.org ## configure: WARNING: ## ----------------------------------- ## And then the same set of warnings for netdb.h netinet/in.h sys/socket.h At the very end configure reports: configure: WARNING: could not determine type of socket length Then, make fails with: In file included from /usr/include/netinet/in.h:41, from /usr/include/netdb.h:98, from ../../../R-patche...
2004 Feb 01
1
innetgr revised netgroup patch against 2.6.0
...uch easier.. Had a look for the user section but didn't find it in my 15 seconds of looking.. --- access.c 2003-07-30 16:12:27.000000000 +1000 +++ ../rsync-2.6.0-Linux/access.c 2004-02-01 23:21:12.000000000 +1100 @@ -22,10 +22,21 @@ */ #include "rsync.h" +#include <netdb.h> static int match_hostname(char *host, char *tok) { + char *netgroup; + + if(strlen(tok)>1){ + if(tok[0]=='@'){ + netgroup=tok+1; + if(innetgr(netgroup, host, NULL, NULL)){ + retu...
2015 Mar 03
2
openssh-SNAP-20150304 issues
...*/ > > +#ifndef __unused > +# define __unused > +#endif > + > #endif /* _DEFINES_H */ After above patch linux build fail: ................. make[1]: Entering directory `..../openbsd-compat' gcc -O2 ..../arc4random.c In file included from ..../arc4random.c:28: /usr/include/netdb.h:589:15: error: expected identifier or ?(? before ?[? token int __unused[5]; .............. Regards, Roumen -- Get SSH with X.509 certificate support http://roumenpetrov.info/openssh/
2008 Apr 25
1
package compilation: including external libraries in windows compilation
Dear R package developers: I need help on getting a package compiled for windows. I am trying to use definitions and routines from a set of libraries in that are in LINUX under #include <netdb.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> but these are unavailable in windows. I found that we can get these by including, in windows these includes: #include <winsock2.h> #include <io.h> My problem is I do not know how to instruc...
2002 Apr 03
3
Do you like rsync 2.5.5?
I'd very much like to get a stable 2.5 release out so that people can upgrade their production machines with confidence and so that distributors can freeze it. I know some people are still running 2.4.6 (+backports) for understandable reasons, but it would be good to give them the option to upgrade and avoid the hang bug. After this we can perhaps move on to 2.6 and be a bit more liberal in
2008 Jul 04
1
Samba 3.2.0 doesn't compile under Solaris8
...ot;, line 10: warning: useless declaration Linking non-shared library bin/libtalloc.a Compiling lib/replace/replace.c Compiling lib/replace/snprintf.c Compiling lib/replace/getpass.c Compiling lib/replace/strptime.c Compiling lib/replace/timegm.c Compiling lib/replace/inet_aton.c "/usr/include/netdb.h", line 412: warning: macro redefined: MAXHOSTNAMELEN Compiling lib/replace/getifaddrs.c "/usr/include/netdb.h", line 412: warning: macro redefined: MAXHOSTNAMELEN creating /opt/SOURCES/samba-3.2.0/source/exports/libtalloc.syms Linking shared library bin/libtalloc.so ln: cannot crea...
2000 Mar 27
1
Installing R on Solaris
....c In file included from /usr/include/sys/turnstile.h:12, from /usr/include/sys/t_lock.h:20, from /usr/include/sys/vnode.h:37, from /usr/include/sys/stream.h:21, from /usr/include/netinet/in.h:38, from /usr/include/netdb.h:96, from sock.c:49: /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.3/include/sys/param.h:187: warning: `NBBY' redefined /usr/include/sys/select.h:45: warning: this is the location of the previous definition In file included from /usr/include/sys/stream.h:26,...
2006 Feb 08
2
Warnings from openssh-4.3p1 configure
...e, the compiler will take precedence configure: WARNING: ## ------------------------------------------- ## configure: WARNING: ## Report this to openssh-unix-dev at mindrot.org ## configure: WARNING: ## ------------------------------------------- ## checking for net/if.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netgroup.h usability... no checking netgroup.h presence... no checking for netgroup.h... no checking netinet/in_systm.h usability... no checking netinet/in_systm.h presence... yes configure: WARNING: netinet/in...
2016 Oct 29
2
Squid question
...hought this line in squid.conf was supposed to send the traffic to an upstream cache_peer parent gateway, but I could easily be misunderstanding what its supposed to do. (I'm pretty new with squid) cache_peer <upstream gateway IP address> parent 8080 3130 proxy-only no-query no-netdb-exchange default login=<username>:<password> The Safe_ports and SSL_ports is the squid.conf default settings, and include both port 443 and port 80 traffic Thanks, PG
2009 May 15
2
Trouble with Tinc at make level
...h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for net/if.h... yes checking for net/if_types.h... no checking for linux/if_tun.h... yes checking for n...