net-tools-1.47 inet6.c incomplete type , won't compile

net-tools-1.47 inet6.c incomplete type , won't compile

Post by mack » Thu, 17 Dec 1998 04:00:00



I'm trying to get IPv6 up. Don't have any IPV6 stuff
installed. First tried to compile the net-tools for IPv6.

inet6.c won't compile, lots of references to "incomplete
type"
any suggestions?

gcc-2.7.2.3
kernel 2.1.131
glibc-2.0.7pre6

Thanks Joe

inet6.c: In function `INET6_resolve':
inet6.c:53: warning: implicit declaration of function
`gai_strerror'
inet6.c:53: warning: format argument is not a pointer (arg
4)
inet6.c:57: sizeof applied to an incomplete type
inet6.c: In function `INET6_rresolve':
inet6.c:71: dereferencing pointer to incomplete type
inet6.c:81: dereferencing pointer to incomplete type
inet6.c:85: warning: implicit declaration of function
`getnameinfo'
inet6.c:85: sizeof applied to an incomplete type
inet6.c:87: warning: format argument is not a pointer (arg
3)
inet6.c: In function `INET6_getsock':
inet6.c:134: dereferencing pointer to incomplete type
inet6.c:135: dereferencing pointer to incomplete type
inet6.c:137: dereferencing pointer to incomplete type
inet6.c: At top level:
inet6.c:156: sizeof applied to an incomplete type
make[1]: *** [inet6.o] Error 1
make[1]: Leaving directory
`/usr2/src/temp/kernel/net-tools-1.47/lib'
make: *** [subdirs] Error 2

--
Joseph Mack, NA3T, FM05lw EME(B,D), SysAdmin/Programmer
AZ_PROJ map server at http://www.wm7d.net/azproj.shtml

 
 
 

net-tools-1.47 inet6.c incomplete type , won't compile

Post by jxfau.. » Thu, 17 Dec 1998 04:00:00



> I'm trying to get IPv6 up. Don't have any IPV6 stuff
> installed. First tried to compile the net-tools for IPv6.
> inet6.c won't compile, lots of references to "incomplete

Try net-tools-1.49 ?

 
 
 

net-tools-1.47 inet6.c incomplete type , won't compile

Post by Sami Tikk » Sun, 27 Dec 1998 04:00:00



> I'm trying to get IPv6 up. Don't have any IPV6 stuff
> installed. First tried to compile the net-tools for IPv6.

> inet6.c won't compile, lots of references to "incomplete
> type"
> any suggestions?

> gcc-2.7.2.3
> kernel 2.1.131
> glibc-2.0.7pre6

This is what I did:

I got the latest glibc (2.0.100 or something), compiled & installed that.
Oh, by the way, to do that I had to upgrade my compiler to egcs
something...

Then I edited the net-tools makefile so that it no longer takes the
include files from net-toosl's own include dir but uses the includes from
/usr/include. In the later glibc include files there is the necessary IPv6
support already. Apparently the net-tools just doesn't know that yet.

But I do still have a problem: I cannot compile the inet-apps package that
has all the goodies like pine, telnet, ftp and such. There are some
#define's which are not defined in my includes (like AI_NONAME). Does
anyone know how to get the inet-apps to compile?

All in all I've found installing IPv6 on Linux an awful job. You need all
kinds of packages from here and there and apparently they are in no way
synchronized. Some compile, some don't.

All this is much easier to do with FreeBSD. There's one package that
contains everything you need.

--

 
 
 

net-tools-1.47 inet6.c incomplete type , won't compile

Post by Dimitris Kontopodi » Wed, 30 Dec 1998 04:00:00



> This is what I did:

> I got the latest glibc (2.0.100 or something), compiled & installed that.
> Oh, by the way, to do that I had to upgrade my compiler to egcs
> something...

> Then I edited the net-tools makefile so that it no longer takes the
> include files from net-toosl's own include dir but uses the includes from
> /usr/include. In the later glibc include files there is the necessary IPv6
> support already. Apparently the net-tools just doesn't know that yet.Sami


How did you do that?
I have installed glibc 2.0.106 on a 2.1.130 kernel (with all the necessary
packets like egcs, binutils, etc) but I still cant compile net-tools :lots of
"undefined reference to..." errors like:
 gcc -Llib -o ifconfig ifconfig.o interface.o sockets.o -lnet-tools
-L/usr/local/lib
/usr/local/lib/libc.so.6: undefined reference to



...

Any hints?
thanks
Dimitris

 
 
 

net-tools-1.47 inet6.c incomplete type , won't compile

Post by Andreas Schwa » Thu, 31 Dec 1998 04:00:00


|>
|> > This is what I did:
|> >
|> > I got the latest glibc (2.0.100 or something), compiled & installed that.
|> > Oh, by the way, to do that I had to upgrade my compiler to egcs
|> > something...
|> >
|> > Then I edited the net-tools makefile so that it no longer takes the
|> > include files from net-toosl's own include dir but uses the includes from
|> > /usr/include. In the later glibc include files there is the necessary IPv6
|> > support already. Apparently the net-tools just doesn't know that yet.Sami

|>
|> How did you do that?
|> I have installed glibc 2.0.106 on a 2.1.130 kernel (with all the necessary
|> packets like egcs, binutils, etc) but I still cant compile net-tools :lots of
|> "undefined reference to..." errors like:
|>  gcc -Llib -o ifconfig ifconfig.o interface.o sockets.o -lnet-tools
|> -L/usr/local/lib
|> /usr/local/lib/libc.so.6: undefined reference to



See the glibc HOWTO.  You have a broken setup.

--
Andreas Schwab                                      "And now for something


 
 
 

1. Help Compiling net-tools-1.32.A-inet6-05

Greetings all,

I am desperately trying to compile net-tools-1.32.A-inet6-05.

I keep getting the following error -

gcc -ggdb -O2 -Wall -fomit-frame-pointer -I/usr/inet6/include -I. -Ilib   -c ifconfig.c -o ifconfig.o
ifconfig.c:101: field `stats' has incomplete type
make: *** [ifconfig.o] Error 1

Any ideas or the source of a compilied version would be great.

I am using kernel 2.1.27
and gcc version 2.7.2.1.

Much thanx

--

  ======================================================================
  ===   The opinions expressed above are mine and mine alone. They   ===
  ===     probably do not conincide with those of my management,     ===
  ===    comapny or its parent(s) comapny. If any offense is taken   ===
  ===           by them, that is their problem - not mine.           ===
==========================================================================


                      http://www.pipex-sa.net/~nic
        UUNET Internet Africa,  Internet Specialist, lover of LINUX!
                           Tel: +27 11 8031365

This signature file is created on vi, the ONLY  EDITOR !!!!!!!!!!!!!:wq

2. 3com Etherlink Driver

3. Net-Tools-1.1.95 won't compile

4. Installing Netscape

5. net-tools won't compile

6. Trackman Marble FX

7. Can't compile net-tools-1.3.50BETA6e

8. Is there a tunable or limit for shared memory and message queues?

9. Can't compile net-tools-1.5 (pkt_sched.h)

10. Actiontec not forwarding ip type 47

11. compiling net-tools-1.3.6beta5 with error!!

12. net-tools-1.50 compiling problem

13. gdb-4.17 on Solaris 2.6 cannot display C++ types (<incomplete type>)