mmmm... weird it compiles ok here after the removal of the CFLAGS line.

i even added it to an installation script which is intended for some
fujitsu laptops...

relevant part of the script:
<code>
if [ ! -e acerhk-current.tgz ]; then                    
                                        if ! wget -q 
http://freshmeat.net/redir/acerhk/30497/url_tgz/acerhk-current.tgz; then
                                                printMessage "Error: Unable to 
download acerhk source code"
                                                exit 1
                                        fi
                                        printMessage "AcerHK source code 
downloaded successfully"
                                fi
                                tar xzf acerhk-current.tgz
                                if ! cd acerhk-0.5.35; then
                                        printMessage "Error: Something wrong 
with downloaded AcerHK, try manual download of acerhk 0.5.35 and place it under 
/usr/src/fsca16xx/"
                                        exit 1
                                fi
                                #if ! wget -q 
http://fscamiloa16xx.googlecode.com/files/acerhk-0.5.35-FSC-AMILO_A16xx.patch; 
then 
                                #        printMessage "Error: Unable to 
retrieve acerhk patch"
                                #fi
                                #printMessage "Patching AcerHK"
                                #patch -i acerhk-0.5.35-FSC-AMILO_A16xx.patch 
acerhk.c
                                printMessage "Installing required kernel module 
building tools - this may take a while..."
                                if ! installPackagesIfNeeded build-essential 
linux-headers-generic ; then
                                        return 1 
                                fi
                                printMessage "Compiling AcerHK"
                                if [ "Hardy" = $LINUX_VER ]; then
                                        #in kernel 2.6.24 - CFLAGS will fail 
the compilation
                                        grep -v "CFLAGS+=" Makefile > 
Makefile.fsc
                                        mv Makefile.fsc Makefile
                                fi 
                                if make > ../compile.log ; then
                                       printMessage "Compile ended 
successfully!"
                                        mv acerhk.ko ../
                                        cd ..
                                else
                                        cd ..
                                        printMessage "Error: AcerHK compile 
failed, compile log can be found at $(pwd)/compile.log"
                                fi
</code>

-- 
change 'acerhk' to use 'autowlan=1' by default
https://bugs.launchpad.net/bugs/53953
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to