Comments (1)
I suspect that the problem is that libdmalloc.a is not installed in /usr/lib or something. You can put it there in which case -ldmalloc
should work or you can add it specifically to your compilation line:
gcc -DDMALLOC -DDMALLOC_FUNC_CHECK /path/to/location/of/libdmalloc.a -I/usr/local/include/libbson-1.0 -I/usr/local/include/libmongoc-1.0 -lmongoc-1.0 -lbson-1.0 test.c
from dmalloc.
Related Issues (12)
- dmalloc output "not freed: '0x7f2e20d36808|s1' (1182 bytes) from 'unknown'" when using 'printf' and 'fgetc' HOT 2
- installdocs seems broken
- Docs missing from 5.6.0? HOT 4
- Feature request: native Windows support HOT 9
- loc_snprintf implementation uses va_args innappropriately
- Not building on ubuntu 16.04 HOT 1
- stack overflow in dmalloc_die HOT 1
- Installing fails with 'multiple definition' during shared library building HOT 1
- installdocs issues HOT 1
- Mulitple discontinuous memory region support
- dmalloc: critical error: could not extend heap 4096 more bytes HOT 1
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 dmalloc.