[squeak-dev] Re: Problems building squeak VM (Fedora core 11)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Problems building squeak VM (Fedora core 11)

CdAB63
Hello,

First part of problem solved by changing order of includes as follows:

In file debug.c

#include<stdio.h>
#include<stdarg.h>
#include<string.h>
#include<stdlib.h>
#include "debug.h"
(debug.h comes after stdio.h)

But then there are other problems ahead


Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Problems building squeak VM (Fedora core 11)

CdAB63
Problem is Fedora rel 11 compiler is botched.
Made a copy of /usr/include/stdio.h in $ROOT/platforms/unix/vm/stdio.h
Edited this file removing dprintf (starting line 399)
Changed:
     #include <stdio.h>
to:
     #include "stdio.h"
whenever had problem.

in file debug.c included line #include <stdlib.h>

Dirty work. But fix things... :(