473,322 Members | 1,307 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,322 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 2623
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
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.