Search Results

Search: Posts Made By: Maelstrom
Forum: Programming 04-04-2012
4,141
Posted By Maelstrom
dlfcn.h was included in each case in the C file...
dlfcn.h was included in each case in the C file containing the function body.
That was not the issue.
If there was a problem with the headers, I assume the 32bit version wouldn't have worked either.
Forum: Programming 04-03-2012
4,141
Posted By Maelstrom
Because I pack a large number of data arrays in...
Because I pack a large number of data arrays in the shared object, and I would need to do more work to also implement some kind of memory map on that.
Besides, my shared objects will be patches to...
Forum: Programming 03-29-2012
4,141
Posted By Maelstrom
Well, it is declared in util.h as int...
Well, it is declared in util.h as
int util_load_library (const char *lib_file, void **handle);

Then the function code from the previous post is placed inside util.c, which includes util.h.
...
Forum: Programming 03-29-2012
4,141
Posted By Maelstrom
Thank you for that remark. However, the...
Thank you for that remark.

However, the reason why my stuff works on CentOS 32bit, and not on CentOS 64bit is way beyond my comprehension.

The code for loading the so and accessing the data...
Forum: Programming 03-28-2012
4,141
Posted By Maelstrom
perror or dlerror ? I tried dlerror so far,...
perror or dlerror ?
I tried dlerror so far, but nothing interesting there :) Didn't think about perror yet, I'll give it a try

EDIT:
Is there anything wrong with the way I build my .so file ?...
Forum: Programming 03-28-2012
4,141
Posted By Maelstrom
Thanks, but we've already looked into this, and...
Thanks, but we've already looked into this, and it would give us a lot of trouble in case we need debugging, or changing the ridiculous amount of arrays in the shared object.

right now I am...
Forum: Programming 03-28-2012
4,141
Posted By Maelstrom
I already used -fPIC when making the .o object. ...
I already used -fPIC when making the .o object.
I'll redeploy my app on 64bit architecture and add the -fPIC option to the second call to gcc, and let you know how that went.
Forum: Programming 03-28-2012
4,141
Posted By Maelstrom
Help building and using a shared object (x64)
Hello,

I am not that experienced with Linux, and I am currently facing some issues.

The application I'm working on uses hundreds of threads. To optimize the memory usage, I am putting all my...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 10:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy