Linux-on-mac

Asko Kauppi asko.kauppi at sci.fi
Tue Nov 2 00:38:46 MST 2004


hmm.. so..  with this patch, how far do you get?

I mean, when fixes like this are no longer coming in, there's probably 
a state when LOM becomes a working reality.  How far do you think?

-ak


2.11.2004 kello 08:16, Derrick Brashear kirjoitti:


> >    Compiling    zconf-y.o
> > lkc_proto.h:8: only 2 args to macro 'P' (3 expected)
> > lkc_proto.h:17: only 2 args to macro 'P' (3 expected)
> > cpp-precomp: warning: errors during smart preprocessing, retrying in 
> basic mode
>
> This, the cc1 bus error, and a problem with const being redefined 
> fixed as follows (the printd macro is what causes the bus error; it 
> should probably be reported to apple)
>
> diff -ur/of-dev/config/Makefile.osx ./config/Makefile.osx
> ---/of-dev/config/Makefile.osx	Mon Nov  1 18:13:11 2004
> +++ ./config/Makefile.osx	Tue Nov  2 01:02:10 2004
> @@ -12,4 +12,4 @@
>  ASMFLAGS	=
>  ASFLAGS		= -force_cpusubtype_ALL
>
> -IDIRS		+= -D__darwin__
> \ No newline at end of file
> +IDIRS		+= -D__darwin__ -D__STDC__
> \ No newline at end of file
> diff -ur/of-dev/config/kconfig/lkc.h ./config/kconfig/lkc.h
> ---/of-dev/config/kconfig/lkc.h	Mon Nov  1 18:13:11 2004
> +++ ./config/kconfig/lkc.h	Tue Nov  2 00:42:43 2004
> @@ -14,12 +14,15 @@
>
>  #ifdef LKC_DIRECT_LINK
>  #define P(name,type,arg)	extern type name arg
> +#define Q(name,type)	extern type name
>  #else
>  #include "lkc_defs.h"
>  #define P(name,type,arg)	extern type (*name ## _p) arg
> +#define Q(name,type)	extern type (*name ## _p)
>  #endif
>  #include "lkc_proto.h"
>  #undef P
> +#undef Q
>
>  #define SRCTREE "srctree"
>
> diff -ur/of-dev/config/kconfig/lkc_proto.h ./config/kconfig/lkc_proto.h
> ---/of-dev/config/kconfig/lkc_proto.h	Mon Nov  1 18:13:11 2004
> +++ ./config/kconfig/lkc_proto.h	Tue Nov  2 00:41:44 2004
> @@ -5,7 +5,7 @@
>  P(conf_write,int,(const char *name));
>
>  /* menu.c */
> -P(rootmenu,struct menu,);
> +Q(rootmenu,struct menu);
>
>  P(menu_is_visible,bool,(struct menu *menu));
>  P(menu_get_prompt,const char *,(struct menu *menu));
> @@ -14,7 +14,7 @@
>
>  /* symbol.c */
>  P(symbol_hash,struct symbol *,[SYMBOL_HASHSIZE]);
> -P(sym_change_count,int,);
> +Q(sym_change_count,int);
>
>  P(sym_lookup,struct symbol *,(const char *name, int isconst));
>  P(sym_find,struct symbol *,(const char *name));
> diff -ur/of-dev/config/kconfig/zconf-y.y ./config/kconfig/zconf-y.y
> ---/of-dev/config/kconfig/zconf-y.y	Mon Nov  1 18:13:11 2004
> +++ ./config/kconfig/zconf-y.y	Tue Nov  2 00:53:12 2004
> @@ -11,7 +11,8 @@
>  #include <string.h>
>  #include <stdbool.h>
>
> -#define printd(mask, fmt...) if (cdebug & (mask)) printf(fmt)
> +  /* #define printd(mask, fmt...) if (cdebug & (mask)) printf(fmt) */
> +#define printd
>
>  #define PRINTD		0x0001
>  #define DEBUG_PARSE	0x0002
> _______________________________________________
> mol-general mailing list
> mol-general at lists.maconlinux.org
> http://lists.maconlinux.org/mailman/listinfo/mol-general
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 3023 bytes
Desc: not available
Url : http://lists.terrasoftsolutions.com/pipermail/mol-general/attachments/20041102/874bacf1/attachment-0001.bin


More information about the mol-general mailing list