#4 Error during installation...

open
nobody
5
2009-05-25
2009-05-25
Anonymous
No

After the configure script I'll try to compile all with 'gmake' command.
The first problem is the
pragma Inline(To_Ada)
in dbi/odbc/gnu-db-sqlcli.ads
which I'have comment in order of the patch that you have release.
The second problem (after the bypass on Inlinte(To_Ada)) is the use of an access type oto a function/procedure...

(I'm using Gnat 2006 with gcc 3.4.6 get from Adacore on Linux Fedora Core 8)

[root@exmailserver gnade-src-1.5.3b]# gmake
gmake core-all >>build.log
gnatmake: "/inst_tar/gnade-src-1.5.3b/linux-gnu-i686-libexec/prep" up to date.
gnatmake: "/inst_tar/gnade-src-1.5.3b/linux-gnu-i686-libexec/cfgget" up to date.
gnatmake: "/inst_tar/gnade-src-1.5.3b/linux-gnu-i686-libexec/cfgset" up to date.
gnatmake: "/inst_tar/gnade-src-1.5.3b/linux-gnu-i686-libexec/prep" up to date.
gnatmake: "/inst_tar/gnade-src-1.5.3b/linux-gnu-i686-libexec/cfgget" up to date.
gnatmake: "/inst_tar/gnade-src-1.5.3b/linux-gnu-i686-libexec/cfgset" up to date.
gnatmake: "/inst_tar/gnade-src-1.5.3b/linux-gnu-i686-libexec/prep" up to date.
gnatmake: "/inst_tar/gnade-src-1.5.3b/linux-gnu-i686-libexec/cfgget" up to date.
gnatmake: "/inst_tar/gnade-src-1.5.3b/linux-gnu-i686-libexec/cfgset" up to date.
completed 1 out of 6 (16%)...
completed 2 out of 6 (33%)...
completed 3 out of 6 (50%)...
completed 4 out of 6 (66%)...
completed 5 out of 6 (83%)...
completed 6 out of 6 (100%)...
gnatmake: objects up to date.
gmake odbc-all >>build.log
gcc -c -g -gnatQ -I/inst_tar/gnade-src-1.5.3b/linux-gnu-i686-include -g -O3 -gnatn -gnatf -gnatwa -gnatwL -gnaty3abefhiklM120prtn -I- -gnatA /inst_tar/gnade-src-1.5.3b/dbi/odbc/gnu-db-sqlcli-desc.adb
gnu-db-sqlcli-desc.adb:224:29: warning: formal parameter "DescriptorHandle" is not referenced
gnu-db-sqlcli-desc.adb:225:29: warning: formal parameter "RecNumber" is not referenced
gnu-db-sqlcli-desc.adb:445:41: (style) space required
gnu-db-sqlcli-desc.adb:467:31: warning: formal parameter "StatementHandle" is not referenced
gnu-db-sqlcli-desc.adb:468:31: warning: formal parameter "ColumnNumber" is not referenced
gnu-db-sqlcli-desc.adb:469:31: warning: formal parameter "FieldIdentifier" is not referenced
gnu-db-sqlcli-dispatch-a_integer.adb:63:40: access type must not be outside generic unit
gnu-db-sqlcli-dispatch-a_integer.adb:64:40: access type must not be outside generic unit
gnatmake: "/inst_tar/gnade-src-1.5.3b/dbi/odbc/gnu-db-sqlcli-desc.adb" compilation error
gmake[3]: *** [all] Error 4
gmake[2]: *** [odbc] Error 2
gmake[1]: *** [odbc-all] Error 2
gmake: *** [all] Error 2
[root@exmailserver gnade-src-1.5.3b]#

Thanks in advance

Discussion