mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.4.9ac10 compile failure (hz_to_std)
@ 2001-09-11  7:39 J.Brown (Ender/Amigo)
  2001-09-11 14:18 ` Jeff Dike
  0 siblings, 1 reply; 2+ messages in thread
From: J.Brown (Ender/Amigo) @ 2001-09-11  7:39 UTC (permalink / raw)
  To: linux-kernel

Hey all.

I'm trying to compile a user-mode version of 2.4.9ac10, but I'm getting a
lot of undefined references to hz_to_std. Was this recently renamed or
something?

gcc -Wl,-T,/usr/src/uml/orig/arch/um/link.ld  -o linux -static \
        /usr/src/uml/orig/arch/um/main.o vmlinux.o -L/usr/lib
vmlinux.o: In function `do_notify_parent':
/usr/src/uml/orig/kernel/signal.c:747: undefined reference to `hz_to_std'
/usr/src/uml/orig/kernel/signal.c:748: undefined reference to `hz_to_std'
vmlinux.o: In function `sys_times':
/usr/src/uml/orig/kernel/sys.c:802: undefined reference to `hz_to_std'
/usr/src/uml/orig/kernel/sys.c:803: undefined reference to `hz_to_std'
/usr/src/uml/orig/kernel/sys.c:804: undefined reference to `hz_to_std'
vmlinux.o:/usr/src/uml/orig/kernel/sys.c:805: more undefined references to
`hz_to_std' follow
collect2: ld returned 1 exit status


TIA :)

 - Ender

Regards,	| If I must have computer systems with publically
	 Ender  | available terminals, the maps they display of my complex
  (James Brown)	| will have a room clearly marked as the Main Control Room.
		| That room will be the Execution Chamber. The actual main
		| control room will be marked as Sewage Overflow Containment.


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

* Re: 2.4.9ac10 compile failure (hz_to_std)
  2001-09-11  7:39 2.4.9ac10 compile failure (hz_to_std) J.Brown (Ender/Amigo)
@ 2001-09-11 14:18 ` Jeff Dike
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Dike @ 2001-09-11 14:18 UTC (permalink / raw)
  To: J.Brown (Ender/Amigo); +Cc: linux-kernel

Below is the patch which fixes it which I haven't sent to Alan yet.

				Jeff

diff -Naur linux/include/asm-um/param.h uml/include/asm-um/param.h
--- linux/include/asm-um/param.h	Thu Sep  6 17:51:01 2001
+++ uml/include/asm-um/param.h	Thu Sep  6 19:19:12 2001
@@ -5,6 +5,8 @@
 #define HZ 20
 #endif
 
+#define hz_to_std(a) (((a)*HZ)/100)
+
 #define EXEC_PAGESIZE   4096
 
 #ifndef NGROUPS


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

end of thread, other threads:[~2001-09-11 13:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-11  7:39 2.4.9ac10 compile failure (hz_to_std) J.Brown (Ender/Amigo)
2001-09-11 14:18 ` Jeff Dike

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

all inboxes | Powered by JetHome®