Hi everybody,
I'm trying to compile a program that uses log,exp,sen,and cos functions from
MATH.H, but I get "/tmp/cca020491.o(.text+0x424): undefined reference to `sen'"
and the same for the other functions.
What can i do?
Pablo.
Hi everybody,
I'm trying to compile a program that uses log,exp,sen,and cos functions from
MATH.H, but I get "/tmp/cca020491.o(.text+0x424): undefined reference to `sen'"
and the same for the other functions.
What can i do?
Pablo.
> Hi everybody,
> I'm trying to compile a program that uses log,exp,sen,and cos functions from
> MATH.H, but I get "/tmp/cca020491.o(.text+0x424): undefined reference to `sen'"
> and the same for the other functions.
> What can i do?
--
http://www.termo.unit.no/mtf/people/janaf/ Phone: +47 73596890
Research Engineer, SINTEF Applied Thermodynamics and Fluid Dynamics
- 950102 (jaf): Linuxers do it with pleasure -
|Hi everybody,
|I'm trying to compile a program that uses log,exp,sen,and cos functions from
|MATH.H, but I get "/tmp/cca020491.o(.text+0x424): undefined reference to `sen'"
|and the same for the other functions.
|What can i do?
There's an excellent "GCC-HOWTO", that you should read, by Daniel Barlow,
here's the URL:
http://sunsite.unc.edu/pub/Linux/docs/HOWTO/GCC-HOWTO
--
) Hi everybody,
) I'm trying to compile a program that uses log,exp,sen,and cos functions from
) MATH.H, but I get "/tmp/cca020491.o(.text+0x424): undefined reference to `sen'"
) and the same for the other functions.
) What can i do?
Try using 'sin' instead of 'sen'. There's no transcendental math function
named 'sen'. Also, make sure that you link against the math library (-lm, see
the C or GCC FAQ).
--
James McIninch
School of Biology, Georgia Tech, Atlanta, GA 30332-0230
>> Hi everybody,
>> I'm trying to compile a program that uses log,exp,sen,and cos functions from
>> MATH.H, but I get "/tmp/cca020491.o(.text+0x424): undefined reference to `sen'"
>> and the same for the other functions.
>> What can i do?
>cc -o myprog myprog.o -lm
> ^^^
Link with the math library. "-lm"Quote:Pablo Yaggi writes:
> I'm trying to compile a program that uses log,exp,sen,and cos functions from
> What can i do?
Please don't pollute comp.os.linux.development.system
--
. _\\__[oo from | Phones: +44 121 471 3789 (home)
. l___\\ /~~) /~~[ / [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
# ll l\\ ~~~~ ~ ~ ~ ~ | http://wcl-l.bham.ac.uk/~bam/
1. I need help with my "mount" infomation Please help, ASAP
A small / BIG problem can ya please help..... with my "mount" setup....
I am using S.u.S.E. Linux 5.3 with KDE... and I like it... But I can't
mount
my SCSI CD-ROM.... My controller is supported and I did use it to
Install linux
but now I can't mount it. In "YaST" for the mount points I can see it
but it is grayed out ?
I treed mounting it form the X Term ( I am ROOT user) with,
"mount -t iso9660 -r /dev/cdrom /mnt/cdrom" and I get Not a valid block
device ?
I also did edit my "fstab" file an the line for my CD-ROM is there....
"/dev/scd0 /cdrom iso9660 ro,noauto,user 0 0"
so what is going on, do I need to boot with a SCSI kernel, I am booting
with
a IDED kernel because I do not have any SCSI hard drives.... also I
can't mount my darn
floppy drive as well ??? what is going on ???
Rich - please E-mail if you can....
2. (no subject)
3. HELP with Mosaic needed ASAP, PLEASE
5. Apache setup help needed A.S.A.P. please
6. Figureout which memorymodule from core file?
9. Redhat 5.1 mount error with vfat & Western Digital 8.4 GB Drive: PLEASE HELP ASAP
10. Problems installing Mandrake 7.1, Help ASAP please.
11. network help - asap please
12. Help with DSN Setup ASAP Please!
13. APACHE NEWBIE PLEASE HELP ASAP