<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi all,<br>
<br>
I am trying to run Barrelfish on the qemu emulator.<br>
I have managed to successfully compile Barrelfish (which had its own unique problems), but now I am facing the problem of compiling it for running on the emulator using make sim.<br>
<br>
Actually, the first problem I ran into is that it failed to link with the math library properly. This was because the omission of the -lm switch to the compiler. I had to hack the make file manually to make that work.<br>
<br>
But now I facing more linker errors which I cannot seem to find any information on how to solve, so I thought I'd ask if anyone else have any ideas.<br>
The errors are these:<br>
<br>
<font color="black" face="Tahoma" size="2"><span style="font-size:10pt;" dir="ltr">/lib/crtend.o ./x86_64/lib/libcollections.a
<br>
../x86_64/lib/libnewlib.a(svfscanf.o): In function `__ssvfscanf_r':<br>
Barrelfish/build/../source/lib/newlib/newlib/libc/stdio/svfscanf.c:1581: undefined reference to `__fpclassifyd'<br>
../x86_64/lib/libnewlib.a(strtod.o): In function `strtof':<br>
Barrelfish/build/../source/lib/newlib/newlib/libc/stdlib/strtod.c:1190: undefined reference to `__fpclassifyd'<br>
collect2: ld returned 1 exit status<br>
make: *** [x86_64/sbin/ahci_bench] Error 1</span></font><br>
<br>
Any ideas?<br>
</div>
</body>
</html>