473,394 Members | 1,739 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.

Solved by reading this Group!

I am happy to say I solved my compile problem by reading back to
November 17 and another person asked why the math references were a
problem.

The thing to do then is -lm Link a library, a math library.. Duh..

Well that's my speed :)

I'm sure I have more questions.

Ernst
Nov 13 '05 #1
5 1386
Ernst Berg <Er********@sbcglobal.net> scribbled the following:
I am happy to say I solved my compile problem by reading back to
November 17 and another person asked why the math references were a
problem. The thing to do then is -lm Link a library, a math library.. Duh..


I'm glad that comp.lang.c was able to help! Now if you could only refer
this information to the about 10'000 newbie C programmers who are going
to face the same problem in the next month or so... =)

--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"And according to Occam's Toothbrush, we only need to optimise the most frequent
instructions."
- Teemu Kerola
Nov 13 '05 #2

"Ernst Berg" <Er********@sbcglobal.net> ha scritto nel messaggio
news:be**************************@posting.google.c om...
I am happy to say I solved my compile problem by reading back to
November 17 and another person asked why the math references were a
problem.

The thing to do then is -lm Link a library, a math library.. Duh..

Well that's my speed :)


i made the same question quite a long time ago:

http://www.google.com/groups?selm=7r...news2.tin.it&o
utput=gplain

i was not the first nor was i the last one i guess...

and, anyway, it IS a faq. all right!

http://www.eskimo.com/~scs/C-faq/q14.3.html

HTH

bye

max
Nov 13 '05 #3

"max101000010.01000101" <px****@SPAMinwind.it> ha scritto nel messaggio
news:oF*********************@news1.tin.it...

"Ernst Berg" <Er********@sbcglobal.net> ha scritto nel messaggio
news:be**************************@posting.google.c om...
I am happy to say I solved my compile problem by reading back to
November 17 and another person asked why the math references were a
problem.

The thing to do then is -lm Link a library, a math library.. Duh..

Well that's my speed :)
i made the same question quite a long time ago:

http://www.google.com/groups?selm=7r...news2.tin.it&o utput=gplain

i was not the first nor was i the last one i guess...

and, anyway, it IS a faq. all right!

http://www.eskimo.com/~scs/C-faq/q14.3.html


as a previous answer had already pointed out before (shame on me)
Nov 13 '05 #4
In <be**************************@posting.google.com > Er********@sbcglobal.net (Ernst Berg) writes:
I am happy to say I solved my compile problem by reading back to
November 17 and another person asked why the math references were a
problem.

The thing to do then is -lm Link a library, a math library.. Duh..

Well that's my speed :)
Well, you'd have saved some time and learned PLENTY of other useful
things, too, if you simply read the FAQ instead.
I'm sure I have more questions.


Don't forget to read the FAQ before posting them.

Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
Nov 13 '05 #5
Bruno Desthuilliers <bd***********@removeme.free.fr> wrote in message news:<3f***********************@news.free.fr>...
Ernst Berg wrote:
I am happy to say I solved my compile problem by reading back to
November 17 and another person asked why the math references were a
problem.


I'm happy to say that reading the answers to your previous post exposing
the problem (and BTW would you be kind enough to not start a new thread
about a previous one ?), or simply, as it happens that your question (in
the previous post in a previous thread) was a FAQ, by first reading the
FAQ before posting your question - the one in the previous post that is
not in the same thread as this one I'm replying to -, you would not have
needed to read back to november 17 when someone else that didn't first
read the FAQ either posted - in another thread - the same question (I
mean the question in your previous post, in a previous unrelated thread).

(er... not sure this is crystal clear, but I s/guess/hope/ you know what
I mean...).
The thing to do then is -lm Link a library, a math library.. Duh..


http://www.eskimo.com/~scs/C-faq/q14.3.html

Er... Did I say it was a FAQ ?

I'm sure I have more questions.


#include <stdfaq.h>
if (also_happen_to_be_FAQs(questions)) {
please_RTFF(); /* please... */
else {
you_re_welcome("really"); /* really */
}

Bruno


Yepperz.. Well I ment well.

And about the 10,000 new c programmers asking the same thing.. I'll try to help.
Ernst
Nov 14 '05 #6

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

Similar topics

2
by: John Drako | last post by:
I just updated my server to apache 1.3.33 and php 5.0.3 from apache 1.3.31 and php 4.3.9. It's running RedHat and MySQL 4.0.20. All the code that I created myself in PHP is working as it should...
1
by: MKoleoso | last post by:
Problem: C#- Unable to create instance of a class implementing from an interface I have: namespace someNamespace { public __gc class SomeClass1 { }
19
by: Lionel B | last post by:
Greetings, I need to read (unformatted text) from stdin up to EOF into a char buffer; of course I cannot allocate my buffer until I know how much text is available, and I do not know how much...
11
by: Robert Lacoste | last post by:
Dear Access gurus, I was using since years Access 97, now under XP SP2, without any problem. However I've just reformatted my HD (viruses...), reinstalled XP SP2, and then I am no longer able to...
11
by: Abhishek | last post by:
I have a problem transfering files using sockets from pocket pc(.net compact c#) to desktop(not using .net just mfc and sockets 2 API). The socket communication is not a issue and I am able to...
1
by: Nasser | last post by:
Hello, I am coding a mathematical model with VC++. When I debug the code, I face with no erroe, but during executing, I face with below error "Unhandled exception at 0x0040c275 in Tar.exe:...
2
by: Richard Lionheart | last post by:
Hi All, I generated a WebForm and created a Virtual Directory for it IIS. But I got an error message (shown below) saying something like my app lacked appropriate privileges. David Wang...
2
by: ShawnD | last post by:
I'm having some issues when trying to read input off of a pipe using a python script. I'm trying to process packet data from tcpdump in real-time, so it's a filter that needs to read data while the...
19
by: Mountain | last post by:
I would like opinions on whether this solution could be important and whether anyone knows if it is already solved. (I would also like to know if anyone thinks it cannot be solved.) First, we...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.