LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ubuntu "make " problems and errors (https://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-make-problems-and-errors-477780/)

mihalisla 08-27-2006 09:12 AM

Ubuntu "make " problems and errors
 
Hello, I'm trying to install eagle-usb-2.0.0.tar.gz (sagem fast 800)dsl modem driver to my ubuntu 6.06 amd64 distro so as to have internet access...Here is my 1. configure log
2. make log
configure
1. >> "checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking whether closedir returns void... no
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for alarm... yes
checking for gettimeofday... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strspn... yes
checking for strtol... yes
checking for ifconfig... yes
checking for route... yes
checking for pidof... yes
checking for dhclient... dhclient
checking for pppd... yes
checking for pppoe... no
checking for tclsh... yes
checking for wish... yes
checking for doc/man/eagleconfig.8... yes
checking for xsltproc... yes
*** docbook stylesheets are missing, keeping prebuild version ***
checking for kernel version... 2.6.15-26-amd64-generic
checking for ifup... 1
checking for adictrl... no
checking for eaglectrl... no
checking for showstat... no
checking for eaglestat... no
checking for startadsl... no
checking for stopadsl... no
configure: creating ./config.status
config.status: creating Makefile.common

========================================================================
distribution detected Debian

dhcp support dhclient

pppd support yes
pppoa support yes
pppoe support no (runtime detection)

install eagleconnect (tcl/tk frontend) yes

generate documentation no
========================================================================

note: current gcc should be the same version as the one used to compile kernel."

2.>>The make file:
make -C driver && \
make -C pppoa && \
make -C utils/scripts && \
make -C utils/eagleconnect && \
make -C doc
make[1]: Entering directory `/opt/eagle-usb-2.0.0/driver'
USE_CMVS=0 make -C /lib/modules/2.6.15-26-amd64-generic/build SUBDIRS=/opt/eagle-usb-2.0.0/driver modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.15-26-amd64-generic'
CC [M] /opt/eagle-usb-2.0.0/driver/eu_main.o
In file included from /opt/eagle-usb-2.0.0/driver/eagle-usb.h:30,
from /opt/eagle-usb-2.0.0/driver/eu_main.c:41:
/opt/eagle-usb-2.0.0/driver/eu_types.h:54:5: warning: "USE_CMVS" is not defined
/opt/eagle-usb-2.0.0/driver/eu_main.c: In function ‘eu_disconnect_postfirm’:
/opt/eagle-usb-2.0.0/driver/eu_main.c:955: error: ‘URB_ASYNC_UNLINK’ undeclared (first use in this function)
/opt/eagle-usb-2.0.0/driver/eu_main.c:955: error: (Each undeclared identifier is reported only once
/opt/eagle-usb-2.0.0/driver/eu_main.c:955: error: for each function it appears in.)
/opt/eagle-usb-2.0.0/driver/eu_main.c:1105:5: warning: "USE_CMVS" is not defined/opt/eagle-usb-2.0.0/driver/eu_main.c:1340:5: warning: "USE_CMVS" is not defined/opt/eagle-usb-2.0.0/driver/eu_main.c:1408:5: warning: "USE_CMVS" is not definedmake[3]: *** [/opt/eagle-usb-2.0.0/driver/eu_main.o] Error 1
make[2]: *** [_module_/opt/eagle-usb-2.0.0/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.15-26-amd64-generic'
make[1]: *** [eagle-usb.ko] Error 2
make[1]: Leaving directory `/opt/eagle-usb-2.0.0/driver'
make: *** [build] Error 2
and the make install command gives :

make -C driver install && \
make -C pppoa install && \
make -C utils/scripts install && \
make -C utils/eagleconnect install && \
make -C doc install && \
hash -r && \
echo -e "===============================================================================" && \
echo -e "\n\nInstallation has finished!\nYou should now run eagleconfig to setup your connexion.\n\n"
make[1]: Entering directory `/opt/eagle-usb-2.0.0/driver'
make -C ./firmware install
make[2]: Entering directory `/opt/eagle-usb-2.0.0/driver/firmware'
/usr/bin/install -c -d /etc/eagle-usb/dsp && \
/usr/bin/install -c -m 0664 dsp_code_pots.bin /etc/eagle-usb/dsp
/usr/bin/install: cannot stat `dsp_code_pots.bin': No such file or directory
make[2]: *** [install] Error 1
make[2]: Leaving directory `/opt/eagle-usb-2.0.0/driver/firmware'
make[1]: *** [installdsp] Error 2
make[1]: Leaving directory `/opt/eagle-usb-2.0.0/driver'
make: *** [install] Error 2
root@mike-desktop:/opt/eagle-usb-2.0.0# make install > /home/mike/Desktop/eagle2.0.0_make_install
/usr/bin/install: cannot stat `dsp_code_pots.bin': No such file or directory
make[2]: *** [install] Error 1
make[1]: *** [installdsp] Error 2
make: *** [install] Error 2




Obviously the poblem is on make but igive u also the configure to help
If anyone knows how to pass this problem please help

I also tryied the sudo make ..etc

Thank you for reading this message:scratch:

debiant 08-27-2006 09:30 AM

Is that the entire make output, because I'm not seeing where it error'ed out? did you do a make install from root after that? It gave you a note: (?) but I'm not seeing where it said that it would not compile.

If it does not, in fact, compile you could set make to ignore the error, or recompile your kernel with current gcc.

ORIGINAL POST WAS EDITED, I'm not blind.

oskar 08-27-2006 10:10 AM

Make shure you really have to compile, and there is no *.deb package out there.
Install the build-essentials package.
- I also don't see what could be wrong. What does ./configure say?

mihalisla 08-27-2006 10:29 AM

I have now the full configure,make,make install.
I think that debiant has a point about compiling the kernel with new gcc.
But i don't know how!!
Do i need to complile with kernel also other packages when i update them or just in ubuntu ? On suse i updated them and the kernel had no problem .Ubuntu has its own procedure?
Thanks (and sorry for the delay because i dont't have internet yet on linux ,the damned driver u see and i need to reboot every time i want to see sth on linux) *8 )

debiant 08-27-2006 10:53 PM

Quote:

Originally Posted by mihalisla
I have now the full configure,make,make install.
I think that debiant has a point about compiling the kernel with new gcc.
But i don't know how!!
Do i need to complile with kernel also other packages when i update them or just in ubuntu ? On suse i updated them and the kernel had no problem .Ubuntu has its own procedure?
Thanks (and sorry for the delay because i dont't have internet yet on linux ,the damned driver u see and i need to reboot every time i want to see sth on linux) *8 )

Try this one 1 time and see if it works:

http://www.parsix.org/html/index.php...y&tag=EagleUsb

It's for Parsix which is based on Debian Sid, so it's possible that the deb package prebuilt so it might work for you, it's worth a shot if you're not to interested in recompiling kernel.

I'm no expert so I don't know that you would have to recompile, but that seems to be the problem. I'm keeping my gcc where it's at until I'm ready to recompile my kernel for simply that reason.

debiant 08-27-2006 11:11 PM

There is also a deb package eagle_usb_data and eagle_usb_utils at Debian, from which I surmise there are some at Ubuntu as well. If you don't want to recompile, take oskars advice, find a deb package for it.

mihalisla 08-28-2006 05:44 AM

thank you guys i'll try it out


All times are GMT -5. The time now is 07:22 AM.