public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] More sys-kernel/linux-2.4.15_pre1.ebuild
@ 2001-11-17 18:05 Gontran
  2001-11-17 18:18 ` Martin Schlemmer
  0 siblings, 1 reply; 2+ messages in thread
From: Gontran @ 2001-11-17 18:05 UTC (permalink / raw
  To: gentoo-dev, gentoo-ebuild

[-- Attachment #1: Type: text/plain, Size: 1072 bytes --]

Hi,

Hmmm.. I may have run into these problems because I made bzImage before
changing the default config (eg, no make *config)

Has anyone else had a problem with a missing escape '\' on line 508 of
/usr/src/linux-2.4.15-pre1/include/linux/sched.h ?

make bzImage would fail with a syntax error there since the #define was
more than a single line.  

Modified /usr/src/linux2.4.15-pre1/mm/vmscan.c, line 170
- preserve: + // preserve:

With those changes bzImage built.  But didn't run cause the config was 
not right.  Rebuilt with make oldconfig and ... no luck

----
/usr/src/linux-2.4.15-pre1/include/linux/kernel_stat.h: In function `kstat_irqs':
/usr/src/linux-2.4.15-pre1/include/linux/kernel_stat.h:95: `smp_num_cpus' undeclared (first use in this function)
/usr/src/linux-2.4.15-pre1/include/linux/kernel_stat.h:95: (Each undeclared identifier is reported only once
/usr/src/linux-2.4.15-pre1/include/linux/kernel_stat.h:95: for each function it appears in.)
make[2]: *** [ksyms.o] Error 1
---- 

Simple diffs to apply after emerge: attached.

Best Luck,
Gontran

[-- Attachment #2: sched.h.diff --]
[-- Type: text/plain, Size: 69 bytes --]

507c507
<     journal_info:	NULL
---
>     journal_info:	NULL						\

[-- Attachment #3: vmscan.c.diff --]
[-- Type: text/plain, Size: 250 bytes --]

--- /tmp/vmscan.c	Sat Nov 17 10:37:29 2001
+++ /usr/src/linux-2.4.15-pre1/mm/vmscan.c	Sat Nov 17 10:27:19 2001
@@ -167,7 +167,7 @@
 		swap_free(entry);
 	}
 
- preserve:
+// preserve:
 	/* No swap space left */
 preserve:
 	set_pte(page_table, pte);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] More sys-kernel/linux-2.4.15_pre1.ebuild
  2001-11-17 18:05 [gentoo-dev] More sys-kernel/linux-2.4.15_pre1.ebuild Gontran
@ 2001-11-17 18:18 ` Martin Schlemmer
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Schlemmer @ 2001-11-17 18:18 UTC (permalink / raw
  To: Gentoo-Dev

[-- Attachment #1: Type: text/plain, Size: 1770 bytes --]

On Sat, 2001-11-17 at 20:05, Gontran wrote:

Hi all

Please dont use 2.4.15-pre1 now, it is not finished yet!


> Hi,
> 
> Hmmm.. I may have run into these problems because I made bzImage before
> changing the default config (eg, no make *config)
> 
> Has anyone else had a problem with a missing escape '\' on line 508 of
> /usr/src/linux-2.4.15-pre1/include/linux/sched.h ?
> 
> make bzImage would fail with a syntax error there since the #define was
> more than a single line.  
> 
> Modified /usr/src/linux2.4.15-pre1/mm/vmscan.c, line 170
> - preserve: + // preserve:
> 
> With those changes bzImage built.  But didn't run cause the config was 
> not right.  Rebuilt with make oldconfig and ... no luck
> 
> ----
> /usr/src/linux-2.4.15-pre1/include/linux/kernel_stat.h: In function `kstat_irqs':
> /usr/src/linux-2.4.15-pre1/include/linux/kernel_stat.h:95: `smp_num_cpus' undeclared (first use in this function)
> /usr/src/linux-2.4.15-pre1/include/linux/kernel_stat.h:95: (Each undeclared identifier is reported only once
> /usr/src/linux-2.4.15-pre1/include/linux/kernel_stat.h:95: for each function it appears in.)
> make[2]: *** [ksyms.o] Error 1
> ---- 
> 
> Simple diffs to apply after emerge: attached.
> 
> Best Luck,
> Gontran
> ----
> 

> 507c507
> <     journal_info:	NULL
> ---
> >     journal_info:	NULL						\
> ----
> 

> --- /tmp/vmscan.c	Sat Nov 17 10:37:29 2001
> +++ /usr/src/linux-2.4.15-pre1/mm/vmscan.c	Sat Nov 17 10:27:19 2001
> @@ -167,7 +167,7 @@
>  		swap_free(entry);
>  	}
>  
> - preserve:
> +// preserve:
>  	/* No swap space left */
>  preserve:
>  	set_pte(page_table, pte);
-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop Team Developer
Cape Town, South Africa


[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-11-17 18:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-17 18:05 [gentoo-dev] More sys-kernel/linux-2.4.15_pre1.ebuild Gontran
2001-11-17 18:18 ` Martin Schlemmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox