[FreeVMS] How to build freevms on my debian squeeze?

Niu Kun haoniukun at gmail.com
Wed May 13 05:01:42 CEST 2009


Hi all,

And this time, on my squeeze system, I fail to find the genksyms tool.
I've got a genksyms script under directory 
/usr/src/linux-kbuild-2.6.26/scripts/genksyms/genksyms.
But it seems that it fails to work with envscript.
My freevms version is 0.3.13.
I also tested "myprescript" script, but I get the following error:

main.c: In function ‘ACPINI_ADLOOK_DONE’:
main.c:650: warning: incompatible implicit declaration of built-in 
function ‘memcpy’
main.c:650: warning: passing argument 2 of ‘memcpy’ makes pointer from 
integer without a cast
main.c: In function ‘wait_for_something_2_do’:
main.c:705: warning: comparison of distinct pointer types lacks a cast
main.c:740: warning: comparison of distinct pointer types lacks a cast
main.c: In function ‘main’:
main.c:807: warning: initialization from incompatible pointer type
main.c:807: warning: initialization from incompatible pointer type
main.c:820: warning: initialization from incompatible pointer type
main.c:824: warning: initialization from incompatible pointer type
main.c:825: warning: initialization from incompatible pointer type
main.c:826: warning: initialization from incompatible pointer type
main.c:835: warning: incompatible implicit declaration of built-in 
function ‘bzero’
main.c:899: warning: incompatible implicit declaration of built-in 
function ‘sprintf’
main.c:779: warning: return type of ‘main’ is not ‘int’
main.c: In function ‘INIT_PROCNAME’:
main.c:958: warning: initialization from incompatible pointer type
main.c: In function ‘ip4acp_main’:
main.c:1009: warning: incompatible implicit declaration of built-in 
function ‘bzero’
make[1]: *** [nokernel/main.o] error 1
And I have error message:
/home/niu/tool/freevms/linker/src/linker -Bstatic chrutils.o 
ch_screen_vt100.o cmd_change.o cmd_copy.o cmd_delete.o cmd_exit.o 
cmd_find.o cmd_help.o cmd_include.o cmd_insert.o cmd_move.o cmd_open.o 
cmd_quit.o cmd_resequence.o cmd_set.o cmd_show.o cmd_substitute.o 
cmd_type.o cmd_write.o crash.o edt.o journaling.o keypad.o line.o 
ln_command.o os.linux.o output.o range.o read_file.o relposition.o 
representation.o string.o write_file.o  
/usr/lib/gcc/i486-linux-gnu/4.3.3/libgcc.a 
/usr/lib/gcc/i486-linux-gnu/4.3.3/libgcc_eh.a --start-group 
/usr/lib/crt1.o /usr/lib/crti.o /usr/lib/libc.a 
/usr/lib/gcc/i486-linux-gnu/4.3.3/libgcc.a 
/usr/lib/gcc/i486-linux-gnu/4.3.3/libgcc_eh.a --end-group -o i386/edt.exe
I wonder where edt.exe comes from.
The linker can't be found, either.
Here's my "gcc -v" output:
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.3-3' 
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr 
--enable-shared --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix --enable-nls 
--with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc 
--enable-mpfr --enable-targets=all --enable-cld --with-tune=generic 
--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu 
--target=i486-linux-gnu
Thread model: posix
gcc version 4.3.3 (Debian 4.3.3-3)

Does it mean that I'll have to wait until squeeze is released?
Or will freevms work on a gentoo system?
Thanks for any hints.

Regards,
Kun

freevms-request at rayleigh.systella.fr 写道:

>
> BERTRAND Joel wrote:
>   
>> Niu Kun wrote:
>>     
>>> Hi all,
>>> I wonder if any document can be found here?
>>>       
>>     I believe that there is no document on the web page. You have to 
>> download freevms sources, to run ./myprescript and to build linker in 
>> freevms/linker/src :
>>
>> cauchy:[~/freevms/freevms/linker/src] > ./download-linker
>> ...
>> cauchy:[~/freevms/freevms/linker/src] > ./make-linker
>>
>>     Same thing for bliss (freevms/bliss/src), but you need to build an 
>> old release of flex. You can find it here :
>> http://dir.filewatcher.com/d/GNU/Other/flex-2.5.4.tar.gz.384251.html
>>     
>
> ../../../gcc-4.2.1/gcc/bliss/parse.y:5627.1-6: AVERTISSEMENT: conflit de 
> type pour l'action par d?faut: <type_node_p> != <type_int>
> ../../../gcc-4.2.1/gcc/bliss/parse.y:5629.1-5: AVERTISSEMENT: conflit de 
> type pour l'action par d?faut: <type_node_p> != <>
> ../../../gcc-4.2.1/gcc/bliss/parse.y:5631.1-11: AVERTISSEMENT: conflit 
> de type pour l'action par d?faut: <type_node_p> != <>
> ../../../gcc-4.2.1/gcc/bliss/parse.y:5857.1-15: AVERTISSEMENT: conflit 
> de type pour l'action par d?faut: <type_node_p> != <>
> ../../../gcc-4.2.1/gcc/bliss/parse.y:5861.1-15: AVERTISSEMENT: conflit 
> de type pour l'action par d?faut: <type_node_p> != <>
> make[3]: *** [bliss/parse.c] Erreur 1
> make[3]: quittant le r?pertoire ? 
> /home/bertrand/freevms/freevms/bliss/src/build/gcc ?
> make[2]: *** [all-stage2-gcc] Erreur 2
> make[2]: quittant le r?pertoire ? 
> /home/bertrand/freevms/freevms/bliss/src/build ?
> make[1]: *** [stage2-bubble] Erreur 2
> make[1]: quittant le r?pertoire ? 
> /home/bertrand/freevms/freevms/bliss/src/build ?
> make: *** [bootstrap] Erreur 2
>
> 	I cannot build bliss with bison provided by debian/testing.
>
> 	Regards,
>
> 	JKB
>
>
>   



More information about the FreeVMS mailing list