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

crimsun at fungus.sh.nu crimsun at fungus.sh.nu
Sun Oct 16 07:00:38 UTC 2005


On Sun, Oct 16, 2005 at 08:35:09AM +0200, Gábor Iglói wrote:
> 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.

Hmm, according to this script that you included below...

> 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)

...the script _does_ honor the $CC variable. You must export CC=gcc-3.4
not CC=3.4.

Cheers,
-- 
Daniel T. Chen            crimsun at ubuntu.com
GPG key:   www.sh.nu/~crimsun/pubkey.gpg.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20051016/c86f6f3e/attachment.sig>


More information about the ubuntu-users mailing list