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] |
Gary Hughes-Fenchel wrote:No I was not. I tried it, and that cleared it up! Thanks!I am seeing this: /usr/bin/ld: pgmreceiver: hidden symbol `__dso_handle' in /usr/lib/gcc/x86_6 4-redhat-linux/4.1.1/crtbegin.o is referenced by DSO 26 /usr/bin/ld: final link failed: Nonrepresentable section on output 27 collect2: ld returned 1 exit status
I am calling ld directly. I am building 2 separate libraries and trying to link with the dynamic libraries. The libraries are being created with: -fvisibility=default -shared -soname foo.so -lc mylib1.a mylib2.a
Are you using '-shared' when you invoke gcc/g++ to compile your source objects?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |