lkml.org 
[lkml]   [1996]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectncftp compile errors

This looks very related to the changes in the include files. This
program compiles smoothly on most machines I've tried it on, but not on
this one running 1.3.79.

In file included from /usr/i486-linux/include/sys/types.h:4,
from /usr/i486-linux/include/unistd.h:623,
from Sys.h:6,
from Bookmark.c:3:
/usr/i486-linux/include/linux/types.h:62: parse error before `daddr_t'
/usr/i486-linux/include/linux/types.h:62: warning: no semicolon at end of struct or union
/usr/i486-linux/include/linux/types.h:63: warning: data definition has no type or storage class
/usr/i486-linux/include/linux/types.h:66: parse error before `}'
In file included from Sys.h:6,
from Bookmark.c:3:
/usr/i486-linux/include/unistd.h:627: parse error before `__increment'
/usr/i486-linux/include/unistd.h:628: parse error before `__increment'
/usr/i486-linux/include/unistd.h:653: parse error before `dev_t'
/usr/i486-linux/include/unistd.h:655: parse error before `__dev'
/usr/i486-linux/include/unistd.h: In function `ustat':
/usr/i486-linux/include/unistd.h:657: `__dev' undeclared (first use this function)
/usr/i486-linux/include/unistd.h:657: (Each undeclared identifier is reported only once
/usr/i486-linux/include/unistd.h:657: for each function it appears in.)
/usr/i486-linux/include/unistd.h:657: `__ubuf' undeclared (first use this function)
/usr/i486-linux/include/asm/fcntl.h: At top level:
In file included from /usr/i486-linux/include/linux/fcntl.h:4,
from /usr/i486-linux/include/fcntl.h:29,
from Sys.h:58,
from Bookmark.c:3:
/usr/i486-linux/include/asm/fcntl.h:59: parse error before `off_t'
/usr/i486-linux/include/asm/fcntl.h:59: warning: no semicolon at end of struct or union
/usr/i486-linux/include/asm/fcntl.h:60: warning: data definition has no type or storage class
/usr/i486-linux/include/asm/fcntl.h:61: parse error before `l_pid'
/usr/i486-linux/include/asm/fcntl.h:61: warning: data definition has no type or storage class
In file included from Sys.h:58,
from Bookmark.c:3:
/usr/i486-linux/include/fcntl.h:40: parse error before `mode_t'
In file included from Sys.h:62,
from Bookmark.c:3:
/usr/i486-linux/include/sys/stat.h:20: parse error before `dev_t'
/usr/i486-linux/include/sys/stat.h:20: warning: no semicolon at end of struct or union
/usr/i486-linux/include/sys/stat.h:28: parse error before `st_ino'
/usr/i486-linux/include/sys/stat.h:28: warning: data definition has no type or storage class
/usr/i486-linux/include/sys/stat.h:30: parse error before `st_nlink'
/usr/i486-linux/include/sys/stat.h:30: warning: data definition has no type or storage class
/usr/i486-linux/include/sys/stat.h:31: parse error before `st_uid'
/usr/i486-linux/include/sys/stat.h:31: warning: data definition has no type or storage class
/usr/i486-linux/include/sys/stat.h:32: parse error before `st_gid'
/usr/i486-linux/include/sys/stat.h:32: warning: data definition has no type or storage class
/usr/i486-linux/include/sys/stat.h:33: parse error before `st_rdev'
/usr/i486-linux/include/sys/stat.h:33: warning: data definition has no type or storage class
/usr/i486-linux/include/sys/stat.h:41: parse error before `st_size'
/usr/i486-linux/include/sys/stat.h:41: warning: data definition has no type or storage class
/usr/i486-linux/include/sys/stat.h:68: parse error before `}'
/usr/i486-linux/include/sys/stat.h:84: parse error before `mode_t'
/usr/i486-linux/include/sys/stat.h:91: parse error before `mode_t'
/usr/i486-linux/include/sys/stat.h:92: parse error before `mode_t'
/usr/i486-linux/include/sys/stat.h:94: parse error before `mode_t'
/usr/i486-linux/include/sys/stat.h:95: parse error before `mode_t'
/usr/i486-linux/include/sys/stat.h:97: parse error before `mode_t'
/usr/i486-linux/include/sys/stat.h:98: parse error before `mode_t'
/usr/i486-linux/include/sys/stat.h:100: parse error before `mode_t'
/usr/i486-linux/include/sys/stat.h:123: parse error before `__umask'
/usr/i486-linux/include/sys/stat.h:123: parse error before `__mask'
/usr/i486-linux/include/sys/stat.h:123: warning: data definition has no type or storage class
/usr/i486-linux/include/sys/stat.h:124: parse error before `umask'
/usr/i486-linux/include/sys/stat.h:124: parse error before `__mask'
/usr/i486-linux/include/sys/stat.h:124: warning: data definition has no type or storage class
/usr/i486-linux/include/sys/stat.h:158: parse error before `mode_t'
/usr/i486-linux/include/sys/stat.h: In function `__mknod':
/usr/i486-linux/include/sys/stat.h:160: `__path' undeclared (first use this function)
/usr/i486-linux/include/sys/stat.h:160: `__mode' undeclared (first use this function)
/usr/i486-linux/include/sys/stat.h:160: `__dev' undeclared (first use this function)
/usr/i486-linux/include/sys/stat.h: At top level:
/usr/i486-linux/include/sys/stat.h:163: parse error before `mode_t'
/usr/i486-linux/include/sys/stat.h: In function `mknod':
/usr/i486-linux/include/sys/stat.h:165: `__path' undeclared (first use this function)
/usr/i486-linux/include/sys/stat.h:165: `__mode' undeclared (first use this function)
/usr/i486-linux/include/sys/stat.h:165: `__dev' undeclared (first use this function)
make: *** [Bookmark.o] Error 1


Jon Mitchell \ [Fun-Boy] Sleep is for weaklings!
jrmitche@uiuc.edu \ Linux 2.0: Coming soon to a computer near you.
CCSO Site Consultant \ These views have _nothing_ to do with CCSO.



\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.035 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site