build problems
PICCA Frédéric-Emmanuel
frederic-emmanuel.picca at synchrotron-soleil.fr
Fri Jan 7 21:09:01 UTC 2011
Hello since the last commit [1]
make.lip was commited as a normal file and no more a link to make.lip.sample.
So I removed this link part of the makefile.
now here is the next problem
picca at mordor:~/Projets/lisaac/compiler$ make all
gcc -O2 bin/lisaac.c -o bin/lisaac -lm -fomit-frame-pointer
cd bin && ./lisaac ../src/make.lip -shorter -boost
Depending pass: ..--WARNING----------
Sorry, not yet implemented.
Line 106 column 84 in TYPE(.../src/type/type.li):
- name:STRING_CONSTANT [ { prototype.name != NULL } -? "Prototype name is NULL"; ]<- prototype.name;
^
..--WARNING----------
Local slot `strtmp' not used.
Line 85 column 12 in TYPE_FULL(.../src/type/type_full.li):
( + strtmp : STRING;
^
.............. (18)
Executing pass: *...............*.. (19)
=> 11 second(s).
=> 2 warning(s).
run `gcc /home/picca/Projets/lisaac/compiler/lib/internal/os_support/unix/video/shorter.c -o /home/picca/Projets/lisaac/compiler/lib/internal/os_support/unix/video/shorter -O2 -fomit-frame-pointer -U_FORTIFY_SOURCE -lm'
/home/picca/Projets/lisaac/compiler/lib/internal/os_support/unix/video/shorter.c:16:18: error: path.h: Aucun fichier ou dossier de ce type
/home/picca/Projets/lisaac/compiler/lib/internal/os_support/unix/video/shorter.c: In function li__0OR:
/home/picca/Projets/lisaac/compiler/lib/internal/os_support/unix/video/shorter.c:8585: error: li__QPR undeclared (first use in this function)
/home/picca/Projets/lisaac/compiler/lib/internal/os_support/unix/video/shorter.c:8585: error: (Each undeclared identifier is reported only once
/home/picca/Projets/lisaac/compiler/lib/internal/os_support/unix/video/shorter.c:8585: error: for each function it appears in.)
/home/picca/Projets/lisaac/compiler/lib/internal/os_support/unix/video/shorter.c: In function li__5LD:
/home/picca/Projets/lisaac/compiler/lib/internal/os_support/unix/video/shorter.c:12968: error: LISAAC_DIRECTORY undeclared (first use in this function)
FAILURE (256)
make: *** [bin/shorter] Erreur 1
so it seems that gcc do not find the path.h when compiling the shorter.
the make.lip should maybe add a way to add -Ipath flags to the build.
then the next error remains but I do not know about them...
See you
Frederic
[1] http://git.debian.org/?p=lisaac/compiler.git;a=commitdiff;h=48574ba1a264b99863aab7f0fdfb3a55c8a27285
More information about the Lisaac-devel
mailing list