From: Vedran D. <ve...@ya...> - 2008-10-23 21:25:24
|
No, you should find the right syntax for the pragma pack: http://docs.sun.com/app/docs/doc/805-4955/6j4mg806k?a=view Ved ________________________________ From: ming zhang <min...@gm...> To: R00T SHELL <r00...@ya...> Cc: Iometer Users <iom...@li...>; Vedran Degoricija <ve...@ya...> Sent: Thursday, October 23, 2008 2:18:15 PM Subject: Re: [Iometer-user] 2008-06-22-rc2 is out i think the only solution here is to remove all these pack, change all structure to naturally 8 byte aligned,... On Thu, Oct 23, 2008 at 5:15 PM, ming zhang <min...@gm...> wrote: On Thu, Oct 23, 2008 at 5:12 PM, R00T SHELL <r00...@ya...> wrote: Ming: The problem is that the Solaris dynamo compiles but fails to enumerate the drives and connect with the GUI. this one you meant rc1 right? yes, because the structure was not aligned same as windows. so fail to exchange data. this is why we try to align data structure in rc2. and linux works, and i do not have solaris at all... ----- Original Message ---- From: ming zhang <min...@gm...> To: R00T SHELL <r00...@ya...> Sent: Thursday, October 23, 2008 5:08:33 PM Subject: Re: [Iometer-user] 2008-06-22-rc2 is out this is to enforce the structure to be aligned. but if we do not do this, then you have same problem with rc1. no idea, not familiar with solaris. this compile ok with linux. not sure if works on OSX... On Thu, Oct 23, 2008 at 4:41 PM, R00T SHELL <r00...@ya...> wrote: Ming: RC1compiles but does not work with the Windows GUI. ----- Original Message ---- From: ming zhang <min...@gm...> To: r00t0fallevil <r00...@ya...> Cc: iom...@li... Sent: Thursday, October 23, 2008 4:36:56 PM Subject: Re: [Iometer-user] 2008-06-22-rc2 is out oops. looks like we used something does not supported in solaris... but rc1 is ok for you, right? On Thu, Oct 23, 2008 at 4:27 PM, r00t0fallevil <r00...@ya...> wrote: Hi Ming: Just tried to compile this. This is what I got. root@alpha:/root/newiometer/iometer-2008-06-22-rc2/src# make -f Makefile-Solaris.sparc dynamo g++ -O -Wall -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS -DIOMTR_CPU_SPARC -D_LARGEFILE64_SOURCE -D_REENTRANT -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN -c IOGlobals.cpp In file included from IOCommon.h:573, from IOGlobals.cpp:66: pack8.h:57: warning: #pragma pack(push[, id], <n>) is not supported on this target In file included from IOCommon.h:683, from IOGlobals.cpp:66: unpack8.h:57: warning: #pragma pack(pop[, id], <n>) is not supported on this target g++ -O -Wall -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS -DIOMTR_CPU_SPARC -D_LARGEFILE64_SOURCE -D_REENTRANT -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN -c Pulsar.cpp In file included from IOCommon.h:573, from Pulsar.cpp:134: pack8.h:57: warning: #pragma pack(push[, id], <n>) is not supported on this target In file included from IOCommon.h:683, from Pulsar.cpp:134: unpack8.h:57: warning: #pragma pack(pop[, id], <n>) is not supported on this target In file included from IOAccess.h:66, from IOTest.h:74, from IOTarget.h:81, from IOGrunt.h:74, from IOManager.h:92, from Pulsar.cpp:135: pack8.h:57: warning: #pragma pack(push[, id], <n>) is not supported on this target In file included from IOAccess.h:95, from IOTest.h:74, from IOTarget.h:81, from IOGrunt.h:74, from IOManager.h:92, from Pulsar.cpp:135: unpack8.h:57: warning: #pragma pack(pop[, id], <n>) is not supported on this target In file included from IOTest.h:84, from IOTarget.h:81, from IOGrunt.h:74, from IOManager.h:92, from Pulsar.cpp:135: pack8.h:57: warning: #pragma pack(push[, id], <n>) is not supported on this target In file included from IOTest.h:277, from IOTarget.h:81, from IOGrunt.h:74, from IOManager.h:92, from Pulsar.cpp:135: unpack8.h:57: warning: #pragma pack(pop[, id], <n>) is not supported on this target In file included from IOTransfers.h:73, from IOCQ.h:73, from IOTarget.h:82, from IOGrunt.h:74, from IOManager.h:92, from Pulsar.cpp:135: pack8.h:57: warning: #pragma pack(push[, id], <n>) is not supported on this target In file included from IOTransfers.h:118, from IOCQ.h:73, from IOTarget.h:82, from IOGrunt.h:74, from IOManager.h:92, from Pulsar.cpp:135: unpack8.h:57: warning: #pragma pack(pop[, id], <n>) is not supported on this target In file included from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/../../../../include/c++/3.4.6/sstream:640, from IOPort.h:83, from IOManager.h:93, from Pulsar.cpp:135: /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/../../../../include/c++/3.4.6/bits/sstream.tcc: In member function `virtual typename std::basic_stringbuf<_CharT, _Traits, _Alloc>::int_type std::basic_stringbuf<_CharT, _Traits, _Alloc>::overflow(typename _Traits::int_type)': /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/../../../../include/c++/3.4.6/bits/sstream.tcc:102: error: expected unqualified-id before '(' token /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/../../../../include/c++/3.4.6/bits/sstream.tcc:104: error: expected unqualified-id before '(' token In file included from IOMessage.h:119, from IOPort.h:86, from IOManager.h:93, from Pulsar.cpp:135: pack8.h: At global scope: pack8.h:57: warning: #pragma pack(push[, id], <n>) is not supported on this target In file included from IOMessage.h:157, from IOPort.h:86, from IOManager.h:93, from Pulsar.cpp:135: unpack8.h:57: warning: #pragma pack(pop[, id], <n>) is not supported on this target In file included from IOPerformance.h:155, from IOManager.h:94, from Pulsar.cpp:135: pack8.h:57: warning: #pragma pack(push[, id], <n>) is not supported on this target In file included from IOPerformance.h:166, from IOManager.h:94, from Pulsar.cpp:135: unpack8.h:57: warning: #pragma pack(pop[, id], <n>) is not supported on this target *** Error code 1 make: Fatal error: Command failed for target `Pulsar.o' root@alpha:/root/newiometer/iometer-2008-06-22-rc2/src# Any advice here? Thanks! ming.zhang.china wrote: > > Hi All > > 2008-06-22-rc2 is out. Please try it and see if works well for you. We > will release final stable version if this rc version is ok. > > > iometer team > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Iometer-user mailing list > Iom...@li... > https://lists.sourceforge.net/lists/listinfo/iometer-user > > -- View this message in context: http://www.nabble.com/2008-06-22-rc2-is-out-tp20137530p20138850.html Sent from the iometer-user mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Iometer-user mailing list Iom...@li... https://lists.sourceforge.net/lists/listinfo/iometer-user |