SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] Compilation error...!


Chronological Thread 
  • From: Thomas Dreibholz <dreibh AT irmgard.exp-math.uni-essen.de>
  • To: discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] Compilation error...!
  • Date: Sat Dec 28 11:17:01 2002
  • List-id: SCTP Discussions <discussion.sctp.de>
  • Organization: University of Essen, Institute for Experimental Mathematics

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Dienstag, 24. Dezember 2002 14:39, Vinay Raikar wrote:
> Hello all,
> Can anybody help me in figuring out following
> error. I am trying to build sctplib.a(ie
> sctplib-1.0.0-pre18). I gave following commands
> ./aclocal
> ./autoconf
> ./autoheader
> ./automake
> ./configure
> ./make
>
> Here make fails with following error.....
>
> c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../sctp -g
> -O2 -D_REENTRANT -D_THREAD_SAFE -Wall -DLINUX -c
> internetaddress.cc
> internetaddress.cc: In method `String
> Coral::InternetAddress::getAddressString (unsigned
> int) const':
> internetaddress.cc:366: `getnameinfo' undeclared
> (first use this
> function)
> internetaddress.cc:366: (Each undeclared identifier is
> reported only once for each function it appears in.)
> make[3]: *** [internetaddress.o] Error 1
>
>
> Apparently it looks like, its not finding getnameinfo
> declaration, I even included netdb.h & sys/socket.h
> header files in internetaddress.cc, but I still get
> the same error.

It should be defined in netdb.h, at least it is so under Mandrake 9.0. You
can
check for it by "grep -r getnameinfo" in the /usr/include directory.


> I am using Linux 7.2, kernel 2.4.7-10, do I have to
> install any other libraries before installing this.

Do you have the possiblity to test it on a newer system?


Also try sctplib-1.0.0-pre19 instead of sctplib-1.0.0-pre18. pre19 is the
newest stable version.


Best regards
- --
=======================================================================
Dipl.-Inform. Thomas Dreibholz
Molbachweg 7
D-51674 Wiehl-Forst Mail:
dreibh AT exp-math.uni-essen.de
Germany WWW: http://www.exp-math.uni-essen.de/~dreibh
=======================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+DF/032BbsHYPLWURAnrmAJ9eI2yy5v7kOjVnq+CLVh2g9wGNpACfV7j6
/q+jbqdESOaRtGZuI2+S30E=
=HW8h
-----END PGP SIGNATURE-----





Archive powered by MHonArc 2.6.19+.

Top of page