j'ai eu cette erreur
j'utilise une lib archive, et je pense que ca viens de la.. (quand je clique dessus, ca me met une page grise
thx
j'ai eu cette erreur
TiMad
a écrit : pourtant j'ai deux exemples qui compile avec cette lib!
TiMad
a écrit : et d'ailleur il y a bien le generic archive..
TiMad a écrit :
?? a bon... comprend pas.. d'ailleur si je vire kernel ca compile..
hibou a écrit :
il se trouve que j'ai un pb similaire
je me suis fait un lib archive de l'algo de komp
puis qd je compile hibext en nostub, pas de pb
qd je compile hibtext en kernel, plein de _rom_call_ undefined de partout
ce pb n'existe pas si je vire l'utilisation de cette lib archive...
que fo-t'il faire avec _GENERIC_ARCHIVE ?
On va corriger cela, mais en attendant, il faut définir aussi NO_CALC_DETECT dans la librairie statique. 
--- Include.old/C/default.h Fri Jan 24 20:51:22 2003
+++ Include/C/default.h Mon Mar 17 15:32:54 2003
@@ -62,6 +62,14 @@
_INCLUDE_PATCH(_execute_in_ghost_space);
#endif
+#ifdef _GENERIC_ARCHIVE
+#undef NO_CALC_DETECT /* avoid redefinition warnings */
+#define NO_CALC_DETECT
+#undef OPTIMIZE_ROM_CALLS
+#undef USE_FLINE_ROM_CALLS
+#undef USE_INTERNAL_FLINE_EMULATOR
+#endif
+
#if (!defined (NO_CALC_DETECT)) && (!((defined (USE_KERNEL) || defined (DOORS)) && defined (_SUPPORT_ALL_CALCS)))
#define _NEED_CALC_DETECT
_INCLUDE_PATCH(_detect_calc_);
@@ -162,12 +170,6 @@
#define _rom_call_attr(type,args,attr,index) (*((type(*__ATTR_TIOS__ attr)args)(_rom_call_addr_concat(0x##index,_ROM_CALL_##index))))
#define import_binary(filename,symname) asm(".globl "#symname"\n"#symname":\n\t.incbin \""filename"\"")
/* End Auto-Generated Part */
-
-#ifdef _GENERIC_ARCHIVE
-#undef OPTIMIZE_ROM_CALLS
-#undef USE_FLINE_ROM_CALLS
-#undef USE_INTERNAL_FLINE_EMULATOR
-#endif
#ifdef USE_INTERNAL_FLINE_EMULATOR
_INCLUDE_PATCH(fline_internal_emulator);
)
TiMad
a écrit : bein tu gagnes rien en vitesse,