View previous topic :: View next topic |
Author |
Message |
smerrima n00b
Joined: 16 Mar 2004 Posts: 47 Location: Boise, ID
|
Posted: Thu Mar 02, 2006 3:31 pm Post subject: libusb failure |
|
|
Hi,
I am getting a compile failures when installing libusb. I searched the forums and tried the script mention in this thread to no avail. Here are the build errors I am seeing. It looks like I am missing a file somewhere, perhaps "usbpp.cpp"? Thanks for the help!
Code: |
g++ -DHAVE_CONFIG_H -I. i-O2 -mtune=i686 -pipe -fomit-frame-pointer -funroll-loops -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -DPIC
g++: i-O2: No such file or directory
make[2]: *** [usbpp.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/libusb-0.1.10a/work/libusb-0.1.10a'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libusb-0.1.10a/work/libusb-0.1.10a'
make: *** [all] Error 2
!!! ERROR: dev-libs/libusb-0.1.10a failed.
Call stack:
ebuild.sh, line 1928: Called dyn_compile
ebuild.sh, line 966: Called src_compile
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
Seth
edit by nixnut: wrapped url in tags and removed session identifier from it _________________ -Seth |
|
Back to top |
|
|
SinoTech Advocate
Joined: 20 Mar 2004 Posts: 2579 Location: Neunkirchen / Saarland / Germany
|
Posted: Thu Mar 02, 2006 4:15 pm Post subject: Re: libusb failure |
|
|
smerrima wrote: |
[....]
Code: |
g++ -DHAVE_CONFIG_H -I. i-O2 -mtune=i686 -pipe -fomit-frame-pointer -funroll-loops -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -DPIC
g++: i-O2: No such file or directory
[...]
|
[...]
|
You've got an "i" in front of your CFLAGS. Is this a problem of your "make.conf"?
Regards,
Sino _________________ Help to answer the unanswered |
|
Back to top |
|
|
smerrima n00b
Joined: 16 Mar 2004 Posts: 47 Location: Boise, ID
|
Posted: Thu Mar 02, 2006 4:16 pm Post subject: |
|
|
ha! that was it. Stupid mistakes! Thanks Sino! _________________ -Seth |
|
Back to top |
|
|
|