![]() |
【转帖】symbol Odrxfree Referenced Symbol Not Found
symbol odrxfree: referenced symbol not found
symbol odrxfree: referenced symbol not found hi, i have a shared library which uses the solaris builds of dwgdirect. when my main program tries to load this library (using dlopen), i get an error relating to odrxfree not being found: "...symbol odrxfree: referenced symbol not found..." this problem occurs with both gcc and non-gcc solaris builds of dwgdirect. i have no ideas of how to fix this - all of the dwgdirect libs are available on the library search path, but i don't know where this method should be coming from - i assume odalloc? how can i fix this problem? note: this is using 1.14.02 build of dwgdirect -------------------------------------------------------------------------------- ryan lohan integration developer objective corporation limited -------------------------------------------------------------------------------- has anyone seen this? -------------------------------------------------------------------------------- ryan lohan integration developer objective corporation limited -------------------------------------------------------------------------------- perhaps something went wrong in the solaris build. you may add memory management functions yourself, somethere in your application. the code looks like this: code: extern "c" { void* odrxalloc(size_t s) { return ::malloc( s ); } void* odrxrealloc(void* p, size_t new_size, size_t /*old_size*/) { return ::realloc( p, new_size ); } void odrxfree(void* p) { ::free( p ); } } // extern "c" vladimir |
所有的时间均为北京时间。 现在的时间是 08:17 AM. |