[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ncurses-bug
Subject:    Error at compilation of ncurses 5.8 in windows 32bits ...
From:       daniel silva ferreira bruno <dsfbstudent () yahoo ! com ! br>
Date:       2012-04-08 15:35:52
Message-ID: 1333899352.43043.YahooMailNeo () web161201 ! mail ! bf1 ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

I found an error at the compilation of ncurses 5.8 library in mingw&msys, ms windows \
32bits. I found it at the compilation of Ada Library. 

It occurs at the compilation process in the stage:


gcc -gnatpg -c -I.\ -I. -I../src -I./../src -O3 -gnatpn -I. -I- C:/MinGW/lib/gcc
/mingw32/4.6.2/adainclude/s-imgllu.adb
gcc -gnatpg -c -I.\ -I. -I../src -I./../src -O3 -gnatpn -I. -I- C:/MinGW/lib/gcc
/mingw32/4.6.2/adainclude/s-imguns.adb
gcc -gnatpg -c -I.\ -I. -I../src -I./../src -O3 -gnatpn -I. -I- C:/MinGW/lib/gcc
/mingw32/4.6.2/adainclude/s-valllu.adb
gcc -gnatpg -c -I.\ -I. -I../src -I./../src -O3 -gnatpn -I. -I- C:/MinGW/lib/gcc
/mingw32/4.6.2/adainclude/s-powtab.ads
gcc -gnatpg -c -I.\ -I. -I../src -I./../src -O3 -gnatpn -I. -I- C:/MinGW/lib/gcc
/mingw32/4.6.2/adainclude/s-wchjis.adb
gcc -gnatpg -c -I.\ -I. -I../src -I./../src -O3 -gnatpn -I. -I- C:/MinGW/lib/gcc
/mingw32/4.6.2/adainclude/a-finali.adb
gcc -gnatpg -c -I.\ -I. -I../src -I./../src -O3 -gnatpn -I. -I- C:/MinGW/lib/gcc
/mingw32/4.6.2/adainclude/s-crtrun.ads
gcc -gnatpg -c -I.\ -I. -I../src -I./../src -O3 -gnatpn -I. -I- C:/MinGW/lib/gcc
/mingw32/4.6.2/adainclude/s-restri.adb
gcc -gnatpg -c -I.\ -I. -I../src -I./../src -O3 -gnatpn -I. -I- C:/MinGW/lib/gcc
/mingw32/4.6.2/adainclude/s-win32.ads
gcc -gnatpg -c -I.\ -I. -I../src -I./../src -O3 -gnatpn -I. -I- C:/MinGW/lib/gcc
/mingw32/4.6.2/adainclude/s-winext.ads
gnatbind -aO. -aO../src -aO./../src -x tour.ali
gnatlink tour.ali -L../../lib -lform -lmenu -lpanel -lncurses -L../lib -lAdaCurs
es

Here, it appears many lines of errors.

Furthermore:

collect2: ld returned 1 exit status
gnatlink: error when calling C:\MinGW\bin\gcc.exe
gnatmake: *** link failed.
make[2]: *** [tour.exe] Error 4
make[2]: Leaving directory `/d/ncurses-5.8/Ada95/samples'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/d/ncurses-5.8/Ada95'
make: *** [all] Error 2


End of description of the error.

I suppose that this error is related with the configuration of Ada compiler for \
ncurses 5.8 library. I think it because I found a warning at the compilation process \
of ncurses 5.0 library.

It is at "configure process" of  ncurses 5.0 library, in mingw&msys, ms windows \
32bits and it occurs at:


checking if GNAT works... yes
configure: warning: Ada95 applications will not link properly with static libraries


Furthermore, the "configure process" does not append any rules for normal and debug \
models for all "Ada95 make process".


Best Regards.


[Attachment #5 (text/html)]

<html><body><div style="color:#000; background-color:#fff; font-family:times new \
roman, new york, times, serif;font-size:12pt"><div>Hi,</div><div><br></div><div>I \
found an error at the compilation of ncurses 5.8 library in mingw&amp;msys, ms \
windows 32bits. I found it at the compilation of Ada \
Library.&nbsp;</div><div><br></div><div>It occurs at the compilation process in the \
stage:<br></div><div><br></div><div>gcc -gnatpg -c -I.\ -I. -I../src -I./../src -O3 \
-gnatpn -I. -I- C:/MinGW/lib/gcc<br>/mingw32/4.6.2/adainclude/s-imgllu.adb<br>gcc \
-gnatpg -c -I.\ -I. -I../src -I./../src -O3 -gnatpn -I. -I- \
C:/MinGW/lib/gcc<br>/mingw32/4.6.2/adainclude/s-imguns.adb<br>gcc -gnatpg -c -I.\ -I. \
-I../src -I./../src -O3 -gnatpn -I. -I- \
C:/MinGW/lib/gcc<br>/mingw32/4.6.2/adainclude/s-valllu.adb<br>gcc -gnatpg -c -I.\ -I. \
-I../src -I./../src -O3 -gnatpn -I. -I- \
C:/MinGW/lib/gcc<br>/mingw32/4.6.2/adainclude/s-powtab.ads<br>gcc -gnatpg -c -I.\ -I. \
                -I../src -I./../src -O3
 -gnatpn -I. -I- C:/MinGW/lib/gcc<br>/mingw32/4.6.2/adainclude/s-wchjis.adb<br>gcc \
-gnatpg -c -I.\ -I. -I../src -I./../src -O3 -gnatpn -I. -I- \
C:/MinGW/lib/gcc<br>/mingw32/4.6.2/adainclude/a-finali.adb<br>gcc -gnatpg -c -I.\ -I. \
-I../src -I./../src -O3 -gnatpn -I. -I- \
C:/MinGW/lib/gcc<br>/mingw32/4.6.2/adainclude/s-crtrun.ads<br>gcc -gnatpg -c -I.\ -I. \
-I../src -I./../src -O3 -gnatpn -I. -I- \
C:/MinGW/lib/gcc<br>/mingw32/4.6.2/adainclude/s-restri.adb<br>gcc -gnatpg -c -I.\ -I. \
-I../src -I./../src -O3 -gnatpn -I. -I- \
C:/MinGW/lib/gcc<br>/mingw32/4.6.2/adainclude/s-win32.ads<br>gcc -gnatpg -c -I.\ -I. \
-I../src -I./../src -O3 -gnatpn -I. -I- \
C:/MinGW/lib/gcc<br>/mingw32/4.6.2/adainclude/s-winext.ads<br>gnatbind -aO. -aO../src \
-aO./../src -x tour.ali<br>gnatlink tour.ali -L../../lib -lform -lmenu -lpanel \
-lncurses -L../lib -lAdaCurs<br>es</div><div><br></div><div>Here, it appears many \
lines of  errors.<br></div><div>Furthermore:</div><div><br></div><div>collect2: ld \
returned 1 exit status<br>gnatlink: error when calling \
C:\MinGW\bin\gcc.exe<br>gnatmake: *** link failed.<br>make[2]: *** [tour.exe] Error \
4<br>make[2]: Leaving directory `/d/ncurses-5.8/Ada95/samples'<br>make[1]: *** [all] \
Error 2<br>make[1]: Leaving directory `/d/ncurses-5.8/Ada95'<br>make: *** [all] Error \
2<br></div><div><br></div><div>End of description of the \
error.</div><div><br></div><div>I suppose that this error is related with the \
configuration of Ada compiler for ncurses 5.8 library. I think it because I found a \
warning at the compilation process of ncurses 5.0 \
library.</div><div><br></div><div>It is at "configure process" of&nbsp; ncurses 5.0 \
library, in mingw&amp;msys, ms windows 32bits and it occurs \
at:<br></div><div><br></div><div>checking if GNAT works... yes</div><div>configure: \
warning: Ada95 applications will not link properly with static  \
libraries<br></div><div><br></div><div>Furthermore, the "configure process" does not \
append any rules for normal and debug models for all "Ada95 make \
process".<br></div><div><br></div><div>Best \
Regards.<br></div><div><br></div><div><br></div></div></body></html>



_______________________________________________
Bug-ncurses mailing list
Bug-ncurses@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-ncurses


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic