473,394 Members | 1,787 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

symbol reference error while linking the object files

Hi,
I am having the symbol reference error while linking the object
files. I have added the library at the end of the commmand .

g++ -D_XWIN -DRT_DIAG=cerr -DRT_INFO=cerr -I/usr/X11R6/include -o
simex AuxFctns.o CompList.o Composed.o Event.o FandCOp.o IconDraw.o
Pane.o \
Ph1.o Ph2.o Ph3.o Ph4.o Ph4Run.o Ph5.o RTSigSup.o RunTime.o SchCell.o
Schmtc.o \
ScrnTile.o Signal.o Sim.o SkewHeap.o SupDisp.o SupProbe.o SwList.o
Tab.o Transit.o \
Window.o WindowEv.o WindowIn.o addStCmp.o cmdLine.o getopt.o iconData.o
lbPh1.o \
lbRT.o lsiPh1.o lsiRT.o main.o msiPh1.o msiRT.o sbPh1.o sbRT.o
simnet.o ssiPh1.o\ ssiRT.o vlsiPh1.o vlsiRT.o -L/usr/X11R6/lib-1X11
Any help will be appreciated.
Thanks

Jan 29 '06 #1
6 2629
Nadia wrote:
Hi,
I am having the symbol reference error while linking the object
files. I have added the library at the end of the commmand .

g++ -D_XWIN -DRT_DIAG=cerr -DRT_INFO=cerr -I/usr/X11R6/include -o
simex AuxFctns.o CompList.o Composed.o Event.o FandCOp.o IconDraw.o
Pane.o \
Ph1.o Ph2.o Ph3.o Ph4.o Ph4Run.o Ph5.o RTSigSup.o RunTime.o SchCell.o
Schmtc.o \
ScrnTile.o Signal.o Sim.o SkewHeap.o SupDisp.o SupProbe.o SwList.o
Tab.o Transit.o \
Window.o WindowEv.o WindowIn.o addStCmp.o cmdLine.o getopt.o iconData.o
lbPh1.o \
lbRT.o lsiPh1.o lsiRT.o main.o msiPh1.o msiRT.o sbPh1.o sbRT.o
simnet.o ssiPh1.o\ ssiRT.o vlsiPh1.o vlsiRT.o -L/usr/X11R6/lib-1X11 ^ Any help will be appreciated.
Thanks


You've not only succeeded in asking a question about the operation of a
particular compiler/linker combination (off topic here), you're also
asking about the linking of C++ code (off topic here).

