[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Parse errors (was Re: Simple kernel compile)



Well, it's straight from stderr...I don't know why you would get it in
"octet-stream" format. I did email to myself in macos first, though. 

BTW, Christian gave some good advice, and told me something I didn't know
before (Imagine that! ;-) I will get the libc6-dev package and re-install it
(if I even have it). 

The kernel source is straight from kernel.org, and I used it to compile a
new kernel for linuxppc without any problem. (When I try doing a
cross-compile on linuxppc with ARCH=m68k, I get some other errors, but I
will explore that problem later.) I've even followed to instructions in the
README in /usr/src/linux and checked to make sure I have all of the required
software for doing a compile according to ./Documentation/Changes. 

I will definitely read the FAQ, now that I know where one is, as it's not
reference on the mac68k site (or is it?). 

Anyway, here it is. 

In file included from /usr/include/_G_config.h:9,
                 from /usr/include/libio.h:30,
                 from /usr/include/stdio.h:29,
                 from scripts/mkdep.c:14:
/usr/include/bits/types.h:10: parse error before `dev_t'
/usr/include/bits/types.h:10: warning: data definition has no type or
storage class
/usr/include/bits/types.h:11: parse error before `ino_t'
/usr/include/bits/types.h:11: warning: data definition has no type or
storage class
/usr/include/bits/types.h:12: parse error before `mode_t'
/usr/include/bits/types.h:12: warning: data definition has no type or
storage class
/usr/include/bits/types.h:13: parse error before `nlink_t'
/usr/include/bits/types.h:13: warning: data definition has no type or
storage class
/usr/include/bits/types.h:14: parse error before `off_t'
/usr/include/bits/types.h:14: warning: data definition has no type or
storage class
/usr/include/bits/types.h:15: parse error before `pid_t'
/usr/include/bits/types.h:15: warning: data definition has no type or
storage class
/usr/include/bits/types.h:16: parse error before `uid_t'
/usr/include/bits/types.h:16: warning: data definition has no type or
storage class
/usr/include/bits/types.h:17: parse error before `gid_t'
/usr/include/bits/types.h:17: warning: data definition has no type or
storage class
/usr/include/bits/types.h:18: parse error before `daddr_t'
/usr/include/bits/types.h:18: warning: data definition has no type or
storage class
/usr/include/bits/types.h:20: parse error before `suseconds_t'
/usr/include/bits/types.h:20: warning: data definition has no type or
storage class
/usr/include/bits/types.h:23: parse error before `loff_t'
/usr/include/bits/types.h:23: warning: data definition has no type or
storage class
/usr/include/bits/types.h:32: parse error before `size_t'
/usr/include/bits/types.h:32: warning: data definition has no type or
storage class
/usr/include/bits/types.h:37: parse error before `ssize_t'
/usr/include/bits/types.h:37: warning: data definition has no type or
storage class
/usr/include/bits/types.h:42: parse error before `ptrdiff_t'
/usr/include/bits/types.h:42: warning: data definition has no type or
storage class
/usr/include/bits/types.h:47: parse error before `time_t'
/usr/include/bits/types.h:47: warning: data definition has no type or
storage class
/usr/include/bits/types.h:52: parse error before `clock_t'
/usr/include/bits/types.h:52: warning: data definition has no type or
storage class
/usr/include/bits/types.h:57: parse error before `caddr_t'
/usr/include/bits/types.h:57: warning: data definition has no type or
storage class
/usr/include/bits/types.h:75: parse error before `u_int8_t'
/usr/include/bits/types.h:75: warning: data definition has no type or
storage class
/usr/include/bits/types.h:76: parse error before `int8_t'
/usr/include/bits/types.h:76: warning: data definition has no type or
storage class
/usr/include/bits/types.h:77: parse error before `u_int16_t'
/usr/include/bits/types.h:77: warning: data definition has no type or
storage class
/usr/include/bits/types.h:78: parse error before `int16_t'
/usr/include/bits/types.h:78: warning: data definition has no type or
storage class
/usr/include/bits/types.h:79: parse error before `u_int32_t'
/usr/include/bits/types.h:79: warning: data definition has no type or
storage class
/usr/include/bits/types.h:80: parse error before `int32_t'
/usr/include/bits/types.h:80: warning: data definition has no type or
storage class
/usr/include/bits/types.h:84: parse error before `uint8_t'
/usr/include/bits/types.h:84: warning: data definition has no type or
storage class
/usr/include/bits/types.h:85: parse error before `uint16_t'
/usr/include/bits/types.h:85: warning: data definition has no type or
storage class
/usr/include/bits/types.h:86: parse error before `uint32_t'
/usr/include/bits/types.h:86: warning: data definition has no type or
storage class
/usr/include/bits/types.h:89: parse error before `uint64_t'
/usr/include/bits/types.h:89: warning: data definition has no type or
storage class
/usr/include/bits/types.h:90: parse error before `u_int64_t'
/usr/include/bits/types.h:90: warning: data definition has no type or
storage class
/usr/include/bits/types.h:91: parse error before `int64_t'
/usr/include/bits/types.h:91: warning: data definition has no type or
storage class
/usr/include/bits/types.h:102: parse error before `__kernel_daddr_t'
/usr/include/bits/types.h:102: warning: no semicolon at end of struct or
union
/usr/include/bits/types.h:103: warning: data definition has no type or
storage class
/usr/include/bits/types.h:106: parse error before `}'
In file included from /usr/include/stdio.h:29,
                 from scripts/mkdep.c:14:
/usr/include/libio.h:236: parse error before `__off_t'
/usr/include/libio.h:236: warning: no semicolon at end of struct or union
/usr/include/libio.h:253: parse error before `_offset'
/usr/include/libio.h:253: warning: data definition has no type or storage
class
/usr/include/libio.h:256: parse error before `}'
/usr/include/libio.h:278: parse error before `__ssize_t'
/usr/include/libio.h:278: warning: no semicolon at end of struct or union
/usr/include/libio.h:279: parse error before `*'
/usr/include/libio.h:279: parse error before `__ssize_t'
/usr/include/libio.h:279: `__ssize_t' declared as function returning a
function
/usr/include/libio.h:279: warning: data definition has no type or storage
class
/usr/include/libio.h:280: parse error before `*'
/usr/include/libio.h:280: parse error before `__off_t'
/usr/include/libio.h:280: `__off_t' declared as function returning a
function
/usr/include/libio.h:280: warning: data definition has no type or storage
class
/usr/include/libio.h:282: parse error before `}'
/usr/include/libio.h:282: warning: data definition has no type or storage
class
/usr/include/libio.h:287: field `file' has incomplete type
/usr/include/libio.h:290: parse error before `_IO_cookie_io_functions_t'
/usr/include/libio.h:290: warning: no semicolon at end of struct or union
/usr/include/libio.h:347: parse error before `_IO_padn'
/usr/include/libio.h:347: parse error before `__ssize_t'
/usr/include/libio.h:347: warning: data definition has no type or storage
class
/usr/include/libio.h:348: parse error before `_IO_sgetn'
/usr/include/libio.h:348: parse error before `size_t'
/usr/include/libio.h:348: warning: data definition has no type or storage
class
/usr/include/libio.h:351: parse error before `_IO_seekoff'
/usr/include/libio.h:351: parse error before `__off64_t'
/usr/include/libio.h:351: warning: data definition has no type or storage
class
/usr/include/libio.h:352: parse error before `_IO_seekpos'
/usr/include/libio.h:352: parse error before `__off64_t'
/usr/include/libio.h:352: warning: data definition has no type or storage
class
In file included from scripts/mkdep.c:14:
/usr/include/stdio.h:72: parse error before `fpos_t'
/usr/include/stdio.h:72: warning: data definition has no type or storage
class
/usr/include/stdio.h:110: parse error before `fpos_t'
/usr/include/stdio.h:116: parse error before `fread'
/usr/include/stdio.h:116: parse error before `size_t'
/usr/include/stdio.h:116: warning: data definition has no type or storage
class
/usr/include/stdio.h:120: parse error before `*'
/usr/include/stdio.h:122: parse error before `fwrite'
/usr/include/stdio.h:122: parse error before `size_t'
/usr/include/stdio.h:122: warning: data definition has no type or storage
class
/usr/include/stdio.h:138: parse error before `size_t'
In file included from scripts/mkdep.c:15:
/usr/include/stdlib.h:1: parse error before character 0366
In file included from scripts/mkdep.c:16:
/usr/include/string.h:16: parse error before `__kernel_size_t'
/usr/include/string.h:18: parse error before `__kernel_size_t'
/usr/include/string.h:24: parse error before `strlen'
/usr/include/string.h:24: warning: data definition has no type or storage
class
/usr/include/string.h:25: parse error before `strnlen'
/usr/include/string.h:25: parse error before `__kernel_size_t'
/usr/include/string.h:25: warning: data definition has no type or storage
class
/usr/include/string.h:26: parse error before `strspn'
/usr/include/string.h:26: warning: data definition has no type or storage
class
/usr/include/string.h:28: parse error before `__kernel_size_t'
/usr/include/string.h:29: parse error before `__kernel_size_t'
/usr/include/string.h:31: parse error before `__kernel_size_t'
/usr/include/string.h:32: parse error before `__kernel_size_t'
/usr/include/string.h:33: parse error before `__kernel_size_t'
/usr/include/string.h:34: parse error before `__kernel_size_t'
/usr/include/string.h:35: parse error before `__kernel_size_t'
scripts/mkdep.c: In function `grow_config':
scripts/mkdep.c:61: warning: implicit declaration of function `malloc'
scripts/mkdep.c:61: warning: assignment makes pointer from integer without a
cast
scripts/mkdep.c:67: warning: implicit declaration of function `realloc'
scripts/mkdep.c:67: warning: assignment makes pointer from integer without a
cast
scripts/mkdep.c: In function `handle_include':
scripts/mkdep.c:144: warning: implicit declaration of function `access'
scripts/mkdep.c:144: `F_OK' undeclared (first use this function)
scripts/mkdep.c:144: (Each undeclared identifier is reported only once
scripts/mkdep.c:144: for each function it appears in.)
scripts/mkdep.c: In function `do_depend':
scripts/mkdep.c:426: warning: implicit declaration of function `getpagesize'
scripts/mkdep.c:431: warning: implicit declaration of function `open'
scripts/mkdep.c:431: `O_RDONLY' undeclared (first use this function)
scripts/mkdep.c:437: warning: implicit declaration of function `fstat'
scripts/mkdep.c:440: warning: passing arg 1 makes pointer from integer
without a cast
scripts/mkdep.c:446: warning: implicit declaration of function `mmap'
scripts/mkdep.c:446: `PROT_READ' undeclared (first use this function)
scripts/mkdep.c:446: `MAP_PRIVATE' undeclared (first use this function)
scripts/mkdep.c:446: warning: assignment makes pointer from integer without
a cast
scripts/mkdep.c:449: warning: passing arg 1 makes pointer from integer
without a cast
scripts/mkdep.c:464: warning: implicit declaration of function `munmap'
scripts/mkdep.c:465: warning: passing arg 1 makes pointer from integer
without a cast
scripts/mkdep.c: In function `main':
scripts/mkdep.c:478: warning: implicit declaration of function `getenv'
scripts/mkdep.c:478: warning: assignment makes pointer from integer without
a cast
make: *** [scripts/mkdep] Error 1


Thanks for all the help. This is fun!

Russell
----------
>From: Michael Schmitz <schmitz@mail.biophys.uni-duesseldorf.de>
>To: Russell Hires <rhires@earthlink.net>
>Subject: Re: Parse errors (was Re: Simple kernel compile)
>Date: Thu, Mar 16, 2000, 9:32
>

>> Attached is the file I was able to make from stderr. Anyone can tell me what
>> I'm missing? I thought I had everything, at least, according the
>> ./Documentation/Changes file. Obviously I don't. 
>
>Attach it in some sort of sane format if you want people to read it.
>Application/octet-stream isn't a sensible choice for what is quite
>probably ASCII text.
>
> Michael
>
>
>
>--  
>To UNSUBSCRIBE, email to debian-68k-request@lists.debian.org
>with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>


Reply to: