[parisc-linux] Re:[parisc-linux-cvs] linux-2.6 willy

Joel Soete soete.joel at tiscali.be
Tue Jan 17 10:25:55 MST 2006


> CVSROOT:	/var/cvs
> Module name:	linux-2.6
> Changes by:	willy at cvs.parisc-linux.org	2006-01-17 08:27:37
> 
> Modified files:
> 	.              : Makefile 
> 
> Log message:
> 	fix building in a separate tree.  patch posted to l-k.
> 
> Patches:
> http://cvs.parisc-linux.org/linux-2.6/Makefile.diff?cvsroot=&r1=1.437&r2=1.438
> 
Sorry failed to me:
[...]
make -C /CAD/linux-2.6-pa-b2k32-t \
        KBUILD_SRC=/CAD/linux-2.6.16-rc1-pa0 \
        KBUILD_EXTMOD="" -f /CAD/linux-2.6.16-rc1-pa0/Makefile vmlinux
/CAD/linux-2.6.16-rc1-pa0/Makefile:477: /.config: No such file or directory
make[1]: *** No rule to make target `/.config'.  Stop.
make: *** [cdbuilddir] Error 2

May be something I wrongly undurstood here:
[...]
# OK, Make called in directory where kernel src resides
# Do we want to locate output files in a separate directory?
ifdef O
  ifeq ("$(origin O)", "command line")
    KBUILD_OUTPUT := $(O)
  endif
endif
[...]

(Sorry, I don't understand to fix ;-( : most probably my bad: too much test
and not enough studies)

Or may be did I missed such new stuff but that was working till now:
# export KOBJ="O=../linux-2.6-pa-b2k32-t"

# make $KOBJ clean
# make $KOBJ oldconfig
# make $KOBJ V=1 vmlinux

Ok, I presume that now I would have better to say:
# export KBUILD_OUTPUT="../linux-2.6-pa-b2k32-t"

and then:

# make clean; make oldconfig; make V=1 vmlinux

would do the same trick?


btw I need this:
--- drivers/scsi/sym53c8xx_2/sym_hipd.h.orig    2006-01-17 17:34:45.000000000
+0100
+++ drivers/scsi/sym53c8xx_2/sym_hipd.h 2006-01-17 17:47:16.000000000 +0100
@@ -1050,7 +1050,7 @@
 #ifdef SYM_OPT_HANDLE_DEVICE_QUEUEING
 void sym_start_next_ccbs(struct sym_hcb *np, struct sym_lcb *lp, int maxn);
 #else
-void sym_put_start_queue(struct sym_hcb *np, struct sym_ccb *cp);
+static void sym_put_start_queue(struct sym_hcb *np, struct sym_ccb *cp);
 #endif
 void sym_start_up(struct sym_hcb *np, int reason);
 void sym_interrupt(struct sym_hcb *np);
====<>====

mmm, just for info (I will wait your fix):
  ld   -o .tmp_vmlinux1 -T arch/parisc/kernel/vmlinux.lds
arch/parisc/kernel/head.o   init/built-in.o --start-group  usr/built-in.o
 arch/parisc/mm/built-in.o  arch/parisc/kernel/built-in.o 
arch/parisc/math-emu/built-in.o arch/parisc/kernel/init_task.o  kernel/bu
ilt-in.o  mm/built-in.o  fs/built-in.o  ipc/built-in.o  security/built-in.o 
crypto/built-in.o  block/built-in.o  lib/lib.a  arch/pa
risc/lib/lib.a `gcc -print-libgcc-file-name`  lib/built-in.o 
arch/parisc/lib/built-in.o `gcc -print-libgcc-file-name`  drivers/buil
t-in.o  sound/built-in.o  arch/parisc/oprofile/built-in.o  net/built-in.o
--end-group
drivers/built-in.o: In function `sym_setup_data_and_start': undefined
reference to `sym_put_start_queue'
make[1]: *** [.tmp_vmlinux1] Error 1


Thanks,
    Joel

-------------------------------------------------------
NOTE! My email address is changing to ... @scarlet.be
Please make the necessary changes in your address book. 






More information about the parisc-linux mailing list