SYSROOT was the answer indeed. :)
there was probably some interaction with the arch package maker...

Niels Roest wrote:
> Hi,
> hmm.. shouldn't happen :)
> Here it works.
> I need some more info to know what could be the cause here..
> 
> On my system (recent Ubuntu) I have the following:
> "uname -r" gives 2.6.24-21-generic
> "SYSROOT" is undefined
> I also don't have the variables in the beginning of the makefile defined,
> so "KERNEL_VERSION", "KERNEL_MODLIB", "KERNEL_BUILD" and "KERNEL_SOURCE".
> My directory "/lib/modules/2.6.24-21-generic/build" is a symbolic link to
> "/usr/src/linux-headers-2.6.24-21-generic"
> So I have "make -C /usr/src/linux-headers-2.6.24-21-generic" as the 
> first make line.
> 
> I am assuming that you are not cross-compiling..
> 
> Greets
> Niels
> 
> Masse Nicolas wrote:
>> Hi all,
>>
>> just to say that I've encountered some problems when trying to compile
>> linux-fusion-8.0.2 on my system. I got the following error:
>>
>> rm -f linux/drivers/char/fusion/Makefile
>> ln -s Makefile-2.6 linux/drivers/char/fusion/Makefile
>> make -C ../../../usr/src/linux-2.6.24-ARCH \
>>              KCPPFLAGS=" -I`pwd`/linux/include" \
>>              SUBDIRS=`pwd`/linux/drivers/char/fusion modules
>> make: *** ../../../usr/src/linux-2.6.24-ARCH: No such file or directory
>> . Stop. make: *** [all] Error 2
>>
>> I hadn't this problem with previous version. Comparing the Makefiles,
>> it seems that the problem comes from these lines wich were added in the
>> 8.0.2 release (line 6 to 12):
>> ifeq ($(shell test -L $(KERNEL_BUILD) && echo yes),yes)
>>   KERNEL_BUILD := $(SYSROOT)$(shell readlink $(KERNEL_BUILD))
>> endif
>>
>> ifeq ($(shell test -L $(KERNEL_SOURCE) && echo yes),yes)
>>   KERNEL_SOURCE := $(SYSROOT)$(shell readlink $(KERNEL_SOURCE))
>> endif
>>
>> Removing them makes things work again. FYI, my system is a Arch Linux,
>> and my kernel is 2.6.24. I'm probably not anlone since a guy said me
>> once he also had some problems with this release, with a similar system.
>>
>> Bountykiller.
>> _______________________________________________
>> directfb-users mailing list
>> directfb-users@directfb.org
>> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>>
>>   
> 
> 

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to