Gregg Levine <[EMAIL PROTECTED]> writes:

> Hello from Gregg C Levine
> I just attempted to build the contents of kexec-tools-1.7, on a
> Slackware 8.0 system running the 2.2.19 kernel. It ran make all the way
> until it found a missing library to complain about. Basically, I don't
> know what one it is talking about. I promptly ran make again, after
> issuing a make clean. It repeated. I then created a script file,
> containing the efforts of my third time around. Also it happened when I
> issued the same commands, on version 1.0. Eric is the collection being
> built static, rather then dynamic? 

Yep.  It looks that way.  Oops. 
There are other pieces that need to be built static but the basic kexec
utility should need to be.  It's probably an accidental hold over from
something else.

Anyway remove the -static from the final build line kexec/Makefile
and it should compile dynamically.


 $(KEXEC_S_OBJS): $(OBJDIR)/%.o: %.S $(OBJDIR)/%.d
         mkdir -p $(@D)
         $(CC) $(CFLAGS) -o $@ -c $<
 
 $(KEXEC): $(KEXEC_OBJS) $(UTIL_LIB)
         mkdir -p $(@D)
-        $(CC) $(CFLAGS) -static -o $@ $(KEXEC_OBJS) $(UTIL_LIB)
+        $(CC) $(CFLAGS) -o $@ $(KEXEC_OBJS) $(UTIL_LIB)
 
 echo::
         @echo "KEXEC_C_SRCS $(KEXEC_C_SRCS)"
         @echo "KEXEC_C_DEPS $(KEXEC_C_DEPS)"
         @echo "KEXEC_C_OBJS $(KEXEC_C_OBJS)"
 


Eric

_______________________________________________
Linuxbios mailing list
[EMAIL PROTECTED]
http://www.clustermatic.org/mailman/listinfo/linuxbios

Reply via email to