Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2000 11:03:00 -0500
From:      David Banning <tracker@worldy.com>
To:        questions@freebsd.org
Subject:   make world failed - following cvsup
Message-ID:  <38B6A7B4.46D5@worldy.com>

next in thread | raw e-mail | index | archive | help
Following a cvsup of both csv-all and ports-all (no errors)
I did a "make world"

which produced errors when it tried compiling
/usr/src/usr.sbin/btxld/btxld.c
as part of the script - compiling that file directly
produces the same error;

the first error (below) refers to line 42 - points to a struct of
variables
the first being the machine ID - I checked that the machine ID
was defined as i386 in my kernel config file - beyond that
I'm stuck...

# cd /usr/src/usr.sbin/btxld
#
# make

Warning: Object directory not changed from original
/usr/src/usr.sbin/btxld
cc -O -Wall   -c btxld.c
In file included from btxld.c:47:
btx.h:42: parse error before `uint8_t'
btx.h:42: warning: no semicolon at end of struct or union
btx.h:43: warning: data definition has no type or storage class
btx.h:44: parse error before `btx_magic'
btx.h:44: warning: data definition has no type or storage class
btx.h:45: parse error before `btx_majver'
btx.h:45: warning: data definition has no type or storage class
btx.h:46: parse error before `btx_minver'
btx.h:46: warning: data definition has no type or storage class
btx.h:47: parse error before `btx_flags'
btx.h:47: warning: data definition has no type or storage class
btx.h:48: parse error before `btx_pgctl'
btx.h:48: warning: data definition has no type or storage class
btx.h:49: parse error before `btx_textsz'
btx.h:49: warning: data definition has no type or storage class
btx.h:50: parse error before `btx_entry'
btx.h:50: warning: data definition has no type or storage class
btxld.c:67: parse error before `uint32_t'
btxld.c:67: warning: no semicolon at end of struct or union
btxld.c:68: warning: data definition has no type or storage class
btxld.c:69: parse error before `size'
btxld.c:69: warning: data definition has no type or storage class
btxld.c:70: parse error before `text'
btxld.c:70: warning: data definition has no type or storage class
btxld.c:71: parse error before `data'
btxld.c:71: warning: data definition has no type or storage class
btxld.c:72: parse error before `bss'
btxld.c:72: warning: data definition has no type or storage class
btxld.c:73: parse error before `org'
btxld.c:73: warning: data definition has no type or storage class
btxld.c:74: parse error before `entry'
btxld.c:74: warning: data definition has no type or storage class
btxld.c:99: parse error before `centry'
btxld.c:99: warning: data definition has no type or storage class
btxld.c:100: parse error before `lentry'
btxld.c:100: warning: data definition has no type or storage class
btxld.c:120: parse error before `optaddr'
btxld.c:120: warning: data definition has no type or storage class
btxld.c: In function `btxld':
btxld.c:195: storage size of `btx' isn't known
btxld.c:196: storage size of `ihdr' isn't known
btxld.c:196: storage size of `ohdr' isn't known
btxld.c:196: warning: unused variable `ohdr'
btxld.c:196: warning: unused variable `ihdr'
btxld.c:195: warning: unused variable `btx'
btxld.c: In function `getbtx':
btxld.c:299: dereferencing pointer to incomplete type
btxld.c:299: dereferencing pointer to incomplete type
btxld.c:300: dereferencing pointer to incomplete type
btxld.c:301: dereferencing pointer to incomplete type
btxld.c:302: dereferencing pointer to incomplete type
btxld.c: In function `gethdr':
btxld.c:319: dereferencing pointer to incomplete type
btxld.c:324: dereferencing pointer to incomplete type
btxld.c:325: dereferencing pointer to incomplete type
btxld.c:328: dereferencing pointer to incomplete type
btxld.c:332: dereferencing pointer to incomplete type
btxld.c:333: dereferencing pointer to incomplete type
btxld.c:339: dereferencing pointer to incomplete type
btxld.c:341: dereferencing pointer to incomplete type
btxld.c:342: dereferencing pointer to incomplete type
btxld.c:343: dereferencing pointer to incomplete type
btxld.c:344: dereferencing pointer to incomplete type
btxld.c:346: dereferencing pointer to incomplete type
btxld.c:351: dereferencing pointer to incomplete type
btxld.c:352: dereferencing pointer to incomplete type
btxld.c:354: `uint8_t' undeclared (first use this function)
btxld.c:354: (Each undeclared identifier is reported only once
btxld.c:354: for each function it appears in.)
btxld.c:354: parse error before `)'
btxld.c:359: dereferencing pointer to incomplete type
btxld.c:360: dereferencing pointer to incomplete type
btxld.c:362: dereferencing pointer to incomplete type
btxld.c:365: dereferencing pointer to incomplete type
btxld.c:366: dereferencing pointer to incomplete type
btxld.c:374: dereferencing pointer to incomplete type
btxld.c:377: dereferencing pointer to incomplete type
btxld.c: In function `puthdr':
btxld.c:390: dereferencing pointer to incomplete type
btxld.c:394: dereferencing pointer to incomplete type
btxld.c:394: dereferencing pointer to incomplete type
btxld.c:394: dereferencing pointer to incomplete type
btxld.c:395: dereferencing pointer to incomplete type
btxld.c:396: dereferencing pointer to incomplete type
btxld.c:396: dereferencing pointer to incomplete type
btxld.c:396: dereferencing pointer to incomplete type
btxld.c:397: dereferencing pointer to incomplete type
btxld.c:398: dereferencing pointer to incomplete type
btxld.c:400: dereferencing pointer to incomplete type
btxld.c:401: dereferencing pointer to incomplete type
btxld.c:405: dereferencing pointer to incomplete type
btxld.c:406: dereferencing pointer to incomplete type
btxld.c:407: dereferencing pointer to incomplete type
btxld.c:411: dereferencing pointer to incomplete type
btxld.c:419: dereferencing pointer to incomplete type
btxld.c: At top level:
btxld.c:500: parse error before `optaddr'
btxld.c:501: warning: return-type defaults to `int'
*** Error code 1

Stop.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38B6A7B4.46D5>