Breezy won't compile ufsd (aka Paragon NTFS for Linux) custom kernel module

Gábor Iglói mdjake at gmail.com
Sun Oct 16 07:35:09 BST 2005


> As I mentioned previously, this is due to Paragon's scripts not
> honoring CC=gcc-3.4.
>
> Cheers,

Thank you Daniel for your great help. Paragon script really doesn't
respect CC=3.4 so I did another dirty hack (pointing temporarily gcc
-> gcc-3.4 and g++ -> g++-3.4) and now it works - the module can be
inserted correctly. At last.

I've checked the makefile and maybe this is the part where gcc version
is computed out:

check_gcc = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null >
/dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;)
gcc_major := $(shell echo __GNUC__ | $(CC) -E -xc - | tail -n 1)
gcc_minor := $(shell echo __GNUC_MINOR__ | $(CC) -E -xc - | tail -n 1)




More information about the ubuntu-users mailing list