Hi,
Not sure if this is where this thread belongs.
Been trying to install/compile the drivers for a usb modem for the past few days. 7.04 was the only distro that liked the drivers, but there were many dependancies 7.04 didnt have and was more hassle to find/compile the source for all of them. When i try to install either the deb file (using 10.04), or from source, it asks me for the build directory then fails. So logging in as a super user i was able to "make install" the source, but when i run dgcconfig after as the readme says it asks for build then fails, with this console output:
Build log says :Code:root@dan-desktop:/home/dan/modem/dgcmodem-1.01# dgcconfig Conexant DGC USB modem driver, version 1.01 If you need assistance or more information, please go to: http://www.linuxant.com/ When reporting a problem for the first time, please send us the file generated by "dgcconfig --dumpdiag". No pre-built modules for: Ubuntu-10.04.4 linux-2.6.32-73-generic i686-SMP Trying to automatically build the driver modules... (this requires a C compiler and proper kernel sources to be installed) Where is the linux source build directory that matches your running kernel? [/lib/modules/2.6.32-73-generic/build] Building modules for kernel 2.6.32-73-generic, using source directory /lib/modules/2.6.32-73-generic/build. Please wait... ERROR: Module build failed! Please examine the log file "/tmp/dgcconfig-buildlog.txt" to determine why. root@dan-desktop:/home/dan/modem/dgcmodem-1.01#
Not sure how to change CFLAGS in the makefile. But once i figure out why its doing that and how to fix it then i can probably "make install clean" then configure the modules. If its giving me the error even when super user then it must be the original compile is wrong too? Attaching .zip of buildlog, console output, makefile for modules, and source for the drivers.Code:make: execvp: ../modules/kernelcompiler.sh: Permission denied (cd /lib/modules/2.6.32-73-generic/build && make "CNXT_KERNELSRC=/lib/modules/2.6.32-73-generic/build" "M=/usr/lib/dgcmodem/modules" "CC=" clean) /bin/sh: Illegal option -p make[1]: Entering directory `/usr/src/linux-headers-2.6.32-73-generic' make[2]: execvp: /usr/lib/dgcmodem/modules/kernelcompiler.sh: Permission denied make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-73-generic' rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd .tmp_versions .tmp_versions /lib/modules/2.6.32-73-generic/build/.tmp_versions/dgcusbdcp.mod Modules.symvers GPL/hda/Modules.symvers (cd /lib/modules/2.6.32-73-generic/build && make "CNXT_KERNELSRC=/lib/modules/2.6.32-73-generic/build" "M=/usr/lib/dgcmodem/modules" "CC=" modules) /bin/sh: cannot open gcc-command: No such file make[1]: Entering directory `/usr/src/linux-headers-2.6.32-73-generic' /usr/src/linux-headers-2.6.32-73-generic/arch/x86/Makefile:81: stack protector enabled but no compiler support /bin/sh: Illegal option -p make[2]: execvp: /usr/lib/dgcmodem/modules/kernelcompiler.sh: Permission denied scripts/Makefile.build:49: *** CFLAGS was changed in "/usr/lib/dgcmodem/modules/Makefile". Fix it to use EXTRA_CFLAGS. Stop. make[1]: *** [_module_/usr/lib/dgcmodem/modules] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-73-generic' make: *** [all] Error 2
Help is appreciated
Thanks



Adv Reply


Bookmarks