Unable to compile the code on Fedora

143 views
Skip to first unread message

Lakshmipathi.G

unread,
Jun 1, 2012, 9:59:30 AM6/1/12
to orio...@googlegroups.com
Hi - 
Downloaded the src from github and trying to build it on Fedora 

Here is gcc and make versions on my machine:

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.6.2/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.6.2 20111027 (Red Hat 4.6.2-1) (GCC) 

$ make -v
GNU Make 3.82

fails with following error message :


make[2]: Entering directory `/home/laks/andromeda/src/andromeda/timer'
gcc -nostdlib -fno-builtin -nostdinc -fno-stack-protector -m32 -c -D X86 -D __INTEL -mtune=native -march=i386 -pipe -Wunused-variable -Wimplicit-function-declaration -Wreturn-type -Os   -c -o timer.o timer.c
timer.c:19:29: error: no include path in which to search for andromeda/timer.h
timer.c:20:20: error: no include path in which to search for stdlib.h
timer.c:24:2: error: unknown type name ‘boolean’
timer.c:25:2: error: unknown type name ‘boolean’
timer.c:28:2: error: unknown type name ‘time_t’
timer.c:29:2: error: unknown type name ‘time_t’
timer.c:30:2: error: unknown type name ‘time_t’
timer.c:31:2: error: unknown type name ‘time_t’
timer.c:36:2: error: unknown type name ‘time_t’
timer.c:37:2: error: unknown type name ‘time_t’
timer.c: In function ‘setupTimer’:
timer.c:45:21: error: ‘FALSE’ undeclared (first use in this function)
timer.c:45:21: note: each undeclared identifier is reported only once for each function it appears in
timer.c: In function ‘setTimerFreq’:
timer.c:58:18: error: ‘_TIME_FREQ_MIN’ undeclared (first use in this function)
timer.c:58:48: error: ‘_TIME_FREQ_MAX’ undeclared (first use in this function)
timer.c: In function ‘timerTick’:
timer.c:78:6: error: ‘scheduling’ undeclared (first use in this function)
make[2]: * [timer.o] Error 1
make[2]: Leaving directory `/home/laks/andromeda/src/andromeda/timer'
make[1]: * [ktimer.o] Error 2
make[1]: Leaving directory `/home/laks/andromeda/src/andromeda'
make: * [andromeda.o] Error 2
6:49 PM






--
----
Cheers,
Lakshmipathi.G
FOSS Programmer.
www.giis.co.in

Bart Kuivenhoven

unread,
Jun 1, 2012, 10:05:33 AM6/1/12
to orio...@googlegroups.com
Maybe a critical question,

Which version of Fedora, (almost forgot to ask).

Also we already established some variables in the Makefiles aren't used
in calling gcc.

Also we found out (through issuing some commands manually) that this
issue exists in the Makefiles that use generated parts, written by
Michel Megens.

--
Best regards; Met vriendelijke groet;
Bart Kuivenhoven.

Lead developer on the Andromeda project.
> make[2]: *** [timer.o] Error 1
> make[2]: Leaving directory `/home/laks/andromeda/src/andromeda/timer'
> make[1]: *** [ktimer.o] Error 2
> make[1]: Leaving directory `/home/laks/andromeda/src/andromeda'
> make: *** [andromeda.o] Error 2

Lakshmipathi.G

unread,
Jun 1, 2012, 10:08:03 AM6/1/12
to orio...@googlegroups.com

Which version of Fedora, (almost forgot to ask).

Its Fedora 16  

Bart Kuivenhoven

unread,
Jun 3, 2012, 6:09:45 AM6/3/12
to orio...@googlegroups.com
This bug has been reproduced by Toon Schoenmakers on Fedora 17. I kindly
suggest you file this bug at http://orion-os.eu/mantis.

Also I will be downloading Fedora 17 today to try to reproduce this bug.

--
Best regards; Met vriendelijke groet;
Bart Kuivenhoven.

Lead developer on the Andromeda project.



Bart Kuivenhoven

unread,
Jun 3, 2012, 1:31:09 PM6/3/12
to orio...@googlegroups.com
So I installed beefy miracle in a virtual machine and tried to fix it
all. The fix should be in the master branch. Could anybody verify this?

--
Best regards; Met vriendelijke groet;
Bart Kuivenhoven.

Lead developer on the Andromeda project.



Reply all
Reply to author
Forward
0 new messages