undefined symbol
lysa
marialisa.raucci@gmail.com
Mon Sep 24 18:05:00 GMT 2007
Hi
I have a library compiled with this flag:
LDFLAGS= -avoid-version -lstdc++ -Wall
this lib have 2 classes: A and B. A includes B
this is a short example:
class B {..}
class A {..
B b;
}
there is an extern function that CREATE un object of type A in this way:
extern "C"
{ void *func_create_A()
{
return new A();
}
}
this operation generates the UNDEFINED SYMBOL error on B class
How can I solve?
thanks
Lysa
--
View this message in context: http://www.nabble.com/undefined-symbol-tf4510439.html#a12864125
Sent from the gcc - Help mailing list archive at Nabble.com.
More information about the Gcc-help
mailing list