Hello,
When i removed the *.gpi files in the directory, i get compilation errors in GPC.pas.what do i do?Should i link with some library file to compile GPC.pas itself?
Regards, Anuradha
frank@g-n-u.de wrote:
Anuradha wrote:
Can somebody tell me what's wrong. I got the following:
[root@stwpgt bin]# /root/usr/bin/gpc -DNODLL --extended-syntax --automake
-Dwin32 Jmxsad.pas
/root/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/units/strings.pas: In function `Strpas':
/root/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/units/strings.pas:72: record, schema or object has no field named `schema$'
gpc: Internal compiler error: program gpc1 got fatal signal 11
gpc1: /root/usr/bin/gpc exited with status 1
Do you happen to have any GPI files compiled with older GPC versions? This might cause such an error. Try removing all GPI files (always after changing the GPC version) and rebuilding...
Frank
-- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html
-- S.Anuradha Generic Data Tools, Alcatel Chennai. Alcanet : 2-757-7123
[root@stwpgt bin]# /root/usr/bin/gpc -DNODLL --extended-syntax --automake -Dwin32 Jmxsad.pas gpc.pas:71: pointer domain type undefined gpc.pas:71: parse error before `Asmname' gpc.pas:71: comma missing after identifier `Processid' gpc.pas:71: parse error before `;' gpc.pas:75: comma missing after identifier `Processid' gpc.pas:75: pointer domain type undefined gpc.pas:75: redefinition of `ptr_to_Int64' gpc.pas:71: `ptr_to_Int64' previously declared here gpc.pas:75: parse error before `Asmname' gpc.pas:75: comma missing after identifier `Processid' gpc.pas:75: parse error before `;' gpc.pas:79: comma missing after identifier `Processid' gpc.pas:79: pointer domain type undefined gpc.pas:79: redefinition of `ptr_to_Int64' gpc.pas:75: `ptr_to_Int64' previously declared here gpc.pas:79: parse error before `Asmname' gpc.pas:79: comma missing after identifier `Processid' gpc.pas:79: parse error before `;' gpc.pas:81: comma missing after identifier `Processid' gpc.pas:81: parse error before `(' gpc.pas:81: comma missing after identifier `Processid' gpc.pas:81: parse error before `)' gpc.pas:82: type name expected, identifier `Integer' given gpc.pas:82: warning: type defaults to `int' in declaration of `N' gpc.pas:83: type name expected, identifier `Integer' given gpc.pas:83: warning: type defaults to `int' in declaration of `N' gpc.pas:84: type name expected, identifier `Integer' given gpc.pas:84: warning: type defaults to `int' in declaration of `N' gpc.pas:85: type name expected, identifier `Integer' given gpc.pas:85: warning: type defaults to `int' in declaration of `N' gpc.pas:86: type name expected, identifier `Integer' given gpc.pas:86: warning: type defaults to `int' in declaration of `N' gpc.pas:87: type name expected, identifier `Integer' given gpc.pas:87: warning: type defaults to `int' in declaration of `N' gpc.pas:92: type name expected, identifier `Integer' given gpc.pas:92: warning: type defaults to `int' in declaration of `N' gpc.pas:93: type name expected, identifier `Integer' given gpc.pas:93: warning: type defaults to `int' in declaration of `N' gpc.pas:126: type name expected, identifier `Integer' given gpc.pas:127: warning: type defaults to `int' in declaration of `Execute' gpc.pas:127: type name expected, identifier `Integer' given gpc.pas:130: warning: type defaults to `int' in declaration of `Executenote rminal' gpc.pas:130: type name expected, identifier `Integer' given gpc.pas:130: warning: type defaults to `int' in declaration of `Status' gpc.pas:131: type name expected, identifier `Integer' given gpc.pas:131: warning: type defaults to `int' in declaration of `Status' gpc.pas:131: type name expected, identifier `Integer' given gpc.pas:132: warning: type defaults to `int' in declaration of `Statusexitc ode' gpc.pas:132: type name expected, identifier `Integer' given gpc.pas:132: warning: type defaults to `int' in declaration of `Status' gpc.pas:133: type name expected, identifier `Integer' given gpc.pas:133: warning: type defaults to `int' in declaration of `Status' gpc.pas:133: type name expected, identifier `Integer' given gpc.pas:134: warning: type defaults to `int' in declaration of `Statusterms ignal' gpc.pas:134: type name expected, identifier `Integer' given gpc.pas:134: warning: type defaults to `int' in declaration of `Status' gpc.pas:135: type name expected, identifier `Integer' given gpc.pas:135: warning: type defaults to `int' in declaration of `Status' gpc.pas:135: type name expected, identifier `Integer' given gpc.pas:146: warning: type defaults to `int' in declaration of `Statusstops ignal' gpc.pas:146: type name expected, identifier `Pointer' given gpc.pas:147: warning: type defaults to `int' in declaration of `Cgetmem' gpc.pas:147: type name expected, identifier `Pointer' given gpc.pas:147: warning: type defaults to `int' in declaration of `Apointer' gpc.pas:148: type name expected, identifier `Pointer' given gpc.pas:148: warning: type defaults to `int' in declaration of `Apointer' gpc.pas:148: type name expected, identifier `Pointer' given gpc.pas:150: warning: type defaults to `int' in declaration of `Crealloc' gpc.pas:159: pointer domain type undefined gpc.pas:159: parse error before `Asmname'