This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Tue, Aug 21, 2012 at 12:14 AM, Paul Millar<paul.millar@desy.de> wrote:The bug appears to be in your program.I'm trying to use the LD_PRELOAD to override symbol bindings, to allow alternative behaviour. While doing this, I've found something that could be a bug and wanted to ask people's opinion before submitting a bug-report.
There is also a bug in your sources: wrapper.c is missing<stdlib.h>, which makes it fail to build like so:
cc -Wall -c wrapper.c -o wrapper.lo -fPIC wrapper.c:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘write’ make: *** [wrapper.lo] Error 1
Not that it matters, but saying "on my machine" gives us no information about it. What version of glibc is installed on your machine?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |