Comments (5)
Could you post exact error message and more information about compiler you used? Actually your, line has more sense than the original one.
from gammu.
Same error and same fix under Ubuntu 14.04.
from gammu.
Sorry, I don't have the project around anymore to give you the compiler and error information. If I have to rebuild in future, I'll update.
from gammu.
Here is the error, but note that the fix from pschuegr is well, as ctx is pointer, sizeof(ctx) returns the size of the pointer, not the size of the pointed object.
ubuntu@ubuntu-VirtualBox:/domotique/gammu$ make/domotique/gammu$
[ 1%] Built target string
[ 1%] Building C object libgammu/CMakeFiles/libGammu.dir/misc/coding/md5.c.o
/home/ubuntu/domotique/gammu/libgammu/misc/coding/md5.c: In function ‘MD5Final’:
/home/ubuntu/domotique/gammu/libgammu/misc/coding/md5.c:172:23: error: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive /
^
cc1: all warnings being treated as errors
make[2]: ** [libgammu/CMakeFiles/libGammu.dir/misc/coding/md5.c.o] Erreur 1
make[1]: *** [libgammu/CMakeFiles/libGammu.dir/all] Erreur 2
make: *** [all] Erreur 2
ubuntu@ubuntu-VirtualBox:
from gammu.
Fixed in 2c9d94c.
from gammu.
Related Issues (20)
- Set USE_SMSTEXTMODE feature for Sim800 modem HOT 4
- GAMMU - 8-bit SMS HOT 4
- Unable to parse delivery report from SR memory HOT 4
- Gammu-smsd cant receive multipart sms and save to file HOT 1
- Failed to generate SHM key HOT 1
- Problem with configuriation file during install HOT 1
- Gammu can send SMS, but can't configure diverts HOT 2
- Can't install Gammu on 64-bit Bullseye! Impossible to find gammu package HOT 1
- Encoding of incoming SMS are not unicode encoded
- SIM card not connecting to network HOT 1
- Running RunOnReceive command many times after long SMS, merging long SMS in one message HOT 3
- test failure because of a global-buffer-overflow
- AT+CPMS to set 3x storage instead of 2x?
- gammu and Wavecom (MULTIBAND 900E 1800) from ostent
- gammu and wavecom (MULTIBAND 900E 1800)
- Nokia 130 support
- Feature request: move sms to file / folder
- sms at script fails
- gammu-smsd cannot recover when modem is disconnected and reconnect HOT 1
- Onda DM4000 Getmanufacturer issues
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 gammu.