minoca / os

Minoca operating system
Other
2.71k stars 232 forks source link

can't compile repo/os on ubuntu #98

Closed melezhik closed 7 years ago

melezhik commented 7 years ago

Hi Minoca devs!

This is what I get from the latest git checkout:

Entering Directory: /home/melezhik/minoca/os/lib
Entering Directory: /home/melezhik/minoca/os/lib/basevid

...
... output truncated ....
...

/home/melezhik/minoca/os/apps/swiss/uos/../init.c: In function ‘InitAddUtmpEntry’:
/home/melezhik/minoca/os/apps/swiss/uos/../init.c:2189:5: error: passing argument 1 of ‘gettimeofday’ from incompatible pointer type [-Werror]
     gettimeofday(&(Entry.ut_tv), NULL);
     ^
In file included from /usr/include/utmpx.h:22:0,
                 from /home/melezhik/minoca/os/apps/swiss/uos/../init.c:49:
/usr/include/x86_64-linux-gnu/sys/time.h:71:12: note: expected ‘struct timeval * __restrict__’ but argument is of type ‘struct <anonymous> *’
 extern int gettimeofday (struct timeval *__restrict __tv,
            ^
cc1: all warnings being treated as errors
make[4]: *** [init.o] Error 1
make[3]: *** [uos] Error 2
make[2]: *** [swiss] Error 2
make[1]: *** [apps] Error 2
make: *** [/home/melezhik/minoca/x86dbg/obj/os] Error 2
melezhik@melezhik-pc:~/projects/minoca-build$ cat /etc/issue
Ubuntu 14.04.5 LTS \n \l
evangreen commented 7 years ago

Give it a try now.

melezhik commented 7 years ago

HI Evan! It's ok now.

melezhik commented 7 years ago

Thanks