This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

undefined symbol __dso_handle


Hi All,

   Thanks for the reply, i solved out the problem by
linking it to the libgcc library.

Now i have come up with one new problem like as
follows,

during compilation of microwindows, it displays the
following error,

make[2]: Circular
/home/suman/microwin_dynamic/src/lib/ <-
/home/suman/microwin_dynamic/src/lib/ dependency
dropped.
make[1]: Circular
/home/suman/microwin_dynamic/src/lib/ <-
/home/suman/microwin_dynamic/src/lib/ dependency
dropped.
make[2]: Circular
/home/suman/microwin_dynamic/src/lib/ <-
/home/suman/microwin_dynamic/src/lib/ dependency
dropped.
make[2]: Circular
/home/suman/microwin_dynamic/src/lib/ <-
/home/suman/microwin_dynamic/src/lib/ dependency
dropped.
make[1]: Circular
/home/suman/microwin_dynamic/src/lib/ <-
/home/suman/microwin_dynamic/src/lib/ dependency
dropped.
make: Circular /home/suman/microwin_dynamic/src/lib/
<- /home/suman/microwin_dynamic/src/lib/ dependency
dropped.
make[2]: Circular
/home/suman/microwin_dynamic/src/lib/ <-
/home/suman/microwin_dynamic/src/lib/ dependency
dropped.
make[2]: Circular
/home/suman/microwin_dynamic/src/lib/ <-
/home/suman/microwin_dynamic/src/lib/ dependency
dropped.
/opt/crosstool/armv5b-softfloat-linux/gcc-3.4.1-glibc-2.3.3/lib/gcc/armv5b-softfloat-linux/3.4.1/../../../../armv5b-softfloat-linux/bin/ld:
/home/suman/microwin_dynamic/src/bin/widmandraw:
hidden symbol `__dso_handle' in
/opt/crosstool/armv5b-softfloat-linux/gcc-3.4.1-glibc-2.3.3/lib/gcc/armv5b-softfloat-linux/3.4.1/crtbegin.o
is referenced by DSO
collect2: ld returned 1 exit status
make[2]: ***
[/home/suman/microwin_dynamic/src/bin/widmandraw]
Error 1
make[1]: *** [subdirs] Error 2
make: *** [all] Error 2

what does this "hidden symbol `__dso_handle'" mean,
due to what missing option will this appear.

what command line option i have to provide to solve
this problem.

please guide me towards the correct path.

Thanks in advance.

 --- Nicolas Pitre <nico@cam.org> wrote: 
> On Fri, 11 Feb 2005, Peter Pearse wrote:
> 
> > 
> > Pradip
> > 
> > 	Symbols starting __ are internal to particular
> implementations
> > of libraries esp glibc
> > They may disappear without warning when a new
> version of the library is
> > implemented.
> > Some naughty person has hacked in a reference to
> an internal
> > function/variable
> > - your code will only link with implementations of
> the library which
> > export that
> > symbol. If you have access to the MicroWindows
> code (or perhaps the
> > application)
> > you should rewrite it to use a valid alternative.
> 
> __modsi3 has nothing to do with MicroWindows.  This
> is a call emitted by 
> the compiler itself.  Somehow the link failed to
> include libgcc.a which 
> is the problem here.
> 

>  


________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]