[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: undefined symbol __dso_handle
From: |
H. J. Lu |
Subject: |
Re: undefined symbol __dso_handle |
Date: |
Tue, 14 Jan 2003 09:30:43 -0800 |
User-agent: |
Mutt/1.2.5.1i |
On Tue, Jan 14, 2003 at 11:20:54AM -0300, Alejandro Dobniewski wrote:
> I changed to $(CC) -shared -nostartfiles, but if I take out the
> -nostartfiles flag I got this error:
> libbobutil.o: In function `_init':
> /home/adobni/boblin/libbobutil.c:8: multiple definition of `_init'
> /usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../crti.o:/tmp/ccnhFcil.s:28:
> first defined here
> libbobutil.o: In function `_fini':
> /home/adobni/boblin/libbobutil.c:14: multiple definition of `_fini'
> /usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../crti.o:/tmp/ccnhFcil.s:28:
> first defined here
> collect2: ld returned 1 exit status
> make: *** [libbob.so] Error 1
>
Don't define _init/_fini in your code.
H.J.
- Re: undefined symbol __dso_handle, (continued)
- RE: undefined symbol __dso_handle, Alejandro Dobniewski, 2003/01/13
- RE: undefined symbol __dso_handle, Alejandro Dobniewski, 2003/01/13
- RE: undefined symbol __dso_handle, Alejandro Dobniewski, 2003/01/13
- RE: undefined symbol __dso_handle, Alejandro Dobniewski, 2003/01/13
- RE: undefined symbol __dso_handle, Alejandro Dobniewski, 2003/01/14
- Re: undefined symbol __dso_handle,
H. J. Lu <=
- RE: undefined symbol __dso_handle, Alejandro Dobniewski, 2003/01/14
- RE: undefined symbol __dso_handle, Alejandro Dobniewski, 2003/01/14
- RE: undefined symbol __dso_handle, Alejandro Dobniewski, 2003/01/14
- RE: undefined symbol __dso_handle, Alejandro Dobniewski, 2003/01/14