Re: can't compile cdfs
Symlinking /usr/include/[linux|asm] into /usr/src/<linux-dir> is generally
a bad idea. I suggest deleting those symlinks and reinstalling your
libc6-dev, and then edit the Makefile to something like this:
heathen:/usr/src/patches/cdfs-0.3d# less Makefile
OBJS=audio.o cdXA.o cddata.o hfs.o iso.o proc.o root.o utils.o
cdfs.o: $(OBJS)
$(LD) -r $(OBJS) -o $@
$(OBJS) cdfs.o: cdfs.h
.c.o:
$(CC) $(CFLAGS) -I/usr/src/kernel-source-2.2.17-usb-trelos/include
-O -Wall -c $<
.PHONY: clean reload
clean:
-rm -f *.o *~ core
reload: cdfs.o
umount /cdfs; rmmod cdfs; insmod cdfs; mount /cdfs
On Wed, 9 Aug 2000, Armin Wegner wrote:
> Hello,
>
> I've installed yesterdays frozen and recompiled the kernel 2.2.17. It's
> up and running. Fine.
> But I failed to compile the non standard kernel module cdfs.o.
> I've linked /usr/include/{linux,asm} to
> /usr/src/linux/include/{linux,asm-i386}.
> I get following output from make.
> I get the same error with 2.2.16 kernel sources installed.
> I must have forgotten something?
> What`s wrong?
>
> Armin
Reply to: