[Kos-dev] compile
Maxime Petazzoni
kos-dev@enix.org
Sun, 25 May 2003 11:50:11 +0200
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig4180345D43D854008D780E62
Content-Type: multipart/mixed;
boundary="------------010909020707060807000801"
This is a multi-part message in MIME format.
--------------010909020707060807000801
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
salut a tous
j'essaye de compiler KOS, mais y a quelques erreurs, que je suis en
train de corriger (enfin d'essayer ...) :
- modules/x86/lib/_delay.c: un bout de truc en __asm__ __volatile__ ou
apparement faut pas passer a la ligne sinon ca foire :)
- modules/kitc/kitc.c: #include <kitc/_kwaitqueue.c> alors que le
fichier n'existe pas. j'en ai donc fait un qui fait rien, pour pas virer
l'include
- modules/kos/wolfgang.c:
wolfgang.c:21:22: missing terminating " character
wolfgang.c:24: error: parse error before '|' token
wolfgang.c:31:1: missing terminating " character
wolfgang.c: In function `thread_twiddle':
wolfgang.c:57: error: `screen' undeclared (first use in this function)
wolfgang.c:57: error: (Each undeclared identifier is reported only once
wolfgang.c:57: error: for each function it appears in.)
wolfgang.c: In function `kernel_start':
wolfgang.c:185: error: `screen' undeclared (first use in this function)
wolfgang.c: At top level:
wolfgang.c:48: warning: `logo_disp' defined but not used
make[2]: *** [wolfgang.o] Error 1
make[2]: Leaving directory `/home/sam/src/kos/kos/modules/kos'
make[1]: *** [mk-kos] Error 2
make[1]: Leaving directory `/home/sam/src/kos/kos/modules'
make: *** [modules] Error 2
mais tout semble correct, alors je pige pas :)
pour info:
[11:47:46][sam@skikda][~/src/kos/kos] uname -a
Linux skikda 2.4.20 #15 Wed May 7 22:33:25 CEST 2003 i686 GNU/Linux
[11:48:31][sam@skikda][~/src/kos/kos] gcc --version
gcc (GCC) 3.3 (Debian)
Copyright (C) 2003 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.
vala :)
bon dimanche a tous
--
[ identity: maxime petazzoni aka sam ] [ sam@nova-mag.org ]
[ web: .. http://www.nova-mag.org .. ] [ ip: 81.56.216.51 ]
[ icq: 100551837 ] [ aim: maximepetazzoni ] [ 19 aug 1986 ]
[ gpg: D694 DAB9 8F4E 68A8 4C17 F011 ECAB 0E7B 83E6 AE0D ]
--------------010909020707060807000801
Content-Type: text/x-csrc;
name="_delay.c"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="_delay.c"
#include <arch/lib/delay.h>
void arch_loop_delay(unsigned loop)
{
int d0;
__asm__ __volatile__("jmp 1f\n.align 16\n1: jmp 2f\n.align 16\n2: decl %0\njns 2b\n":"=&a"(d0):"0"(loop));
}
--------------010909020707060807000801
Content-Type: text/x-chdr;
name="_kwaitqueue.h"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="_kwaitqueue.h"
#ifndef ___KWAITQUEUE_H__
#define ___KWAIQUEUE_H__
#endif /* ___KWAITQUEUE_H__ */
--------------010909020707060807000801--
--------------enig4180345D43D854008D780E62
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE+0JHT7KsOe4Pmrg0RAmFTAKCS0aCVtir0qbgCFFZ4JT8hv7LQPgCgiJ8B
zgvYUiAqqqPDip/hbqaY/zY=
=PZIe
-----END PGP SIGNATURE-----
--------------enig4180345D43D854008D780E62--