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 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
"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
"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)
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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
{
}
|
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...
|
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...
|
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...
|
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:...
|
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...
|
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...
|
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...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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,...
|
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...
|
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...
| |