[Zope] Problem with DCOracle2

Matthew T. Kromer matt@zope.com
Wed, 11 Sep 2002 07:58:31 -0400


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.