Skip navigation.
Home
Now Shipping Version 7.0

HELP! Math.h broken!


Posts: 4

Holy #$#@$@$@!!

My math.h file is broken! I can't compile foo or bar!
Math.h has no floor, no ceil, cos, acos, cosh, ...
No math functions! Nada! Zip! Zilch!
Jawdropping! What's the deal there!? What is wrong with th glibc package that would cause this?

Jon Du Quesne's picture

More Info Needed

What version of Mepis, have you done any updates/upgrades, what additional installs of packages have you done, did it work before and now not, etc.?

Jon

In /dev/null, no one can hear you type...

More info

No, it is a new install.

I downloaded 6.5, burned it, installed it, apt-get update
apt-get upgrade.

Then copied the avasys tar over nad rpm over.

Wait, I added alien to the mix, and tried to install the Avasys rpm, but it failed.

I then tried to compile the Avasys. It couldn't find the cups-config shell script which isn't included in the Mepis/Ubuntu package. So I downloaded Cups from the source, compiled and installed it (thus breaking my nice new package mgt for cups and everything downstream).

Then, I couldn't compile the Avasys Epson printer drivers.

I've opened the math.h file and apparently now the funcions are in bits/mathcalls.h. So I guess that math.h isn't broken.

So, for some reason the make is failing to include the mathcalls.h file.

Everything looks sane. the make files are pointing to /usr/include and the includes all look fine. I don't know where to go now, except to get the libc source and stuff the float into the code just to get it past this bump.

Never mind

I always forget that debian doesn't come with a sane building environment. I'm now in the process of installing all the stuff that is necessary in order to be able to do development in. I'll never understand why the coders at debian ever built such a broken environment. I'm almost tempted to go back to LFS.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.