* SPARC include problem @ 2001-05-07 22:01 Sean Jones 2001-05-07 22:53 ` David S. Miller 2001-05-08 10:01 ` Erik Mouw 0 siblings, 2 replies; 6+ messages in thread From: Sean Jones @ 2001-05-07 22:01 UTC (permalink / raw) To: Linux Kernel Mailing List In compiling 2.4.4-ac5 for my SPARCStation 20, I had an error in the compile resulting from the inability to find a hw_irq.h in the include/asm directory. Do you know where I may be able to find such a file? Thank you Sean Jones ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SPARC include problem 2001-05-07 22:01 SPARC include problem Sean Jones @ 2001-05-07 22:53 ` David S. Miller [not found] ` <3AF72F44.27D752D3@ossm.edu> 2001-05-08 10:01 ` Erik Mouw 1 sibling, 1 reply; 6+ messages in thread From: David S. Miller @ 2001-05-07 22:53 UTC (permalink / raw) To: Sean Jones; +Cc: Linux Kernel Mailing List Sean Jones writes: > In compiling 2.4.4-ac5 for my SPARCStation 20, I had an error in the > compile resulting from the inability to find a hw_irq.h in the > include/asm directory. Do you know where I may be able to find such a > file? How did you find this problem if the build couldn't find the "bzImage" rule? :-) Later, David S. Miller davem@redhat.com ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <3AF72F44.27D752D3@ossm.edu>]
* Re: SPARC include problem [not found] ` <3AF72F44.27D752D3@ossm.edu> @ 2001-05-08 0:54 ` Sean Jones 0 siblings, 0 replies; 6+ messages in thread From: Sean Jones @ 2001-05-08 0:54 UTC (permalink / raw) To: Linux Kernel Mailing List Sean Jones wrote: > > "David S. Miller" wrote: > > > > Sean Jones writes: > > > In compiling 2.4.4-ac5 for my SPARCStation 20, I had an error in the > > > compile resulting from the inability to find a hw_irq.h in the > > > include/asm directory. Do you know where I may be able to find such a > > > file? > > > > How did you find this problem if the build couldn't find the > > "bzImage" rule? :-) > > > > Later, > > David S. Miller > > davem@redhat.com > > I found it by kicking the make stuff around one more time after I sent > that e-mail. > > Sean > > - > > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > Please read the FAQ at http://www.tux.org/lkml/ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SPARC include problem 2001-05-07 22:01 SPARC include problem Sean Jones 2001-05-07 22:53 ` David S. Miller @ 2001-05-08 10:01 ` Erik Mouw 2001-05-09 3:17 ` Sean Jones 1 sibling, 1 reply; 6+ messages in thread From: Erik Mouw @ 2001-05-08 10:01 UTC (permalink / raw) To: Sean Jones; +Cc: Linux Kernel Mailing List On Mon, May 07, 2001 at 05:01:03PM -0500, Sean Jones wrote: > In compiling 2.4.4-ac5 for my SPARCStation 20, I had an error in the > compile resulting from the inability to find a hw_irq.h in the > include/asm directory. Do you know where I may be able to find such a > file? You don't. I discussed this last week with Russell King: the ARM port also doesn't have the file hw_irq.h in include/asm-arm. According to Russell it is only needed in the arch dependent subdirectories, and not in the drivers. Any driver that includes linux/irq.h is not written to be portable. The only generic driver that includes it is driver/pcmcia/hd64465_ss.c, but on second glance it's a Hitachi HD64465 specific driver anyway. Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department of Electrical Engineering, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl WWW: http://www-ict.its.tudelft.nl/~erik/ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SPARC include problem 2001-05-08 10:01 ` Erik Mouw @ 2001-05-09 3:17 ` Sean Jones 2001-05-09 8:27 ` Erik Mouw 0 siblings, 1 reply; 6+ messages in thread From: Sean Jones @ 2001-05-09 3:17 UTC (permalink / raw) To: Erik Mouw; +Cc: Linux Kernel Mailing List The include error was in kernel/sched.c . Should I rewrite the includes for this file to include include/asm/irq.h over include/linux/irq.h? I temporarily bypassed this problem by creating a blank asm/hw_irq.h . I also ran into a compile problem in arch/sparc/kernel/sparc_ksyms.c . The rw semaphores seem to be undeclared. Here are the warnings: D__KERNEL__ -I/usr/src/linux-2.4.4/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 -DEXPORT_SYMTAB -c sparc_ksyms.c In file included from /usr/src/linux-2.4.4/include/linux/sched.h:9, from sparc_ksyms.c:17: /usr/src/linux-2.4.4/include/linux/binfmts.h:45: warning: `struct mm_struct' declared inside parameter list /usr/src/linux-2.4.4/include/linux/binfmts.h:45: warning: its scope is only this definition or declaration, which is probably not what you want. sparc_ksyms.c:121: `___down_read' undeclared here (not in a function) sparc_ksyms.c:121: initializer element is not constant sparc_ksyms.c:121: (near initialization for `__ksymtab____down_read.value') sparc_ksyms.c:122: `___down_write' undeclared here (not in a function) sparc_ksyms.c:122: initializer element is not constant sparc_ksyms.c:122: (near initialization for `__ksymtab____down_write.value') sparc_ksyms.c:123: `___up_read' undeclared here (not in a function) sparc_ksyms.c:123: initializer element is not constant sparc_ksyms.c:123: (near initialization for `__ksymtab____up_read.value') sparc_ksyms.c:124: `___up_write' undeclared here (not in a function) sparc_ksyms.c:124: initializer element is not constant sparc_ksyms.c:124: (near initialization for `__ksymtab____up_write.value') make[1]: *** [sparc_ksyms.o] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.4/arch/sparc/kernel' make: *** [_dir_arch/sparc/kernel] Error 2 Thank you, Sean Erik Mouw wrote: > > On Mon, May 07, 2001 at 05:01:03PM -0500, Sean Jones wrote: > > In compiling 2.4.4-ac5 for my SPARCStation 20, I had an error in the > > compile resulting from the inability to find a hw_irq.h in the > > include/asm directory. Do you know where I may be able to find such a > > file? > > You don't. I discussed this last week with Russell King: the ARM port > also doesn't have the file hw_irq.h in include/asm-arm. According to > Russell it is only needed in the arch dependent subdirectories, and not > in the drivers. > > Any driver that includes linux/irq.h is not written to be portable. The > only generic driver that includes it is driver/pcmcia/hd64465_ss.c, but > on second glance it's a Hitachi HD64465 specific driver anyway. > > Erik > > -- > J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department > of Electrical Engineering, Faculty of Information Technology and Systems, > Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands > Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl > WWW: http://www-ict.its.tudelft.nl/~erik/ > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SPARC include problem 2001-05-09 3:17 ` Sean Jones @ 2001-05-09 8:27 ` Erik Mouw 0 siblings, 0 replies; 6+ messages in thread From: Erik Mouw @ 2001-05-09 8:27 UTC (permalink / raw) To: Sean Jones; +Cc: Linux Kernel Mailing List On Tue, May 08, 2001 at 10:17:35PM -0500, Sean Jones wrote: > The include error was in kernel/sched.c . Should I rewrite the includes > for this file to include include/asm/irq.h over include/linux/irq.h? I > temporarily bypassed this problem by creating a blank asm/hw_irq.h . You shouldn't expect to be able to compile the main kernel source on Sparc at all. See http://www.tux.org/lkml/#s6-6 . Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department of Electrical Engineering, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl WWW: http://www-ict.its.tudelft.nl/~erik/ ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-05-09 8:31 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-07 22:01 SPARC include problem Sean Jones
2001-05-07 22:53 ` David S. Miller
[not found] ` <3AF72F44.27D752D3@ossm.edu>
2001-05-08 0:54 ` Sean Jones
2001-05-08 10:01 ` Erik Mouw
2001-05-09 3:17 ` Sean Jones
2001-05-09 8:27 ` Erik Mouw
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.