home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!mcdchg!polaris!burman
- From: burman@polaris.UUCP (Surendra Burman)
- Newsgroups: comp.lang.c++
- Subject: Linking Error)
- Message-ID: <1439@polaris.UUCP>
- Date: 23 Nov 92 00:31:44 GMT
- Organization: Vista Technologies, Inc. Schaumburg, IL 60173 USA
- Lines: 28
-
-
-
- What is the simplest way to debug a linking error?
- I am getting a strange error of undefined symbols
- when I am trying to link some C++ files.
-
- e.g.
- ld: Undefined symbol
- _XtMalloc
- _XtFree
- _XtRealloc
-
- There are about 25 files and I did find these symbols in
- one of the files.I get this error when I am trying to call
- a constructor function. If I comment out the constructor
- function, the program links fine. I tried to check the order
- in which I am linking the files, but it did not help? I am
- new to C++.
-
- Any pointers in this direction will be highly appreciated.
-
- Thanks in advance.
-
- Please email me any suggestions.
-
- -- Burman
- Email: burman@vistatech.com
-
-