* Linking old library
@ 2002-01-17 9:35 Israel Alvarez
0 siblings, 0 replies; 4+ messages in thread
From: Israel Alvarez @ 2002-01-17 9:35 UTC (permalink / raw)
To: GNU GCC help list
Hi all!,
I'm using g++v3.0.2 to compile my app. I'm using also libstdc++v3. The
problem is that I need to link my app. to the olds libc-2.2.2.so and
libm-2.2.2.so instead of the libc-2.2.4.so and libm-2.2.4.so that g++v3.0.2
uses as default.
I compile the app as follows:
>g++3 main.cpp -lc-2.2.2 -lm-2.2.2
but I get the nice:
>/usr/lib/gcc-lib/i386-redhat-linux/3.0.2/../../../libc-2.2.2.so: undefined
reference to `_dl_debug_files@GLIBC_2.2'
>/usr/lib/gcc-lib/i386-redhat-linux/3.0.2/../../../libc-2.2.2.so: undefined
reference to `_dl_debug_impcalls@GLIBC_2.0'
>/usr/lib/gcc-lib/i386-redhat-linux/3.0.2/../../../libc-2.2.2.so: undefined
reference to `_dl_debug_message@GLIBC_2.0'
>collect2: ld returned 1 exit status
Could anyone help me with this?
I'm sure is because I'm doing something relly stupid, but I have no idea
about linking and stuff like that.
Waitting for news... (good I hope :-) )
ia
^ permalink raw reply [flat|nested] 4+ messages in thread
* Linking old library
@ 2002-01-23 2:15 Israel Alvarez
0 siblings, 0 replies; 4+ messages in thread
From: Israel Alvarez @ 2002-01-23 2:15 UTC (permalink / raw)
To: GNU GCC help list
Hi all!,
I'm using g++v3.0.2 to compile my app.
I need to link my app. to the old libc-2.2.2.so instead of the libc-2.2.4.so
that g++v3.0.2 uses as default.
I compile the app as follows: ("Hello World app")
>g++3 main.cpp -lc-2.2.2
but I get:
>/usr/lib/gcc-lib/i386-redhat-linux/3.0.2/../../../libc-2.2.2.so: undefined
reference to `_dl_debug_files@GLIBC_2.2'
>/usr/lib/gcc-lib/i386-redhat-linux/3.0.2/../../../libc-2.2.2.so: undefined
reference to `_dl_debug_impcalls@GLIBC_2.0'
>/usr/lib/gcc-lib/i386-redhat-linux/3.0.2/../../../libc-2.2.2.so: undefined
reference to `_dl_debug_message@GLIBC_2.0'
>collect2: ld returned 1 exit status
Could anyone help me with this?
ia
^ permalink raw reply [flat|nested] 4+ messages in thread
* Linking old library
@ 2002-01-23 2:15 Israel Alvarez
0 siblings, 0 replies; 4+ messages in thread
From: Israel Alvarez @ 2002-01-23 2:15 UTC (permalink / raw)
To: GNU GCC help list
Hi all!,
I'm using g++v3.0.2 to compile my app.
I need to link my app. to the old libc-2.2.2.so instead of the libc-2.2.4.so
that g++v3.0.2 uses as default.
I compile the app as follows: ("Hello World app")
>g++3 main.cpp -lc-2.2.2
but I get:
>/usr/lib/gcc-lib/i386-redhat-linux/3.0.2/../../../libc-2.2.2.so: undefined
reference to `_dl_debug_files@GLIBC_2.2'
>/usr/lib/gcc-lib/i386-redhat-linux/3.0.2/../../../libc-2.2.2.so: undefined
reference to `_dl_debug_impcalls@GLIBC_2.0'
>/usr/lib/gcc-lib/i386-redhat-linux/3.0.2/../../../libc-2.2.2.so: undefined
reference to `_dl_debug_message@GLIBC_2.0'
>collect2: ld returned 1 exit status
Could anyone help me with this?
ia
^ permalink raw reply [flat|nested] 4+ messages in thread
* Linking old library
@ 2002-01-17 9:35 Israel Alvarez
0 siblings, 0 replies; 4+ messages in thread
From: Israel Alvarez @ 2002-01-17 9:35 UTC (permalink / raw)
To: GNU GCC help list
Hi all!,
I'm using g++v3.0.2 to compile my app. I'm using also libstdc++v3. The
problem is that I need to link my app. to the olds libc-2.2.2.so and
libm-2.2.2.so instead of the libc-2.2.4.so and libm-2.2.4.so that g++v3.0.2
uses as default.
I compile the app as follows:
>g++3 main.cpp -lc-2.2.2 -lm-2.2.2
but I get the nice:
>/usr/lib/gcc-lib/i386-redhat-linux/3.0.2/../../../libc-2.2.2.so: undefined
reference to `_dl_debug_files@GLIBC_2.2'
>/usr/lib/gcc-lib/i386-redhat-linux/3.0.2/../../../libc-2.2.2.so: undefined
reference to `_dl_debug_impcalls@GLIBC_2.0'
>/usr/lib/gcc-lib/i386-redhat-linux/3.0.2/../../../libc-2.2.2.so: undefined
reference to `_dl_debug_message@GLIBC_2.0'
>collect2: ld returned 1 exit status
Could anyone help me with this?
I'm sure is because I'm doing something relly stupid, but I have no idea
about linking and stuff like that.
Waitting for news... (good I hope :-) )
ia
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-01-23 10:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-17 9:35 Linking old library Israel Alvarez
-- strict thread matches above, loose matches on Subject: below --
2002-01-23 2:15 Israel Alvarez
2002-01-23 2:15 Israel Alvarez
2002-01-17 9:35 Israel Alvarez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).