unresolved symbol U_TRAP_STACK_TRACE ???
by neo_dapi » Sat, 12 Jul 2003 19:30:54 GMT
Hi all,
I'm trying to dynamically load a shared library using dlopen() but I
get this error
Unresolved symbol: U_TRAP_STACK_TRACE (code) from /usr/lib/libcl.2'
Code I'm using to load the library is
pLib=dlopen(pLLevel,RTLD_NOW/*RTLD_LAZY*/);
if (pLib==NULL)
{
fprintf(output,"%s : Error loading EMC library. Description
'%s'\n",fnGetTime(),dlerror());
fflush(output);
fclose(output);
ClearList(&var_list);
return error_code;
}
I have verified the path/permissions of shared library. I'm compiling
and executing the lib on two different machines. Can somebody give me
some pointer on this error?
My compilation machine is
$ uname -a
HP-UX dvla B.11.00 U 9000/811 2003622270 unlimited-user license
and execution machine is
$ uname -a
HP-UX harvey B.11.11 U 9000/800 161261741 unlimited-user license
Thanks in adv
Deepesh
Similar Threads:
1.unresolved symbol ap_hook_check_user_id
Randy Kobes wrote:
> "Marco Antoniotti" < XXXX@XXXXX.COM > wrote in message
> news:mAVQb.505$ XXXX@XXXXX.COM ...
>
>>Randy Kobes wrote:
>>
>>>"Marco Antoniotti" < XXXX@XXXXX.COM > wrote in message
>>> news:3XEQb.500$ XXXX@XXXXX.COM ...
>>>
>>>
>>>>I have had a similar problem recently. The undefined symbol is
>>>>'apr_socket_send'. In which library is this defined? (This is for
>>>>Apache 2.0.*)
>>>
>>>Symbols with an 'apr' prefix are generally found either in
>>>libapr.lib or libaprutil.lib (in this case, libapr.lib). If you have
>>>VC++, you can use
>>> dumpbin /exports library_name.lib
>>>to see a list of symbols exported.
>>
>>Nope. apr_socket_send is in neither. It must be a misconfiguration of
>>some kind. But where should this symbol be?
>
>
> It's in libapr.lib for me (Apache/2.0.48). What Apache version
> are you using?
I am using 2.0.40
However, er, :) I was cheating. I am actually running Linux RH9. There
is no trace of 'apr_socket_send' in libapr.so.
I guess is a misconfiguration of the Ximian version I downloaded with
Red Carpet.
Anyway, thanks for the feedback
Cheers
2.[RESOLVED] DBD::mysql unresolved symbol _intel_fast_memcpy & mysql-standard-5.0.22-linux-i686-icc-glibc23
3.Unresolved symbols when insmod
Hello Everyone
I have just started to work on Linux after spending some time on other
OS. Now I have developed a module that I want to compile and then
insert into the kernel. My make file looks as follows:
KERNELDIR = /usr/src/linux
CFLAGS = -D__KERNEL__ -DMODULE -I$(KERNELDIR)/include -O
all: client.o
clean:
rm -f *.o *.out
and when building the following output printed:
CC -D__KERNEL__ -DMODULE -I/usr/src/linux/include -O -c -o client.o
client.c
with this line all goes well and my module compiles and I get a
client.o. However when doing "insmod client.o" I get the following
error:
client.o: unresolved symbol strcasecmp
client.o: unresolved symbol socket
client.o: unresolved symbol close
client.o: unresolved symbol __errno_location
client.o: unresolved symbol sendto
client.o: unresolved symbol inet_addr
Now my questions are as follows:
How do I compile so that these symbols are linked into my module?
Do I have to provide some info/switches to the insmod command to get
around this error?
Am I suppose to use different API's when creating sockets for a
module(saw a posting saying that socket_create should be used)?
And help or pointers would be very good.
Regards
Andreas
4.kernel module unresolved symbol
We are coding a kernel module for 2.2.26 version, we include <linux/
string.h> but as soon as we load the module, insmod ourmod.o, we get
unresolved symbol strchr, who can help us?
thanks
5.Help - unresolved symbol when loading module
Hi,
Suppose I need to load two modules, module_a.o and module_b.o, one by one.
module_a.o uses/calls a function defined in module_b.o, and
module_b.o uses/calls a function defined in module_a.o.
How can I load them one by one? It seems loading any one of them will cause
"unresolved symbol" error.
Thanks,
T.
6. Unresolved symbols in static executables !!!
7. Help - unresolved symbol when loading a module
8. insmod: unresolved symbols