LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-27-2006, 10:12 AM   #1
mihalisla
Member
 
Registered: Jun 2006
Location: greece
Distribution: ubuntu 6.06 amd64
Posts: 132

Rep: Reputation: 15
Unhappy 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

Last edited by mihalisla; 08-27-2006 at 11:24 AM.
 
Old 08-27-2006, 10:30 AM   #2
debiant
Member
 
Registered: Jul 2006
Distribution: Source Mage 0.9.6
Posts: 196

Rep: Reputation: 30
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.

Last edited by debiant; 08-27-2006 at 11:55 PM.
 
Old 08-27-2006, 11:10 AM   #3
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
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?
 
Old 08-27-2006, 11:29 AM   #4
mihalisla
Member
 
Registered: Jun 2006
Location: greece
Distribution: ubuntu 6.06 amd64
Posts: 132

Original Poster
Rep: Reputation: 15
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 )
 
Old 08-27-2006, 11:53 PM   #5
debiant
Member
 
Registered: Jul 2006
Distribution: Source Mage 0.9.6
Posts: 196

Rep: Reputation: 30
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.
 
Old 08-28-2006, 12:11 AM   #6
debiant
Member
 
Registered: Jul 2006
Distribution: Source Mage 0.9.6
Posts: 196

Rep: Reputation: 30
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.
 
Old 08-28-2006, 06:44 AM   #7
mihalisla
Member
 
Registered: Jun 2006
Location: greece
Distribution: ubuntu 6.06 amd64
Posts: 132

Original Poster
Rep: Reputation: 15
thank you guys i'll try it out
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
So many errors when I typed the "make" and "make install" command Niceman2005 Linux - Software 23 07-22-2009 03:33 PM
Constant errors during "make" or "make install" with SUSE 10.1 Alpha 4 TehFlyingDutchman Linux - Software 3 12-30-2005 07:25 PM
"make-kpkg --revision=foo.1.0 kernel_image" gives some errors (kernel 2.6.3) Duukkis Debian 14 05-23-2004 04:58 AM
make-kpkg errors "multiple instances" rickenbacherus Linux - Software 0 06-06-2003 09:16 PM
Anybody having problems with "make" in RedHat 7.3? "cc" not found ? Rampage2884 Linux - General 4 05-14-2002 03:44 AM


All times are GMT -5. The time now is 04:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration