Hi! I have problem with "DCOracle2" compilation under Linux7.1. I use gcc 2.96 and python2.1 and I have Oracle 8.17. gcc -fPIC -g -O2 -Wall -Wstrict-prototypes -I/var/zope/include/python2.1 -I/var/zope/include/python2.1 -DHAVE_CONFIG_H -I/home/oracle/product/8.1.7/rdbms/demo -I/home/oracle/product/8.1.7/network/public -I/home/oracle/product/8.1.7/plsql/public -I/home/oracle/product/8.1.7/rdbms/public -DORACLE8i -c ././dco2.c -o ./dco2.o In file included from /home/oracle/product/8.1.7/rdbms/demo/oci.h:1648, from ././dco2.c:109: /home/oracle/product/8.1.7/rdbms/demo/oci1.h:148: warning: function declaration isn't a prototype In file included from /home/oracle/product/8.1.7/rdbms/demo/oci.h:1673, from ././dco2.c:109: /home/oracle/product/8.1.7/rdbms/demo/ociap.h:6271: warning: function declaration isn't a prototype /home/oracle/product/8.1.7/rdbms/demo/ociap.h:8753: warning: function declaration isn't a prototype /home/oracle/product/8.1.7/rdbms/demo/ociap.h:8759: warning: function declaration isn't a prototype /tmp/ccWy24E5.s: Assembler messages: /tmp/ccWy24E5.s:1038: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccWy24E5.s:1038: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccWy24E5.s:1038: Error: Rest of line ignored. First ignored character is `,'. /tmp/ccWy24E5.s:1071: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccWy24E5.s:1071: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccWy24E5.s:1071: Error: Rest of line ignored. First ignored character is `,'. /tmp/ccWy24E5.s:1104: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccWy24E5.s:1104: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccWy24E5.s:1104: Error: Rest of line ignored. First ignored character is `,'. /tmp/ccWy24E5.s:1150: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccWy24E5.s:1150: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccWy24E5.s:1150: Error: Rest of line ignored. First ignored character is `,'. /tmp/ccWy24E5.s:1183: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccWy24E5.s:1183: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccWy24E5.s:1183: Error: Rest of line ignored. First ignored character is `,'. /tmp/ccWy24E5.s:1229: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccWy24E5.s:1229: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccWy24E5.s:1229: Error: Rest of line ignored. First ignored character is `,'. /tmp/ccWy24E5.s:1262: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccWy24E5.s:1262: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccWy24E5.s:1262: Error: Rest of line ignored. First ignored character is `,'. /tmp/ccWy24E5.s:1324: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccWy24E5.s:1324: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccWy24E5.s:1324: Error: Rest of line ignored. First ignored character is `,'. /tmp/ccWy24E5.s:1357: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccWy24E5.s:1357: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccWy24E5.s:1357: Error: Rest of line ignored. First ignored character is `,'. Could anybody help me, please? Regards Mateusz
The only thing I can guess is you have something screwy with gcc and/or gas. On Wednesday, September 11, 2002, at 05:26 AM, Mateusz wrote:
Hi! I have problem with "DCOracle2" compilation under Linux7.1. I use gcc 2.96 and python2.1 and I have Oracle 8.17.
gcc -fPIC -g -O2 -Wall -Wstrict-prototypes -I/var/zope/include/python2.1 -I/var/zope/include/python2.1 -DHAVE_CONFIG_H -I/home/oracle/product/8.1.7/rdbms/demo -I/home/oracle/product/8.1.7/network/public -I/home/oracle/product/8.1.7/plsql/public -I/home/oracle/product/8.1.7/rdbms/public -DORACLE8i -c ././dco2.c -o ./dco2.o In file included from /home/oracle/product/8.1.7/rdbms/demo/oci.h:1648, from ././dco2.c:109: ...
/tmp/ccWy24E5.s: Assembler messages: /tmp/ccWy24E5.s:1038: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccWy24E5.s:1038: Warning: Unrecognized .section attribute: want a,w,x ...
Those are errors from the assembler, and you should never get gcc to give you assembly errors. It suggests you've either got a custom gcc, or a custom assembler.
Mateusz wrote:
/tmp/ccWy24E5.s:1038: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccWy24E5.s:1038: Warning: Unrecognized .section attribute: want a,w,x /tmp/ccWy24E5.s:1038: Error: Rest of line ignored. First ignored character is `,'.
i had problems when compiling generated assembler files on AIX a long time ago. That was caused by floats like 4,87 instead of 4.87 . Simply try to set your LANG environment variable to C export LANG=C and then compile again maybe it helps maybe not regards uwe
Mateusz writes:
I have problem with "DCOracle2" compilation under Linux7.1. I use gcc 2.96 and python2.1 and I have Oracle 8.17.
gcc -fPIC -g -O2 -Wall -Wstrict-prototypes -I/var/zope/include/python2.1 ... /tmp/ccWy24E5.s: Assembler messages: /tmp/ccWy24E5.s:1038: Warning: Unrecognized .section attribute: want a,w,x Your compiler generates code the assembler does not like.
I cannot tell you why. It should not happen... Dieter
Many thanks!!! It was problem with wrong version of assembler.
participants (4)
-
Dieter Maurer -
Mateusz -
Matthew T. Kromer -
Uwe Hoffmann