[xsd-users] Compilation Error of Generated Files (FpML)

Cuneyt.Karadag at akbank.com Cuneyt.Karadag at akbank.com
Mon Apr 11 06:29:58 EDT 2011


Hi Boris,

I am sending my Makefile as attached. When I try to compile the sources related with FpML .cc files I am getting the errors below.



sumbo at hazdev1% make

/opt/SUNWspro/bin/CC -D_RWCONFIG=12d -features=no%localfor -features=no%conststrings -library=no%rwtools7 -erroff=nonewline -I. -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include  -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/suthreads -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/sutools  -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/ie -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include  -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/suthreads  -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/sutools  -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/ie  -I/opt/SUNWspro/include/CC -I/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xml  -I/export/home/misys/SUMMIT_V531/summit/CORE_AND_PATCHES_V5_3_1/include/xml  -I/export/home/misys/SUMMIT_V531/summittools/xercesc-2_8_0-icu3.8.1-Sol10-Studio11/include  -I/export/home/misys/SUMMIT_V531/summittools/xercesc-2_8_0-icu3.8.1-Sol10-Studio11/include/xercesc   -g  -DSU_FEAT005  -DSU_TTRS -DSU_MKV  -DSU_SOLARIS_8 -DRELEASE5 -DDEBUG   -DRW_NO_OVERLOAD_SCHAR -DSUMMITBASE=\"V51\"  -c -KPIC fpml-main-4-7.cc

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/dom/auto-ptr.hxx", line 4: Error: "," expected instead of "namespace".

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/dom/auto-ptr.hxx", line 16: Error: A declaration was expected instead of "}".

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/dom/auto-ptr.hxx", line 22: Error: No primary specialization for partial specialization remove_c.

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/dom/auto-ptr.hxx", line 145: Error: A declaration was expected instead of "}".

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/dom/auto-ptr.hxx", line 146: Error: A declaration was expected instead of "}".

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/dom/auto-ptr.hxx", line 147: Error: A declaration was expected instead of "}".

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/dom/auto-ptr.hxx", line 148: Error: A declaration was expected instead of "}".

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/tree/elements.hxx", line 760: Error: dom is not a member of xsd::cxx::xml.

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/tree/elements.hxx", line 676: Error: dom is not a member of xsd::cxx::xml.

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/tree/elements.hxx", line 677: Error: dom is not a member of xsd::cxx::xml.

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.hxx", line 4: Error: Multiple declaration for _HXX.

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.hxx", line 4: Error: "," expected instead of "namespace".

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.hxx", line 71: Error: A declaration was expected instead of "}".

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.hxx", line 72: Error: A declaration was expected instead of "}".

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.hxx", line 73: Error: A declaration was expected instead of "}".

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.hxx", line 74: Error: A declaration was expected instead of "}".

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: "inline" is not allowed here.

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: A class template name was expected instead of xml_prefix.

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: A declaration was expected instead of "<".

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: A declaration does not specify a tag or an identifier.

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: Use ";" to terminate declarations.

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.ixx", line 22: Error: A declaration was expected instead of ">".

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.ixx", line 23: Error: There must be an identifier to declare.

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/xml/bits/literals.ixx", line 127: Error: A declaration was expected instead of "}".

"/export/home/misys/SUMMIT_V531/summit/sumbo_V5_3_1/include/xsd/cxx/tree/parsing.txx", line 216: Error: first is not defined.

Compilation aborted, too many Error messages.

*** Error code 1

make: Fatal error: Command failed for target `fpml-main-4-7.o'

sumbo at hazdev1%





Cuneyt







-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com]
Sent: Monday, April 11, 2011 12:21 PM
To: Cüneyt Karadağ (BT Uygulama Geliştirme Bölümü)
Cc: xsd-users at codesynthesis.com; Şenel Hiçyılmaz (BT Uygulama Geliştirme Bölümü)
Subject: Re: [xsd-users] Compilation Error of Generated Files (FpML)



Hi Cuneyt,



Cuneyt.Karadag at akbank.com <Cuneyt.Karadag at akbank.com> writes:



> We are using Sun Studio 12 C++ Compiler.



Hm, we have tested this version and it worked fine. Can you show me the

compiler command line that caused the error?



Boris







________________________________
[http://www.akbank.com/images/disclaimer.jpg]<http://www.akbank.com/disclaimer.asp>

Bu e-posta ve muhtemel eklerinde verilen bilgiler kişiye özel ve gizli olup, yalnızca mesajda belirlenen alıcı ile ilgilidir. Size yanlışlıkla ulaşmışsa lütfen göndericiye bilgi veriniz, mesajı siliniz ve içeriğini başka bir kişiye açıklamayınız, herhangi bir ortama kopyalamayınız. Bu mesaj aksi sözleşme ile belirtilmedikçe herhangi bir finansal işlem teklifi, alımı, satımı veya herhangi bir havalenin teyidi gibi bankacılık işlemi yapılması amacını taşımamaktadır. Verilen tüm bilgilerin doğruluğu ve bütünlüğünün garantisi verilmemekte olup, önceden bildirilmeksizin değiştirilebilecektir. Bu mesajın içeriği Bankamızın resmi görüşlerini yansıtmayabileceğinden Akbank T.A.Ş. hiçbir hukuki sorumluluğu kabul etmez.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 36573 bytes
Desc: Makefile
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20110411/48111b84/Makefile-0001.obj


More information about the xsd-users mailing list