[ expat-Bugs-458398 ] make fails on Solaris 8

noreply@sourceforge.net noreply@sourceforge.net
Wed Sep 26 15:34:01 2001


Bugs item #458398, was opened at 2001-09-04 07:05
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=458398&group_id=10127

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: make fails on Solaris 8

Initial Comment:

I've tried both the Solaris cc comiler and the gcc 
compiler.  I've tried both the Solaris "as" and the 
OpenSource "as" from binutils.  I cannot get past the 
following error messages coming from the assempler:

gcc -DHAVE_CONFIG_H -DPACKAGE=\expat\ -
DVERSION=\expat_1.95.1\ -I. -I.. -g -
O2 -Wp,-MD,.deps/xmlparse.pp -c xmlparse.c  -fPIC -
DPIC -o .libs/xmlparse.lo
/var/tmp/ccTgsuTL.s: Assembler messages:
/var/tmp/ccTgsuTL.s:5026: Error: Unknown pseudo-op:  
`.subsection'
/var/tmp/ccTgsuTL.s:5050: Error: operation combines 
symbols in different segment
s
/var/tmp/ccTgsuTL.s:5276: Error: operation combines 
symbols in different segment
s
/var/tmp/ccTgsuTL.s:6885: Error: Unknown pseudo-op:  
`.subsection'
/var/tmp/ccTgsuTL.s:6933: Error: .previous without 
corresponding .section; ignor
ed
/var/tmp/ccTgsuTL.s:7201: Error: Unknown pseudo-op:  
`.subsection'
/var/tmp/ccTgsuTL.s:7251: Error: .previous without 
corresponding .section; ignor
ed
/var/tmp/ccTgsuTL.s:10443: Error: Unknown pseudo-op:  
`.subsection'
/var/tmp/ccTgsuTL.s:10503: Error: operation combines 
symbols in different segmen
ts
/var/tmp/ccTgsuTL.s:10681: Error: operation combines 
symbols in different segmen
ts
/var/tmp/ccTgsuTL.s:10871: Error: Unknown pseudo-op:  
`.subsection'
/var/tmp/ccTgsuTL.s:10905: Error: .previous without 
corresponding .section; igno
red
/var/tmp/ccTgsuTL.s:11558: Error: Unknown pseudo-op:  
`.subsection'
/var/tmp/ccTgsuTL.s:11605: Error: .previous without 
corresponding .section; igno
red
/var/tmp/ccTgsuTL.s:11997: Error: Unknown pseudo-op:  
`.subsection'
/var/tmp/ccTgsuTL.s:12033: Error: .previous without 
corresponding .section; igno
red
*** Error code 1
make: Fatal error: Command failed for target 
`xmlparse.lo'

GCC Version: 3.0.1
GNU as Version: 2.7
OS Version: 5.8

I'm not a C programmer, but I really need this library 
for the Perl XML::Parser.  Is there any chance someone 
could just compile it for me and e-mail me the 
libraries.

Thanks.
scott.grimes@divine.com

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-09-26 15:33

Message:
Logged In: NO 

Actually, I've found that the problem is related to the
version of the gcc compiler I'm using.  I was running gcc
3.0.1.  If I backup to gcc 2.95, then the library builds
successfully.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-09-14 14:23

Message:
Logged In: NO 

I am getting different make error on Solaris-8?
voyager2# make
cd lib && make
make[1]: Entering directory 
`/ext0/contentserver6.4b5/sm/expat-1.95.2/lib'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -
DPACKAGE='"expat"' -DVERSION='"expat_1.95.2"' -I. -I. -
I..  -fexceptions -Wall -Wmissing-prototypes -Wstrict-
prototypes -fexceptions -c xmlparse.c
mkdir .libs
gcc -DHAVE_CONFIG_H -DPACKAGE=\expat\ -
DVERSION=\expat_1.95.2\ -I. -I. -I.. -fexceptions -Wall -
Wmissing-prototypes -Wstrict-prototypes -fexceptions -c 
xmlparse.c  -fPIC -DPIC -o .libs/xmlparse.lo
In file included from /usr/include/string.h:18,
                 from xmlparse.c:26:
/usr/include/iso/string_iso.h:62: parse error before ';' 
token
xmlparse.c: In function `XML_GetBuffer':
xmlparse.c:1178: `punting' undeclared (first use in this 
function)
xmlparse.c:1178: (Each undeclared identifier is reported 
only once
xmlparse.c:1178: for each function it appears in.)
xmlparse.c:1178: parse error before "on"
make[1]: *** [xmlparse.lo] Error 1
make[1]: Leaving directory 
`/ext0/contentserver6.4b5/sm/expat-1.95.2/lib'
make: *** [lib] Error 2

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-09-07 09:35

Message:
Logged In: NO 

I have this same problem

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=458398&group_id=10127