Visopsys 0.72 compiling on ubuntu 12.04

General discussion about Visopsys.
Post Reply
User avatar
doga-1494
Posts: 46
Joined: Fri Jul 22, 2011 3:53 pm

Visopsys 0.72 compiling on ubuntu 12.04

Post by doga-1494 »

GCC :

doga_ozkaraca@dogaozkaraca-Inspiron-N5110:~/Desktop/visopsys-0.72-src$ gcc --version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Nasm :
doga_ozkaraca@dogaozkaraca-Inspiron-N5110:~/Desktop/visopsys-0.72-src$ nasm -v
NASM version 2.09.10 compiled on Oct 17 2011

Source Compiling Log :

doga_ozkaraca@dogaozkaraca-Inspiron-N5110:~/Desktop/visopsys-0.72-src$ make all
mkdir -p build/system
cp COPYING.txt build/system/
mkdir -p build/system/locale
make -C dist
make[1]: Entering directory `/home/doga_ozkaraca/Desktop/visopsys-0.72-src/dist'
mkdir -p ../build/
mkdir -p ../build//temp
make -C programs
make[2]: Entering directory `/home/doga_ozkaraca/Desktop/visopsys-0.72-src/dist/programs'
mkdir -p ../../build/programs
make -C helpfiles
make[3]: Entering directory `/home/doga_ozkaraca/Desktop/visopsys-0.72-src/dist/programs/helpfiles'
mkdir -p ../../../build/programs/helpfiles
cp *.txt ../../../build/programs/helpfiles
make[3]: Leaving directory `/home/doga_ozkaraca/Desktop/visopsys-0.72-src/dist/programs/helpfiles'
make -C mines.dir
make[3]: Entering directory `/home/doga_ozkaraca/Desktop/visopsys-0.72-src/dist/programs/mines.dir'
mkdir -p ../../../build/programs/mines.dir
cp *.bmp ../../../build/programs/mines.dir
make[3]: Leaving directory `/home/doga_ozkaraca/Desktop/visopsys-0.72-src/dist/programs/mines.dir'
make -C snake.dir
make[3]: Entering directory `/home/doga_ozkaraca/Desktop/visopsys-0.72-src/dist/programs/snake.dir'
mkdir -p ../../../build/programs/snake.dir
cp *.bmp ../../../build/programs/snake.dir
make[3]: Leaving directory `/home/doga_ozkaraca/Desktop/visopsys-0.72-src/dist/programs/snake.dir'
make[2]: Leaving directory `/home/doga_ozkaraca/Desktop/visopsys-0.72-src/dist/programs'
make -C system
make[2]: Entering directory `/home/doga_ozkaraca/Desktop/visopsys-0.72-src/dist/system'
mkdir -p ../../build/system
cp *.jpg install-files.* password.blank ../../build/system
mkdir -p ../../build/system/config
cp config/*.conf ../../build/system/config
mkdir -p ../../build/system/icons
cp icons/*.bmp icons/*.ico ../../build/system/icons
mkdir -p ../../build/system/fonts
cp fonts/*.vbf ../../build/system/fonts
mkdir -p ../../build/system/keymaps
cp keymaps/*.map ../../build/system/keymaps
mkdir -p ../../build/system/mouse
cp mouse/*.bmp ../../build/system/mouse
mkdir -p ../../build/system/wallpaper
cp wallpaper/*.jpg ../../build/system/wallpaper
make[2]: Leaving directory `/home/doga_ozkaraca/Desktop/visopsys-0.72-src/dist/system'
make[1]: Leaving directory `/home/doga_ozkaraca/Desktop/visopsys-0.72-src/dist'
make -C utils
make[1]: Entering directory `/home/doga_ozkaraca/Desktop/visopsys-0.72-src/utils'
gcc -Os -pipe -Wall -W -Wshadow -Wcast-align -Wsign-compare -Waggregate-return -Wmissing-format-attribute -Wredundant-decls -Werror ../src/programs/copy-boot.c -o copy-boot
../src/programs/copy-boot.c: In function ‘main’:
../src/programs/copy-boot.c:527:7: error: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long unsigned int’ [-Werror=format]
../src/programs/copy-boot.c:534:7: error: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long unsigned int’ [-Werror=format]
../src/programs/copy-boot.c:540:7: error: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Werror=format]
cc1: all warnings being treated as errors
make[1]: *** [copy-boot] Error 1
make[1]: Leaving directory `/home/doga_ozkaraca/Desktop/visopsys-0.72-src/utils'
make: *** [all] Error 2


how should i do for compiling ?
User avatar
andymc
Posts: 589
Joined: Tue Nov 16, 2010 7:20 pm

Re: Visopsys 0.72 compiling on ubuntu 12.04

Post by andymc »

I probably need to upgrade to the latest Ubuntu - every time there's a newer version of GCC, they add new warnings.

In the meantime, you could remove the -Werror parameter from the Makefile.include in the top-level directory. You'll still see warnings, but they won't cause the build to fail.
User avatar
doga-1494
Posts: 46
Joined: Fri Jul 22, 2011 3:53 pm

Re: Visopsys 0.72 compiling on ubuntu 12.04

Post by doga-1494 »

while using that OS i feel like a FBI

LOL

It's completely re-wrote from stratch :D it doesnt contain anything from linux windows mac etc.

So, it can't be hackable probably :D IT'S TOTALLY NEW OS :D


Keep up the good work !

I believe you can get work wifi on that OS :D

also i think i can help you too if you need help :D
User avatar
andymc
Posts: 589
Joined: Tue Nov 16, 2010 7:20 pm

Re: Visopsys 0.72 compiling on ubuntu 12.04

Post by andymc »

Ha, thanks doga-1494

Yes, it's nice to be able to design things from the ground up.

It occurred to me that it might be able to be used as a privacy/security communication appliance, if it had a simple network stack. Something you could run from a CD or USB stick, or inside a VM.

Please do help if you can, there are lots of things to do. Whatever you feel like doing, really.
User avatar
doga-1494
Posts: 46
Joined: Fri Jul 22, 2011 3:53 pm

Re: Visopsys 0.72 compiling on ubuntu 12.04

Post by doga-1494 »

yeah i want to improve something but i can't even compile visopsys on ubuntu 13

i changed some lines in makefile but still gives many problems... :)

EDIT : I FOUND FIX ..
Post Reply