Hi,
introducing myself:
I'm a debian developer and from some times I've started studing hurd and gnumach
internals in order to learn kernel hacking and also I'like hurd ideas very much (
you are great! This is a beautyfool architecture!). I know c language very well and
common gnu development tools too (gcc, cpp, autotools and so on) also are many years
(abou 7) who I'm developing Free Software. But these are others story...
Well, I'm playing for fun with sources modifing them a little (for studing and
a
little bit) from cvs and build them using gcc-3.0 but some errors occur. In general
they are 'type' error in extern vars, so I patched them. In attach to this e-mail
there're a detailed (I hope :)) bug-report and gzipped patch (I hope could them
usefull to you). Could you examine them in order to understand if I've done a good
work
or these are only spagetti patch?
Excuse me if I'm annoyng you but I'like to be a hurd kernel hacker too.
Have my Best Regards.
--
Maurizio Boriani -- Debian Developer
E-mail address: [EMAIL PROTECTED]
GPG key: 0xCC0FBF8F
fingerprint => E429 A37C 5259 763C 9DEE FC8B 5D61 C796 CC0F BF8F <= fingerprint
* Topic: Building hurd from cvs and found some errors (from 1 to 13 are
libstore sources)
* Building report #1:
gcc -O -Wall -g -O3 -I./../exec -I. -I.. -I../include -D_GNU_SOURCE
-D_IO_MTSAFE_IO -c -o device.o device.c
device.c: In function `dev_error':
device.c:44: warning: deprecated use of label at end of compound statement
device.c: At top level:
device.c:227: conflicting types for `store_device_class'
store.h:507: previous declaration of `store_device_class'
make: *** [device.o] Error 1
* Building report #2:
gcc -O -Wall -g -O3 -I./../exec -I. -I.. -I../include -D_GNU_SOURCE
-D_IO_MTSAFE_IO -c -o device.o device.c
device.c:226: conflicting types for `store_device_class'
store.h:507: previous declaration of `store_device_class'
make: *** [device.o] Error 1
* Building report #3:
gcc -O -Wall -g -O3 -I./../exec -I. -I.. -I../include -D_GNU_SOURCE
-D_IO_MTSAFE_IO -c -o file.o file.c
file.c: At top level:
file.c:193: conflicting types for `store_file_class'
store.h:509: previous declaration of `store_file_class'
file.c: In function `file_byte_write':
file.c:214: warning: passing arg 2 of `io_write' discards qualifiers from pointer
target type
make: *** [file.o] Error 1
* Building report #4:
gcc -O -Wall -g -O3 -I./../exec -I. -I.. -I../include -D_GNU_SOURCE
-D_IO_MTSAFE_IO -c -o stripe.o stripe.c
stripe.c:106: conflicting types for `store_ileave_class'
store.h:513: previous declaration of `store_ileave_class'
stripe.c:149: conflicting types for `store_concat_class'
store.h:514: previous declaration of `store_concat_class'
make: *** [stripe.o] Error 1
* Building #5:
gcc -O -Wall -g -O3 -I./../exec -I. -I.. -I../include -D_GNU_SOURCE
-D_IO_MTSAFE_IO -c -o zero.o zero.c
zero.c:174: conflicting types for `store_zero_class'
store.h:512: previous declaration of `store_zero_class'
make: *** [zero.o] Error 1
* Building #6:
gcc -O -Wall -g -O3 -I./../exec -I. -I.. -I../include -D_GNU_SOURCE
-D_IO_MTSAFE_IO -c -o open.o open.c
open.c:64: conflicting types for `store_query_class'
store.h:516: previous declaration of `store_query_class'
make: *** [open.o] Error 1
* Building #7:
gcc -O -Wall -g -O3 -I./../exec -I. -I.. -I../include -D_GNU_SOURCE
-D_IO_MTSAFE_IO -c -o remap.o remap.c
remap.c:201: conflicting types for `store_remap_class'
store.h:515: previous declaration of `store_remap_class'
make: *** [remap.o] Error 1
* Building #8:
gcc -O -Wall -g -O3 -I./../exec -I. -I.. -I../include -D_GNU_SOURCE
-D_IO_MTSAFE_IO -c -o task.o task.c
task.c:128: conflicting types for `store_task_class'
store.h:510: previous declaration of `store_task_class'
make: *** [task.o] Error 1
* Building #9:
gcc -O -Wall -g -O3 -I./../exec -I. -I.. -I../include -D_GNU_SOURCE
-D_IO_MTSAFE_IO -c -o typed.o typed.c
typed.c:85: conflicting types for `store_typed_open_class'
store.h:520: previous declaration of `store_typed_open_class'
make: *** [typed.o] Error 1
* Building #9:
gcc -O -Wall -g -O3 -I./../exec -I. -I.. -I../include -D_GNU_SOURCE
-D_IO_MTSAFE_IO -c -o copy.o copy.c
copy.c:164: conflicting types for `store_copy_class'
store.h:517: previous declaration of `store_copy_class'
make: *** [copy.o] Error 1
* Building #10:
gcc -O -Wall -g -O3 -I./../exec -I. -I.. -I../include -D_GNU_SOURCE
-D_IO_MTSAFE_IO -c -o gunzip.o gunzip.c
gunzip.c:275: conflicting types for `store_gunzip_class'
store.h:518: previous declaration of `store_gunzip_class'
make: *** [gunzip.o] Error 1
* Building #11:
gcc -O -Wall -g -O3 -I./../exec -I. -I.. -I../include -D_GNU_SOURCE
-D_IO_MTSAFE_IO -c -o mvol.o mvol.c
mvol.c:82: conflicting types for `store_mvol_class'
store.h:523: previous declaration of `store_mvol_class'
make: *** [mvol.o] Error 1
* Building #12:
gcc -O -Wall -g -O3 -I./../exec -I. -I.. -I../include -D_GNU_SOURCE
-D_IO_MTSAFE_IO -c -o bunzip2.o bunzip2.c
bunzip2.c:259: conflicting types for `store_bunzip2_class'
store.h:519: previous declaration of `store_bunzip2_class'
make: *** [bunzip2.o] Error 1
* Building #13:
gcc -O -Wall -g -O3 -I./../exec -I. -I.. -I../include -D_GNU_SOURCE
-D_IO_MTSAFE_IO -c -o nbd.o nbd.c
nbd.c:361: conflicting types for `store_nbd_class'
../hurd/store.h:511: previous declaration of `store_nbd_class'
make: *** [nbd.o] Error 1
* Building #14:
make[1]: Entering directory `/home/baux/local/src/hurd/libdiskfs'
gcc -O -Wall -g -O3 -I. -I.. -I../include -D_GNU_SOURCE -D_IO_MTSAFE_IO -c -o
file-getfh.o file-getfh.c
make[1]: Leaving directory `/home/baux/local/src/hurd/libdiskfs'
file-getfh.c: In function `diskfs_S_file_getfh':
file-getfh.c:46: `diskfs_fhandle' defined as wrong kind of tag
file-getfh.c:47: `diskfs_fhandle' defined as wrong kind of tag
make[1]: *** [file-getfh.o] Error 1
make: *** [libdiskfs] Error 2
* Building #15
make[1]: Entering directory `/home/baux/local/src/hurd/libps'
gcc -O -Wall -g -O3 -I. -I.. -I../include -D_GNU_SOURCE -D_IO_MTSAFE_IO -c -o
filters.o filters.c
make[1]: Leaving directory `/home/baux/local/src/hurd/libps'
filters.c:41: conflicting types for `ps_own_filter'
ps.h:555: previous declaration of `ps_own_filter'
filters.c:50: conflicting types for `ps_not_leader_filter'
ps.h:557: previous declaration of `ps_not_leader_filter'
filters.c:61: conflicting types for `ps_unorphaned_filter'
ps.h:562: previous declaration of `ps_unorphaned_filter'
filters.c:69: conflicting types for `ps_ctty_filter'
ps.h:559: previous declaration of `ps_ctty_filter'
filters.c:77: conflicting types for `ps_parent_filter'
ps.h:565: previous declaration of `ps_parent_filter'
filters.c:90: conflicting types for `ps_alive_filter'
ps.h:567: previous declaration of `ps_alive_filter'
make[1]: *** [filters.o] Error 1
make: *** [libps] Error 2
* Building #16
make[1]: Entering directory `/home/baux/local/src/hurd/ufs'
make ufs prof-depend=t
make[2]: Entering directory `/home/baux/local/src/hurd/ufs'
gcc -O -Wall -g -O3 -I. -I.. -I../include -D_GNU_SOURCE -D_IO_MTSAFE_IO -c -o
alloc.o alloc.c
make[2]: Leaving directory `/home/baux/local/src/hurd/ufs'
make[1]: Leaving directory `/home/baux/local/src/hurd/ufs'
In file included from alloc.c:56:
ufs.h: In function `swab_long_long':
ufs.h:211: 'Ll' and 'lL' are not valid integer suffixes
make[2]: *** [alloc.o] Error 1
make[1]: *** [ufs.prof_d] Error 2
make: *** [ufs] Error 2
* Building #17
make[1]: Entering directory `/home/baux/local/src/hurd/serverboot'
make serverboot prof-depend=t
make[2]: Entering directory `/home/baux/local/src/hurd/serverboot'
make[2]: Leaving directory `/home/baux/local/src/hurd/serverboot'
make[1]: Leaving directory `/home/baux/local/src/hurd/serverboot'
make[2]: *** No rule to make target `boot_script.o', needed by `serverboot'. Stop.
make[1]: *** [serverboot.prof_d] Error 2
make: *** [serverboot] Error 2
* Patch:
in attach there're patches for upper builbing errors
*** System:
* uname: GNU elisya.cyboman.spc 0.2 GNUmach-1.2/Hurd-0.2 i386-AT386 unknown
* libc version: libc0.2
* gcc version:
Reading specs from /usr/lib/gcc-lib/i386-gnu/3.0/specs
Configured with: ../src/configure -v --enable-languages=c,c++,f77,proto,objc
--prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared
--with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long
--enable-nls --without-x --without-included-gettext --disable-checking
--with-cpp-install-dir=bin i386-gnu
Thread model: single
gcc version 3.0 (Debian)
* Relevant Debian GNU/HURD packages installed
ii gcc 2.95.4-3 The GNU C compiler.
ii gcc-2.95 2.95.4-0.01052 The GNU C compiler.
ii gcc-2.95-doc 2.95.4-0.01070 Documentation for the GNU compilers (gcc, go
ii gcc-2.96-base 2.96-1 The GNU compiler collection (base package).
ii gcc-2.96-doc 2.96-1 Documentation for the GNU compilers (gcc, go
ii gcc-3.0 3.0-1 The GNU C compiler.
ii gcc-3.0-base 3.0-4 The GNU compiler collection (base package).
ii gcc-3.0-doc 3.0-4 Documentation for the GNU compilers (gcc, go
ii libgcc1 3.0-1 GCC support library.
ii hurd 20010608 The GNU Hurd
ii hurd-dev 20010608 The GNU Hurd (development files)
ii telnet-hurd 1.3.2-9 The telnet client.
ii telnetd-hurd 1.3.2-9 The telnet server.
ii gnumach 1.2-11 The GNU version of the Mach microkernel
ii gnumach-dev 1.2-11 The GNU version of the Mach microkernel
bunzip2.c.patch.gz
copy.c.patch.gz
device.patch.gz
file-getfh.c.patch.gz
file.c.patch.gz
filters.c.patch.gz
gunzip.c.patch.gz
memobj.c.patch.gz
mvol.c.patch.gz
nbd.c.patch.gz
open.c.patch.gz
remap.c.patch.gz
stripe.c.patch.gz
typed.c.patch.gz
ufs.h.patch.gz
zero.c.patch.gz
PGP signature