bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ``make dist'' and friends


From: Barry deFreese
Subject: Re: ``make dist'' and friends
Date: Wed, 29 Nov 2006 00:20:41 -0500
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)

Thomas Schwinge wrote:
Hello!

On Tue, Nov 28, 2006 at 12:13:20AM -0500, Barry deFreese wrote:
Barry deFreese wrote:
[...] I have added a few dist_libkernel_a_SOURCE to include all the header files, .sym, .srv, and .cli files.

That seems to be correct.  I hope that doing so doesn't break anything.
(Thinking about the rules in `Makerules.am' that deal with those files.)
But you should have noticed if it had...


Now I am stuck on one that I cannot figure out:

< i386/i386/lib_dep_tr_for_defs_a-mach_i386.server.defs.o
make[2]: *** No rule to make target `i386/i386/i386asm.h', needed by `../ipc/ipc_entry.c'. Stop.

Probably some of its dependency files are still missing to be added to
some `*_SOURCE' variable, have a look at the first set of rules in
`Makerules.am'.


A small update. Apparently i386/i386/lib_dep_tr_for_defs_a-mach_i386.server.defs.o isn't getting built but I get no error...

But it's definitely needed, as I understand this at the moment.  (I can't
access a built tree at the moment.)


Regards,
 Thomas

OK gang, I've gotten pretty far but now I'm a little confused. I had to include linux/src/drivers/scsi/FlashPoint.c because BusLogic.c includes. But now it is attempting to build FlashPoint.c and failing.

gcc -nostdinc -imacros config.h -Ii386 -I. -I../i386 -I../i386/include/mach/sa -I../include -D__ASSEMBLY__ -traditional -nostdinc -imacros config.h -Ii386 -I. -I../i386 -I../i386/include/mach/sa -I../include -I../i386/linux/dev/include -I./linux/dev/include -I../linux/dev/include -I./linux/src/include -I../linux/src/include -g -O2 -c -o linux/src/arch/i386/lib/liblinux_a-semaphore.o `test -f 'linux/src/arch/i386/lib/semaphore.S' || echo '../'`linux/src/arch/i386/lib/semaphore.S if gcc -DHAVE_CONFIG_H -I. -I.. -I. -nostdinc -imacros config.h -Ii386 -I. -I../i386 -I../i386/include/mach/sa -I../include -I../i386/linux/dev/include -I./linux/dev/include -I../linux/dev/include -I./linux/src/include -I../linux/src/include -O2 -Wall -fno-strict-aliasing -g -O2 -MT linux/src/drivers/scsi/liblinux_a-FlashPoint.o -MD -MP -MF "linux/src/drivers/scsi/.deps/liblinux_a-FlashPoint.Tpo" -c -o linux/src/drivers/scsi/liblinux_a-FlashPoint.o `test -f 'linux/src/drivers/scsi/FlashPoint.c' || echo '../'`linux/src/drivers/scsi/FlashPoint.c; \ then mv -f "linux/src/drivers/scsi/.deps/liblinux_a-FlashPoint.Tpo" "linux/src/drivers/scsi/.deps/liblinux_a-FlashPoint.Po"; else rm -f "linux/src/drivers/scsi/.deps/liblinux_a-FlashPoint.Tpo"; exit 1; fi ../linux/src/drivers/scsi/FlashPoint.c: In function 'FlashPoint_ProbeHostAdapter': ../linux/src/drivers/scsi/FlashPoint.c:2432: warning: implicit declaration of function 'inb' ../linux/src/drivers/scsi/FlashPoint.c:2467: warning: implicit declaration of function 'outb' ../linux/src/drivers/scsi/FlashPoint.c: In function 'FlashPoint_ReleaseHostAdapter': ../linux/src/drivers/scsi/FlashPoint.c:4106: warning: implicit declaration of function 'outl'
../linux/src/drivers/scsi/FlashPoint.c: In function 'FPT_RNVRamData':
../linux/src/drivers/scsi/FlashPoint.c:4146: warning: implicit declaration of function 'inl' ../linux/src/drivers/scsi/FlashPoint.c: In function 'FlashPoint_HandleInterrupt': ../linux/src/drivers/scsi/FlashPoint.c:4713: warning: implicit declaration of function 'inw' ../linux/src/drivers/scsi/FlashPoint.c:4730: warning: implicit declaration of function 'outw'
../linux/src/drivers/scsi/FlashPoint.c: At top level:
../linux/src/drivers/scsi/FlashPoint.c:12056: error: expected ')' before '*' token ../linux/src/drivers/scsi/FlashPoint.c:12063: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'FlashPoint__HardwareResetHostAdapter' ../linux/src/drivers/scsi/FlashPoint.c:12069: error: expected ')' before 'CardHandle' ../linux/src/drivers/scsi/FlashPoint.c:12076: error: expected ')' before 'CardHandle' ../linux/src/drivers/scsi/FlashPoint.c:12083: error: expected ')' before 'CardHandle' ../linux/src/drivers/scsi/FlashPoint.c:12090: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'FlashPoint__InterruptPending' ../linux/src/drivers/scsi/FlashPoint.c:12097: error: expected ')' before 'CardHandle' ../linux/src/drivers/scsi/FlashPoint.c:12117: error: expected ')' before 'CardHandle'
make[2]: *** [linux/src/drivers/scsi/liblinux_a-FlashPoint.o] Error 1
rm i386/i386/i386asm.symc.o i386/i386/i386asm.symc
make[2]: Leaving directory `/tmp/gnumach-1.3.99/build'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/gnumach-1.3.99/build'
make: *** [all] Error 2


But afaict, in a normal (i.e. not from make dist's tarball), FlashPoint.c is not build. I am attaching a diff of what I have done so far.

Thanks!

Barry deFreese (aka bddebian)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]