Message227104
> You don't need to compile Python. Just compile nobuffer.c to
> libnobuffer.so. See the "documentation" in nobuffer.c.
Strictly following the documentation does not work:
sworddragon@ubuntu:~/tmp$ gcc -shared -o nobuffer.so interceptor.c
gcc: error: interceptor.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
Trying to fix this results in this error:
sworddragon@ubuntu:~/tmp$ gcc -shared -o nobuffer.so nobuffer.c
/usr/bin/ld: /tmp/ccgArKHv.o: relocation R_X86_64_PC32 against undefined symbol `stdout@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status |
|
Date |
User |
Action |
Args |
2014-09-19 16:22:10 | Sworddragon | set | recipients:
+ Sworddragon, vstinner |
2014-09-19 16:22:10 | Sworddragon | set | messageid: <1411143730.42.0.169236751987.issue22443@psf.upfronthosting.co.za> |
2014-09-19 16:22:10 | Sworddragon | link | issue22443 messages |
2014-09-19 16:22:10 | Sworddragon | create | |
|