zhaopuming / quickfast

Automatically exported from code.google.com/p/quickfast
Other
1 stars 0 forks source link

Build problem Solaris 10 x86 with Sunstudio 12.2 #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Building QuickFast under Solaris 10x86 with Sunstudio 12.2 fails because of 

...
#pragma pack(pop)
....

any ideas ?

Regards

Dieter

CC: Sun C++ 5.11 SunOS_i386 2010/08/13

SunOS hostname 5.10 Generic_137112-06 i86pc i386 i86pc

CC  -KPIC -O -O3 -xarch=v9 -DUSING_PCH -D_REENTRANT 
-I"/home/ex71807/gforge_dev/xapi_externals/bin/branch/fast/solaris_x86/boost1440
/include/include/boost" 
-I"/home/ex71807/gforge_dev/xapi_externals/bin/branch/fast/solaris_x86/boost1440
/include/." -I"../src" 
-I"/home/ex71807/gforge_dev/xapi_externals/bin/branch/fast/solaris_x86/xercesc31
1/include" -c -xpch=use:Common/QuickFASTPch.h.Cpch 
-xpchstop=Common/QuickFASTPch.h-DQUICKFAST_BUILD_DLL -o 
"Communication/PCapReader.o" Communication/PCapReader.cpp
CC: Warning: v9 value of the xarch option is not available on x86/x64 Solaris, 
ignored.
"Common/QuickFASTPch.h.Cpch", line 5: Warning: The pch file has an incompatible 
srcdir.
"Communication/PCapReader.cpp", line 207: Error: Syntax error in pragma.
"Communication/PCapReader.cpp", line 207: Error: Missing ')' in #pragma.
"Communication/PCapReader.cpp", line 207: Error: Syntax error in pragma.
3 Error(s) and 1 Warning(s) detected.
*** Error code 2
make: Fatal error: Command failed for target `Communication/PCapReader.o'

Original issue reported on code.google.com by dieter.m...@oss.de on 30 Sep 2010 at 7:39

GoogleCodeExporter commented 9 years ago
Solaris is not a supported platform.  

If you find a way to handle the packing properly on solaris along with the 
compiler directives necessary to make it continue to work on Windows/visual 
studio and linux/gcc, I will consider making appropriate modifications to the 
PCAP file reader, but other than that I can't invest any unsponsored time 
supporting a solaris build.

Dale

Original comment by dale.wil...@gmail.com on 30 Sep 2010 at 8:48

GoogleCodeExporter commented 9 years ago
Dale,

I will work on it. The code should compile on any UNIX box. 

Regards

Dieter

Original comment by dieter.m...@oss.de on 1 Oct 2010 at 4:47