Compile: incomplete types and undefined vars? help

Compile: incomplete types and undefined vars? help

Post by Bradley James Bozar » Thu, 14 May 1998 04:00:00



Help!
When I run make zImage, it gives me  'nfs_i' and 'nfs_sb' has incomplete
type errors in file fs.h.  It also gives me RLIM_NLIMITS undeclared here
in sched.h and RLIMIT_STACK undeclared in mm.h.  I ran make mrproper, make
config, makd dep, and make clean, I don't know why it gives me these
things.  I'm running redhat linux 2.0.31, do I need to do anything special
with the source besides just copy it off of the cdrom? I copied from the
live/usr/src dir to get the compilable source.  Any help would be greatly
appreciated!
Thanks,
Brad Bozarth

 
 
 

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

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

2. Still can't use modem!

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

4. 2.5.70-mm5: fix ieee1394_core.c compile if !CONFIG_PROC_FS

5. 2.5.41 does not build: 8250.c: icount has incomplete type.

6. REMOTE_USER ???? Help please

7. <incomplete type> in gdb4.17 under Solaris 5.6

8. Trafic meassuring

9. : dereferencing pointer to incomplete type

10. Error:variable has intializer but incomplete type

11. 2.5.5 -- filesystems.c:30: In function `sys_nfsservctl': dereferencing pointer to incomplete type

12. field `host' has incomplete type

13. field `RE_why' has incomplete type