Clemens Ladisch wrote: > George Nychis wrote: >> I am trying desperately to get any sort of alsa-driver version to >> compile with 2.6.18-rc1, however the stable release and pre-release all >> fail with the same errors: >> http://rafb.net/paste/results/nDiLeh36.html > >> include/asm/rwsem.h: In function '__down_read': >> include/asm/rwsem.h:104: error: expected ':' or ')' before 'memory_wrapper' >> include/asm/rwsem.h: In function '__down_write_nested': >> include/asm/rwsem.h:156: error: expected ':' or ')' before 'memory_wrapper' >> include/asm/rwsem.h: In function '__up_read': >> include/asm/rwsem.h:198: error: expected ':' or ')' before 'memory_wrapper' >> include/asm/rwsem.h:192: warning: unused variable 'tmp' >> include/asm/rwsem.h: In function '__up_write': >> include/asm/rwsem.h:224: error: expected ':' or ')' before 'memory_wrapper' >> include/asm/rwsem.h: In function '__downgrade_write': >> include/asm/rwsem.h:249: error: expected ':' or ')' before 'memory_wrapper' > > These are lines containing the LOCK_SECTION_START macro. The definition > in include/linux/spinlock.h uses the KBUILD_BASENAME macro. > > The error messages may indicate that the code expects the value of the > macro to be a string literal (but ALSA's definition isn't). > > Please try adding quotes around the four KBUILD_BASENAME definitions in > alsa-driver/Rules.make, like this: > > ... -DKBUILD_BASENAME=\"$(subst ...)\" $... > > > HTH > Clemens >
hmmm, I seem to get different errors: http://rafb.net/paste/results/IoM1Sn60.html Here is my Rules.make: http://rafb.net/paste/results/hJyIf590.html thanks for the help! - George ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user