* Linker Errors
@ 2002-08-11 22:51 VallabhaN
2002-08-12 9:18 ` Paul Jarc
0 siblings, 1 reply; 5+ messages in thread
From: VallabhaN @ 2002-08-11 22:51 UTC (permalink / raw)
To: gcc-help
Hi All,
I hitting some linker errors while building an application. Here is what
the message the linker is throwing:
/home/libcommdlg44.so: undefined reference to `__pure_virtual'
/home/libcommdlg44.so: undefined reference to `__rtti_user'
/home/libcommdlg44.so: undefined reference to `__rtti_si'
/home/libcommdlg44.so: undefined reference to `__throw'
/home/libcommdlg44.so: undefined reference to `terminate(void)'
/home/libcommdlg44.so: undefined reference to `__rtti_class'
I am using gcc 3.1 on Linux 7.2.
Can somebody tell me whats going wrong or how I can correct it?
Any help is really appreciated.
Thanks in advance
-Vallabha
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Linker Errors
2002-08-11 22:51 Linker Errors VallabhaN
@ 2002-08-12 9:18 ` Paul Jarc
0 siblings, 0 replies; 5+ messages in thread
From: Paul Jarc @ 2002-08-12 9:18 UTC (permalink / raw)
To: VallabhaN; +Cc: gcc-help
"VallabhaN" <VallabhaN@bristol.com> wrote:
> /home/libcommdlg44.so: undefined reference to `__pure_virtual'
> /home/libcommdlg44.so: undefined reference to `__rtti_user'
> /home/libcommdlg44.so: undefined reference to `__rtti_si'
> /home/libcommdlg44.so: undefined reference to `__throw'
> /home/libcommdlg44.so: undefined reference to `terminate(void)'
> /home/libcommdlg44.so: undefined reference to `__rtti_class'
These are C++ facilities; make sure you're using g++ to link, not gcc.
paul
^ permalink raw reply [flat|nested] 5+ messages in thread
* Linker errors
@ 2001-10-20 14:31 Larry
0 siblings, 0 replies; 5+ messages in thread
From: Larry @ 2001-10-20 14:31 UTC (permalink / raw)
To: gcc-help
Could someone please tell me why I keep getting this error?
I have recieved this error on several different pieces of software
I have tried to build. One being the KDElibs then this program.
I am using gcc-2.95.3
Thanks
make all-recursive make[1]: Entering directory
`/shared/src/simplecdrx-1.0-pre1' Making all in src make[2]: Entering
directory `/shared/src/simplecdrx-1.0-pre1/src' g++ -g -o simplecdrx main.o
support.o interface.o callbacks.o masteraudiocd.o copycd.o masterdatacd.o
mp3info.o mp3tech.o play.o progress.o rifffile.o rip.o setup.o string2int.o
wave.o -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule
-lglib -ldl -lXext -lX11 -lm main.o: In function
`__malloc_alloc_template<0>::deallocate(void *, unsigned int)':
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3
/stl_alloc.h:164: undefined reference to `endl(ostream &)'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3
/stl_alloc.h:164: undefined reference to `cout'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/
stl_alloc.h:164:undefined reference to `ostream::operator<<(ostream &(*)
(ostream &))'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/
stl_alloc.h:164: undefined reference to `endl(ostream &)'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/
stl_alloc.h:164: undefined reference to `cout'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/
stl_alloc.h:164: undefined reference to `ostream::operator<<(ostream &(*)
(ostream &))'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/
stl_alloc.h:164: undefined reference to `ifstream::ifstream(int)'
/shared/src/simplecdrx-1.0-pre1/src/callbacks.c:189: undefined reference to
`ostream::operator<<(char const *)'
/shared/src/simplecdrx-1.0-pre1/src/callbacks.c:189: undefined reference to
`ostream::operator<<(ostream &(*)(ostream &))' callbacks.o: In function
`on_save_button_clicked(_GtkButton *, void *)':
/shared/src/simplecdrx-1.0-pre1/src/callbacks.c:462: undefined reference to
`ofstream::ofstream(int)'
/shared/src/simplecdrx-1.0-pre1/src/callbacks.c:479: undefined reference to
`ofstream::open(char const *, int, int)'
/shared/src/simplecdrx-1.0-pre1/src/callbacks.c:481: undefined reference to
`ios::operator!(void) const'
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Linker errors
2001-02-13 15:11 yarrakonda srinivasa reddy
@ 2001-02-14 16:57 ` Alexandre Oliva
0 siblings, 0 replies; 5+ messages in thread
From: Alexandre Oliva @ 2001-02-14 16:57 UTC (permalink / raw)
To: yarrakonda srinivasa reddy; +Cc: help-gcc
On Feb 13, 2001, "yarrakonda srinivasa reddy" <srinivasa326@hotmail.com> wrote:
> I am getting these errors. Could any one help if iam missing any lib file.
Which version of GCC? Which target platform? Which command line? It
seems to me it's missing libgcc and libc.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
^ permalink raw reply [flat|nested] 5+ messages in thread
* Linker errors
@ 2001-02-13 15:11 yarrakonda srinivasa reddy
2001-02-14 16:57 ` Alexandre Oliva
0 siblings, 1 reply; 5+ messages in thread
From: yarrakonda srinivasa reddy @ 2001-02-13 15:11 UTC (permalink / raw)
To: help-gcc
HI
I am getting these errors. Could any one help if iam missing any lib file.
-Thanx
Sri
ld: warning: cannot find entry symbol _mainCRTStartup; defaulting to
00401000
d:\gcc\usr\lib/libstdc++.a(iostream.o)(.text+0x14c):iostream.cc: undefined
reference to `_imp___ctype_'
d:\gcc\usr\lib/libstdc++.a(iostream.o)(.text+0x519):iostream.cc: undefined
reference to `_imp___ctype_'
d:\gcc\usr\lib/libstdc++.a(iostream.o)(.text+0xd9c):iostream.cc: undefined
reference to `__umoddi3'
d:\gcc\usr\lib/libstdc++.a(iostream.o)(.text+0xdae):iostream.cc: undefined
reference to `__udivdi3'
d:\gcc\usr\lib/libstdc++.a(iostream.o)(.text+0x17b7):iostream.cc: undefined
reference to `_impure_ptr'
d:\gcc\usr\lib/libstdc++.a(iostream.o)(.text+0x17c3):iostream.cc: undefined
reference to `fflush'
d:\gcc\usr\lib/libstdc++.a(iostream.o)(.text+0x17c8):iostream.cc: undefined
reference to `_impure_ptr'
d:\gcc\usr\lib/libstdc++.a(iostream.o)(.text+0x17d4):iostream.cc: undefined
reference to `fflush'
d:\gcc\usr\lib/libstdc++.a(streambuf.o)(.text+0x3e3):streambuf.cc: undefined
reference to `__errno'
d:\gcc\usr\lib/libstdc++.a(filebuf.o)(.text+0x3f1):filebuf.cc: undefined
reference to `open'
d:\gcc\usr\lib/libstdc++.a(stdstrbufs.o)(.text+0x4e):stdstrbufs.cc:
undefined reference to `_impure_ptr'
d:\gcc\usr\lib/libstdc++.a(stdiostream.o)(.text+0x1c):stdiostream.cc:
undefined reference to `fileno'
d:\gcc\usr\lib/libstdc++.a(stdiostream.o)(.text+0x155):stdiostream.cc:
undefined reference to `getc'
d:\gcc\usr\lib/libstdc++.a(stdiostream.o)(.text+0x179):stdiostream.cc:
undefined reference to `fread'
d:\gcc\usr\lib/libstdc++.a(stdiostream.o)(.text+0x19e):stdiostream.cc:
undefined reference to `fwrite'
d:\gcc\usr\lib/libstdc++.a(stdiostream.o)(.text+0x1d1):stdiostream.cc:
undefined reference to `fseek'
d:\gcc\usr\lib/libstdc++.a(stdiostream.o)(.text+0x1ee):stdiostream.cc:
undefined reference to `fclose'
d:\gcc\usr\lib/libstdc++.a(stdiostream.o)(.text+0x231):stdiostream.cc:
undefined reference to `fflush'
d:\gcc\usr\lib/libstdc++.a(stdiostream.o)(.text+0x279):stdiostream.cc:
undefined reference to `fflush'
d:\gcc\usr\lib/libstdc++.a(stdiostream.o)(.text+0x2b0):stdiostream.cc:
undefined reference to `fwrite'
d:\gcc\usr\lib/libstdc++.a(iogetline.o)(.text+0x9e):iogetline.c: undefined
reference to `memchr'
d:\gcc\usr\lib/libstdc++.a(iovfscanf.o)(.text+0x61):iovfscanf.c: undefined
reference to `_imp___ctype_'
d:\gcc\usr\lib/libstdc++.a(iovfscanf.o)(.text+0x8d):iovfscanf.c: undefined
reference to `_imp___ctype_'
d:\gcc\usr\lib/libstdc++.a(iovfscanf.o)(.text+0x3bf):iovfscanf.c: undefined
reference to `strtol'
d:\gcc\usr\lib/libstdc++.a(iovfscanf.o)(.text+0x3e6):iovfscanf.c: undefined
reference to `strtoul'
d:\gcc\usr\lib/libstdc++.a(iovfscanf.o)(.text+0x407):iovfscanf.c: undefined
reference to `strtoul'
d:\gcc\usr\lib/libstdc++.a(iovfscanf.o)(.text+0x489):iovfscanf.c: undefined
reference to `strtoul'
d:\gcc\usr\lib/libstdc++.a(iovfscanf.o)(.text+0x511):iovfscanf.c: undefined
reference to `strtol'
d:\gcc\usr\lib/libstdc++.a(iovfscanf.o)(.text+0x55c):iovfscanf.c: undefined
reference to `_imp___ctype_'
d:\gcc\usr\lib/libstdc++.a(iovfscanf.o)(.text+0x5ac):iovfscanf.c: undefined
reference to `_imp___ctype_'
d:\gcc\usr\lib/libstdc++.a(iovfscanf.o)(.text+0x823):iovfscanf.c: undefined
reference to `_imp___ctype_'
d:\gcc\usr\lib/libstdc++.a(iovfscanf.o)(.text+0x87d):iovfscanf.c: undefined
reference to `_imp___ctype_'
d:\gcc\usr\lib/libstdc++.a(iovfscanf.o)(.text+0x8be):iovfscanf.c: undefined
reference to `_imp___ctype_'
d:\gcc\usr\lib/libstdc++.a(iovfscanf.o)(.text+0x915):iovfscanf.c: more
undefined references to `_imp___ctype_' follow
d:\gcc\usr\lib/libstdc++.a(fileops.o)(.text+0x19d):fileops.c: undefined
reference to `__errno'
d:\gcc\usr\lib/libstdc++.a(fileops.o)(.text+0x1d7):fileops.c: undefined
reference to `open'
d:\gcc\usr\lib/libstdc++.a(fileops.o)(.text+0x210):fileops.c: undefined
reference to `__errno'
d:\gcc\usr\lib/libstdc++.a(fileops.o)(.text+0x26d):fileops.c: undefined
reference to `__errno'
d:\gcc\usr\lib/libstdc++.a(fileops.o)(.text+0x398):fileops.c: undefined
reference to `__errno'
d:\gcc\usr\lib/libstdc++.a(fileops.o)(.text+0x45d):fileops.c: undefined
reference to `__errno'
d:\gcc\usr\lib/libstdc++.a(fileops.o)(.text+0x5ad):fileops.c: undefined
reference to `__errno'
d:\gcc\usr\lib/libstdc++.a(fileops.o)(.text+0x821):fileops.c: undefined
reference to `read'
d:\gcc\usr\lib/libstdc++.a(fileops.o)(.text+0x845):fileops.c: undefined
reference to `lseek'
d:\gcc\usr\lib/libstdc++.a(fileops.o)(.text+0x865):fileops.c: undefined
reference to `fstat'
d:\gcc\usr\lib/libstdc++.a(fileops.o)(.text+0x881):fileops.c: undefined
reference to `close'
d:\gcc\usr\lib/libstdc++.a(filedoalloc.o)(.text+0x98):filedoalloc.c:
undefined reference to `isatty'
d:\gcc\usr\lib/libstdc++.a(floatconv.o)(.text+0x1278):floatconv.c: undefined
reference to `__errno'
d:\gcc\usr\lib/libstdc++.a(floatconv.o)(.text+0x1283):floatconv.c: undefined
reference to `_imp____infinity'
d:\gcc\usr\lib/libstdc++.a(floatconv.o)(.text+0x13e2):floatconv.c: undefined
reference to `__errno'
d:\gcc\usr\lib/libstdc++.a(cleanup.o)(.text+0xf):cleanup.c: undefined
reference to `atexit'
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-08-12 16:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-11 22:51 Linker Errors VallabhaN
2002-08-12 9:18 ` Paul Jarc
-- strict thread matches above, loose matches on Subject: below --
2001-10-20 14:31 Linker errors Larry
2001-02-13 15:11 yarrakonda srinivasa reddy
2001-02-14 16:57 ` Alexandre Oliva
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).