Comments (6)
Hi,
Do you have the pkg-config package installed?
I'll add it to the requirements if it's that. I think it was a default on my distro but it might not be on yours.
from smbusb.
It wasn't installed, but installing it doesn't seem to have changed anything.
from smbusb.
Did you re-run all the commands on a clean source tree afterwards? Installing pkg-config should've dropped the pkg.m4 file containing the PKG_PROG_PKG_CONFIG macro into the appropriate directory for aclocal to find it and merge it into the aclocal.m4 file it builds when you run it. If you can't find the macro in that file when you do a text search for it's name then it's file is either missing or aclocal is looking in the wrong place. This may be helpful in that case.
from smbusb.
Right you are!
I also had to manually copy firmware.h from the firmware directory to the lib directory to get it to build.
I also had the error loading the shared libraries, which you answered in issue#1.
Thanks heaps.
from smbusb.
Hrmm.. it never should've gotten to a point where the manual firmware copy was necessary.. unless the sdcc checks passed but sdcc still couldn't build the firmware for some reason.. did you do 'git submodule update' to pull fx2lib into the tree after cloning? ( one of the things that git should probably either do automatically or at least display a message about IMO.. ) Either way, glad you got it to work.
from smbusb.
I didn't know about 'git submodule update'. Thanks for the tip.
from smbusb.
Related Issues (20)
- writing program to bq8030 doesn't work HOT 9
- Add support for CP2112 development board HOT 2
- Error Opening SMBusb: libusb error -11 HOT 8
- Eeprom verification bypassed? HOT 3
- Firmware seems unstable, help? HOT 6
- adding support for /dev/i2c on linux? HOT 5
- I am using degilent jtag usb cable,can it be supportted? HOT 7
- armv7l/gcc - Build failed HOT 2
- connection issue - smbusb firmware error HOT 2
- Can we use this solution to reset a laptop battery? HOT 3
- TODO: Support for newer sdcc versions HOT 3
- Add xxdi as an alternative to xxd
- Python bindings compatible with 'smbus' module HOT 1
- Can't complete make command HOT 4
- Test command write
- can this be used with ch341a chip i2c mode to read smbus on battery? thx
- possible virus attack?
- Can't compile from sources
- PLEASE RELEASE
- Fix for SDCC 4.2.3 (makes the firmware compile with SDCC at least up to current SDCC 4.4.0)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smbusb.