Try news:gnu.g++.help (or look at the typo above, assuming that line
wrapping hasn't messed up the formatting).

-ag
--
Artie Gold -- Austin, Texas
http://goldsays.blogspot.com
http://www.cafepress.com/goldsays
"If you have nothing to hide, you're not trying!"
Jan 29 '06 #2
"Nadia" <mr********@aol.com> writes:
I am having the symbol reference error while linking the object
files. I have added the library at the end of the commmand .

g++ -D_XWIN -DRT_DIAG=cerr -DRT_INFO=cerr -I/usr/X11R6/include -o
simex AuxFctns.o CompList.o Composed.o Event.o FandCOp.o IconDraw.o
Pane.o \
Ph1.o Ph2.o Ph3.o Ph4.o Ph4Run.o Ph5.o RTSigSup.o RunTime.o SchCell.o
Schmtc.o \
ScrnTile.o Signal.o Sim.o SkewHeap.o SupDisp.o SupProbe.o SwList.o
Tab.o Transit.o \
Window.o WindowEv.o WindowIn.o addStCmp.o cmdLine.o getopt.o iconData.o
lbPh1.o \
lbRT.o lsiPh1.o lsiRT.o main.o msiPh1.o msiRT.o sbPh1.o sbRT.o
simnet.o ssiPh1.o\ ssiRT.o vlsiPh1.o vlsiRT.o -L/usr/X11R6/lib-1X11
Any help will be appreciated.


g++ is a C++ compiler. comp.lang.c++ is down the hall on the left,
just past the water cooler. But it's not clear that your question
would be topical there either; you might have better luck in a
newsgroup for your operating system (comp.unix.programmer?) or perhaps
comp.os.linux.x or one of the comp.windows.x newsgroups.

But I doubt that anyone is going to be able to help you unless you
show them the actual error messages you got.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Jan 29 '06 #3
Nadia wrote:

I am having the symbol reference error while linking the object
files. I have added the library at the end of the commmand .

g++ -D_XWIN -DRT_DIAG=cerr -DRT_INFO=cerr -I/usr/X11R6/include -o


.... snip incomprehensible contextless junk. ...

All usenet articles need to stand by themselves. Without context
they are meaningless. Most readers cannot see, or may never have
received, earlier articles in the thread. For means of creating
suitable posts with the foully broken google interface to usenet,
see my sig. below. PLEASE READ the referenced URLs.

I believe you have been told this before. Continuing to ignore the
advice will only result in plonking (which means ignoring) you by
those most able to assist.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
Also see http://www.safalra.com/special/googlegroupsreply/
Jan 30 '06 #4
Nadia wrote:
Hi,
I am having the symbol reference error while linking the object
files. I have added the library at the end of the commmand .

g++ -D_XWIN -DRT_DIAG=cerr -DRT_INFO=cerr -I/usr/X11R6/include -o

[etc.]

g++ is a C++ compiler. That would suggest that your question is
off-topic in comp.lang.c. Your question is about using a particular
compiler; that *does* make it off-topic. There are gnu newsgroups for
questions about gnu software.
Jan 30 '06 #5
CBFalconer <cb********@yahoo.com> writes:
Nadia wrote:

I am having the symbol reference error while linking the object
files. I have added the library at the end of the commmand .

g++ -D_XWIN -DRT_DIAG=cerr -DRT_INFO=cerr -I/usr/X11R6/include -o


... snip incomprehensible contextless junk. ...

All usenet articles need to stand by themselves. Without context
they are meaningless. Most readers cannot see, or may never have
received, earlier articles in the thread. For means of creating
suitable posts with the foully broken google interface to usenet,
see my sig. below. PLEASE READ the referenced URLs.

I believe you have been told this before. Continuing to ignore the
advice will only result in plonking (which means ignoring) you by
those most able to assist.


Look again, Chuck. Nadia's article wasn't a followup. According to
groups.google.com, she's posted a grand total of two original articles
and *no* followups to comp.lang.c, so it's unlikely she's ever been
personally told how to post proper followups via groups.google.com.

And she's already been advised to ask her question elsewhere.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Jan 30 '06 #6
Keith Thompson wrote:

"Nadia" <mr********@aol.com> writes:
I am having the symbol reference error while linking the object
files. I have added the library at the end of the commmand .

g++ -D_XWIN -DRT_DIAG=cerr -DRT_INFO=cerr -I/usr/X11R6/include -o[...]
simnet.o ssiPh1.o\ ssiRT.o vlsiPh1.o vlsiRT.o -L/usr/X11R6/lib-1X11
Any help will be appreciated.


g++ is a C++ compiler. comp.lang.c++ is down the hall on the left,

[...] But I doubt that anyone is going to be able to help you unless you
show them the actual error messages you got.


Sure they can... The error is on line 42. :-)

--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody | www.hvcomputer.com | |
| kenbrody/at\spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
Don't e-mail me at: <mailto:Th*************@gmail.com>

Jan 30 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Victor | last post by:
hello, I'm trying to write a C program that calls a function that written in assembly language(X86), but I keeps getting undefined error. I used paradigm C++ for linking and compiling. ...
5
by: Oliver | last post by:
Hi, I have a problem with a shared library of mine. I compile the *.o files and then generate the .so lib with: cc -shared libjava_vrpn.so *.o When I then run my program I get an error for an...
3
by: We need more power captain | last post by:
Hi, I know less than a noob, I've been asked to do some compiles in VC++ 6 without knowing too much at all. (I'm a COBOL program normally so this is all too much for me) I open VC++6, open...
8
by: Scott Allen | last post by:
Hello, I'm new to C++ development and I'm trying out figure out the cause of an 'unresolved external symbol' error that I'm receiving when compiling. Here is some history on what I'm doing: I...
2
by: ozgan.net | last post by:
Hi everyone, I created my first COM object, but I took below errors. Why I didn't use socket functions. I defined *.def file __imp__WSAStartup@8 PRIVATE __imp__socket@12 PRIVATE...
2
by: Ian Taite | last post by:
Help, I am trying to nail a linking problem, to avoid having to lose about 2 weeks work. I have a backup of my project that compiles and links OK however changes I made sometime since then have...
8
by: pavan734 | last post by:
Hello, Please excuse me as Iam not posting this to correct group. I have a parser code obtained from flex command. I have many other files. When I compile them Iam getting a message like:...
3
by: NewsGroup | last post by:
Hello, I am trying to write a code to interface with ILOG OPL development studio using their C++ libraries and header files. But I am encountering linker issues, an example being - error...
2
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.