Displaying 20 results from an estimated 167 matches for "inet_aton".
2001 Nov 12
2
problem with make on solaris 8 and openssh 3.0p1
Hi.
After I've run the configure (./configure --prefix=/usr/local
--without-rsh --disable-suid-ssh --sysconfdir=/usr/local/etc
--with-ssl-dir=/usr/local/ssl --with-tcp-wrappers) and want to run the
make (make -d -d) script, I get this error msg:
Finished prerequisites of target file `inet_aton.o'.
Must remake target `inet_aton.o'.
make[1]: Entering directory
`/export/home/jbymark/openssh-3.0p1/openbsd-compat'
gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..
-I/usr/l
ocal/ssl/include -I/usr/local/include -DHAVE_CONFIG_H -c inet_aton.c
Putting child 0x...
2006 Apr 13
2
error compiling the latest versions of rsync
I'm getting the following error when I'm trying to do just `./configure;
make` with the latest versions of rsync (both 2.6.7 and 2.6.8pre1):
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -c lib/compat.c -o lib/compat.o
lib/compat.c:171: error: conflicting types for `inet_aton'
/usr/include/arpa/inet.h:74: error: previous declaration of `inet_aton'
make: *** [lib/compat.o] Error 1
In config.log I also see 10 following strings:
./conftest: error while loading shared libraries: libiconv.so.2: cannot
open shared object file: No such file or directory
I do NOT g...
2002 Aug 25
2
Trouble building Samba 2.2.5 of Solaris 9
Looks like inet_aton has cropped up again, in libsmbclient.c:
if (!inet_aton(server, &rem_ip)) {
DEBUG(4, ("Could not convert IP address %s to struct in_addr\n",
server));
errno = ENOENT;
return NULL;
}
This function doesn't exist in Solaris, and causes this shared library
to fail to link, w...
2002 Aug 02
3
[Bug 377] New: Reduce compiler warnings. Use unsigned args to the ctype.h is*() macros.
...net
On Solaris 8, using gcc 3.1, the following warnings are given during
build of OpenSSH from the -cvs sources:
canohost.c:93: warning: subscript has type `char'
clientloop.c:488: warning: subscript has type `char'
clientloop.c:503: warning: subscript has type `char'
inet_aton.c:117: warning: subscript has type `char'
inet_aton.c:128: warning: subscript has type `char'
inet_aton.c:131: warning: subscript has type `char'
inet_aton.c:133: warning: subscript has type `char'
inet_aton.c:155: warning: subscript has type `char'
match.c:1...
2000 Nov 28
2
No subject
...ss\" -DHAVE_CONFIG_H -c bsd-getcwd.c
gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include -
DETC
DIR=\"/usr/local/etc\" -DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DE
FAUL
T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c bsd-inet_aton.c
bsd-inet_aton.c: In function `inet_aton':
bsd-inet_aton.c:117: warning: subscript has type `char'
bsd-inet_aton.c:128: warning: subscript has type `char'
bsd-inet_aton.c:131: warning: subscript has type `char'
bsd-inet_aton.c:133: warning: subscript has type `char'
bsd-inet_at...
2001 Sep 28
0
openssh-2.9.9p2 subscript violation problems with ctype macros
...r than a reference through memory and then a test).
2001-09-28 Paul Eggert <eggert at twinsun.com>
* canohost.c (get_remote_hostname):
Don't pass negative chars to ctype macros.
* match.c (match_hostname): Likewise.
* openbsd-compat/base64.c (b64_ntop): Likewise.
* openbsd-compat/inet_aton.c (inet_aton): Likewise.
* openbsd-compat/mktemp.c (_gettemp): Likewise.
* openbsd-compat/readpassphrase.c (readpassphrase): Likewise.
* scp.c (sink): Likewise.
* sshconnect.c (sshconnect.c): Likewise.
===================================================================
RCS file: canohost.c,v
r...
2004 Aug 06
2
also error compiling ices
...naLoader.a
-L/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE -lperl -ldl -lc -L/usr/lib
-lxml2 -lz -lsocket -lnsl -lm -R/usr/local/lib -R/usr/local/lib
-R/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE -R/usr/lib
Undefined first referenced
symbol in file
inet_aton ../libshout/.libs/libices.al(sock.lo)
ld: fatal: Symbol referencing errors. No output written to ices
collect2: ld returned 1 exit status
make[3]: *** [ices] Error 1
make[3]: Leaving directory `/ices-0.2.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving dire...
2004 Aug 06
0
ice2 CVS build problems under Solaris 7
...ad/libicethread.a
httpp/libicehttpp.a log/libicelog.a avl/libiceavl.a /opt/lib/libxml.so
- -L/opt/lib/lib -lz -lz -lsocket -lnsl -lpthread -Wl,--rpath -Wl,/opt/lib
- -Wl,--rpath -Wl,/opt/lib
net/libicenet.a(sock.o): In function `sock_connect_wto':
sock.o(.text+0x2f0): undefined reference to `inet_aton'
net/libicenet.a(sock.o): In function `sock_get_server_socket':
sock.o(.text+0x730): undefined reference to `inet_aton'
net/libicenet.a(resolver.o): In function `resolver_getname':
resolver.o(.text+0x70): undefined reference to `inet_aton'
net/libicenet.a(resolver.o): In functio...
2000 Nov 29
0
ssh problem
...G_H -c bsd-getcwd.c
>gcc -g -O2 -Wall -I. -I. -I/usr/local/include -I/usr/local/openssl/include
-
>DETC
>DIR=\"/usr/local/etc\" -DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_D
E
>FAUL
>T=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c bsd-inet_aton.c
>bsd-inet_aton.c: In function `inet_aton':
>bsd-inet_aton.c:117: warning: subscript has type `char'
>bsd-inet_aton.c:128: warning: subscript has type `char'
>bsd-inet_aton.c:131: warning: subscript has type `char'
>bsd-inet_aton.c:133: warning: subscript has type `c...
2004 Aug 06
2
CVS restored
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Looks like the icecast CVS server has been restored to full service. Now I
can get back to rebuilding my server. :)
- --
"I'm alive, and filled with goo! VISION GOO!"
- Zim, "Invader Zim"
-----BEGIN PGP SIGNATURE-----
Comment: For info see http://www.gnupg.org
2004 Aug 06
1
also error compiling ices
More specifically
#define inet_aton(a,b) inet_pton(AF_INET, (a), (b))
into ices/libshout/sock.h
Thanks to the list for giving me this a few weeks back
+-------------------------
+ Dave Dennis
+ Seattle, WA
+ dmd@speakeasy.org
+ http://bauhaus.nu/dion
+-------------------------
On 31 Jan 2003, Karl Heyes wrote:
> On Fri...
2004 Nov 29
1
Polycom Reboot Script PRI errors!!
...ync
> Date: $httptime
> Call-ID: $call_id\@$local_ip
> CSeq: 1300 NOTIFY
> Contact: <sip:$sip_from\@$local_ip>
> Content-Length: 0
>
> ";
>
> $proto = getprotobyname('udp');
> socket( SOCKET, PF_INET, SOCK_DGRAM, $proto );
> $iaddr = inet_aton("$phone_ip");
> $paddr = sockaddr_in( 5060, $iaddr );
> bind( SOCKET, $paddr );
> $port = 5060;
>
> $hisiaddr = inet_aton($phone_ip);
> $hispaddr = sockaddr_in( $port, $hisiaddr );
>
> if ( send( SOCKET, $MESG, 0, $hispaddr ) ) {
>...
2001 Jun 07
0
Patch for systems with no setreuid()
...un 7 14:12:53 2001
+++ configure Thu Jun 7 14:13:40 2001
@@ -3184,7 +3184,7 @@
fi
-for ac_func in arc4random atexit b64_ntop bcopy bindresvport_sa clock fchown fchmod freeaddrinfo futimes gai_strerror getcwd getaddrinfo getgrouplist getnameinfo getrlimit getrusage getttyent getusershell glob inet_aton inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove mkdtemp on_exit openpty realpath rresvport_af setdtablesize setenv setegid seteuid setlogin setproctitle setresgid setreuid setrlimit setsid sigaction sigvec snprintf strerror strlcat strlcpy strmode strsep strtok_r sysconf tcgetpgrp ut...
2004 Jan 22
2
Polycom Reboot Script - Please wiki-size me
...p>
To: <sip:$sip_to\@$phone_ip>
Event: check-sync
Date: $httptime
Call-ID: $call_id\@$local_ip
CSeq: 1300 NOTIFY
Contact: <sip:$sip_from\@$local_ip>
Content-Length: 0
";
$proto = getprotobyname('udp');
socket( SOCKET, PF_INET, SOCK_DGRAM, $proto );
$iaddr = inet_aton("$phone_ip");
$paddr = sockaddr_in( 5060, $iaddr );
bind( SOCKET, $paddr );
$port = 5060;
$hisiaddr = inet_aton($phone_ip);
$hispaddr = sockaddr_in( $port, $hisiaddr );
if ( send( SOCKET, $MESG, 0, $hispaddr ) ) {
print "reboot of phone ", "...
2004 Aug 06
1
compiling ices on solaris 9 / sparc
...o trying to get ices working on Solaris.
thanks in advance
ED
<p>4-solaris-64int/CORE -lperl -ldl -lc -L/usr/lib -lxml2 -lz -lsocket -lnsl -lm
-R/usr/local/lib -R/usr/local/lib -R/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE
-R/usr/lib
Undefined first referenced
symbol in file
inet_aton ../libshout/.libs/libices.al(sock.lo)
ld: fatal: Symbol referencing errors. No output written to ices
collect2: ld returned 1 exit status
make[3]: *** [ices] Error 1
make[3]: Leaving directory `/export/home/ecook/ices-0.2.3/src'
make[2]: *** [all-recursive] Error 1
mak...
2006 Jul 25
3
problem in Route add using netlink
...nt gateWay;
char ifName[IF_NAMESIZE];
};
void fillRoute (struct route_info *rinfo, const char* dstAddr,
const char* srcAddr, const char* gateway, const char* ifName)
{
/* Convert from the standrad numbers and dots notation
to binary data */
inet_aton("192.168.51.0", (struct in_addr *)&rinfo->dstAddr);
inet_aton("192.168.51.90", (struct in_addr *)&rinfo->gateWay);
}
int addAttr (struct nlmsghdr *nlhdr, int maxlen, int type,
void *data, int alen)
{
struct rtattr *rta;
int...
2000 Aug 01
2
[2.1.1p4] utmp patch for SunOS 4.1.x
...Jul 31 10:06:48 2000
--- config.h.in Mon Jul 31 10:10:36 2000
***************
*** 297,302 ****
--- 297,305 ----
/* Define if you have the getutxline function. */
#undef HAVE_GETUTXLINE
+ /* Define if you have the getttyent function. */
+ #undef HAVE_GETTTYENT
+
/* Define if you have the inet_aton function. */
#undef HAVE_INET_ATON
***************
*** 482,487 ****
--- 485,493 ----
/* Define if you have the <time.h> header file. */
#undef HAVE_TIME_H
+
+ /* Define if you have the <ttyent.h> header file. */
+ #undef HAVE_TTYENT_H
/* Define if you have the <u...
2006 Feb 05
2
R socket communication
...er on localhost" and a "Reading data"
in the R console, but nothing else.
The PERL client
#! /usr/bin/perl
use strict;
use Socket;
# initialize host and port
my $host = shift || 'localhost';
my $port = shift || 7890;
my $proto = getprotobyname('tcp');
my $iaddr = inet_aton($host);
my $paddr = sockaddr_in($port, $iaddr);
socket(SOCKET, PF_INET, SOCK_STREAM, $proto) or die "socket: $!";
connect(SOCKET, $paddr) or die "connect: $!";
print SOCKET "Hello \n";
close SOCKET or die "close: $!";
The PERL server
#! /usr/bin/perl -w
u...
2006 Jun 16
3
ActiveRecord, using sql functions for some attributes
Hi.
I need to use functions INET_ATON, INET_NTOA for IP address retrieving.
Is it possible to make this transparently (without custom SQL for
saving, updating and retrieving)?
2001 May 22
1
[PATCH]: configure.in: Missing check for setvbuf
...@@ -460,7 +460,7 @@ AC_ARG_WITH(tcp-wrappers,
)
dnl Checks for library functions.
-AC_CHECK_FUNCS(arc4random atexit b64_ntop bcopy bindresvport_sa clock fchown fchmod freeaddrinfo futimes gai_strerror getcwd getaddrinfo getgrouplist getnameinfo getrlimit getrusage getttyent getusershell glob inet_aton inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove mkdtemp on_exit openpty realpath rresvport_af setdtablesize setenv setegid seteuid setlogin setproctitle setresgid setreuid setrlimit setsid sigaction sigvec snprintf strerror strlcat strlcpy strmode strsep strtok_r sysconf tcgetpgrp ut...