[Zope-DB] Problems compiling DCOracle2 under Redhat8

Matthew T. Kromer matt@zope.com
Mon, 20 Jan 2003 11:26:06 -0500


My first guess would be to try to compile using an older version of gcc;=20
perhaps 3.2 changed something.  The error messages your'e getting are=20
when the assembler is trying to assemble the gcc output -- but I can't=20
say what's wrong other than there appears to be a gcc/as mismatch.


Andreas Reuleaux wrote:

>Hallo,
>
>what formerly (Redhat 7.1) used to work for, does not any more with Redh=
at8:
>
>compiling DCOracle2, i.e.
>
>I have my $ORACLE_HOME set to where /software/oracle (where my oracle
>lives, didn't change)
>
>gcc is version 3.2 now, python is 2.2, python-devel-2.2.1-17 installed
>
>after unpacking DCOracle2 and doing a "make" in the top level dir
>I get lots of assembler warnings/errors (output cut)
>...=20
>/tmp/ccNmIRoO.s:18769: Error: Rest of line ignored. First ignored
>character is `@'.
>/tmp/ccNmIRoO.s:18770: Error: Rest of line ignored. First ignored
>character is `@'.
>/tmp/ccNmIRoO.s:18771: Error: Rest of line ignored. First ignored
>character is `@'.
>/tmp/ccNmIRoO.s:64504: Warning: Unrecognized .section attribute: want
>a,w,x
>/tmp/ccNmIRoO.s:64504: Warning: Unrecognized .section attribute: want
>a,w,x
>/tmp/ccNmIRoO.s:64504: Error: Rest of line ignored. First ignored
>character is `,'.
>make[1]: *** [dco2.o] Fehler 1
>make[1]: Verlassen des Verzeichnisses Verzeichnis
>=C2=BB/home4/reuleaux/pkgs/DCOracle2/src=C2=AB
>                ---------------------------------------
>There were errors building the dco2 module.
>  ...
>
>When I step into src, I can see make (=3Dmake all=3Dmake static
>sharedmods)
>
>The error message of just typing make static is a bit shorter:
>
>reuleaux@nix(~/pkgs/DCOracle2/src)$ make static
>gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/include/python2.2=20
>-I/usr/include/python2.2 -DHAVE_CONFIG_H -c config.c
>/tmp/ccxtDL9C.s: Assembler messages:
>/tmp/ccxtDL9C.s:51: Warning: Unrecognized .section attribute: want
>a,w,x
>/tmp/ccxtDL9C.s:51: Warning: Unrecognized .section attribute: want
>a,w,x
>/tmp/ccxtDL9C.s:51: Error: Rest of line ignored. First ignored
>character is `,'.
>/tmp/ccxtDL9C.s:8529: Warning: Unrecognized .section attribute: want
>a,w,x
>/tmp/ccxtDL9C.s:8529: Warning: Unrecognized .section attribute: want
>a,w,x
>/tmp/ccxtDL9C.s:8529: Error: Rest of line ignored. First ignored
>character is `,'.
>make: *** [config.o] Fehler 1
>reuleaux@nix(~/pkgs/DCOracle2/src)$
>
>Any ideas, anyone?
>
>Thanks in advance
>
>Andreas
>
>_______________________________________________
>Zope-DB mailing list
>Zope-DB@zope.org
>http://lists.zope.org/mailman/listinfo/zope-db
> =20
>