f



Re: [ace-users] why is the implement of function "ace::hash_pjw" different with some articles?

Hi,

>I saw the implement of function "ace::hash_pjw"  like this in some
>articles,
>but the implement in ace is a little different, the difference is:
>hash = (hash << 4) + (temp * 13) and hash = (hash << 4) + (temp);
>I want to know why?

This was added by Irfan Pyarali on May 18th, 1998.  It's not recorded
in the ChangeLog why he did this change, but I've cc'd him in case he
remembers.

take care,

     Doug

>#include <limits.h>
>#define BITS_IN_int     ( sizeof(int) * CHAR_BIT )
>#define THREE_QUARTERS  ((int) ((BITS_IN_int * 3) / 4))
>#define ONE_EIGHTH      ((int) (BITS_IN_int / 8))
>#define HIGH_BITS       ( ~((unsigned int)(~0) >> ONE_EIGHTH ))
>unsigned int HashPJW ( const char * datum )
>{
>    unsigned int hash_value, i;
>    for ( hash_value = 0; *datum; ++datum )
>    {
>        hash_value = ( hash_value << ONE_EIGHTH ) + *datum;
>        if (( i = hash_value & HIGH_BITS ) != 0 )
>            hash_value =
>                ( hash_value ^ ( i >> THREE_QUARTERS )) &
>                        ~HIGH_BITS;
>    }
>    return ( hash_value );
>}
>


-- 
Dr. Douglas C. Schmidt                       Professor and Associate Chair
Electrical Engineering and Computer Science  TEL: (615) 343-8197
Vanderbilt University                        WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203                          NET: d.schmidt@vanderbilt.edu

0
Douglas
11/30/2006 4:58:23 AM
comp.soft-sys.ace 20326 articles. 1 followers. marlow.andrew (167) is leader. Post Follow

0 Replies
624 Views

Similar Articles

[PageSpeed] 17

Reply:

Similar Artilces:

why is the implement of function "ace::hash_pjw" different with some articles?
I saw the implement of function "ace::hash_pjw" like this in some articles, but the implement in ace is a little different, the difference is: hash = (hash << 4) + (temp * 13) and hash = (hash << 4) + (temp); I want to know why? #include <limits.h> #define BITS_IN_int ( sizeof(int) * CHAR_BIT ) #define THREE_QUARTERS ((int) ((BITS_IN_int * 3) / 4)) #define ONE_EIGHTH ((int) (BITS_IN_int / 8)) #define HIGH_BITS ( ~((unsigned int)(~0) >> ONE_EIGHTH )) unsigned int HashPJW ( const char * datum ) { unsigned int hash_value, i; for ( hash_value = 0; *datum; ++datum ) { hash_value = ( hash_value << ONE_EIGHTH ) + *datum; if (( i = hash_value & HIGH_BITS ) != 0 ) hash_value = ( hash_value ^ ( i >> THREE_QUARTERS )) & ~HIGH_BITS; } return ( hash_value ); } Hi, >I saw the implement of function "ace::hash_pjw" like this in some >articles, >but the implement in ace is a little different, the difference is: >hash = (hash << 4) + (temp * 13) and hash = (hash << 4) + (temp); >I want to know why? This was added by Irfan Pyarali on May 18th, 1998. It's not recorded in the ChangeLog why he did this change, but I've cc'd him in case he remembers. take care, Doug >#include <limits.h> >#define BITS_IN_int ( sizeof(int) *...

[ace-users] "make install" not creating "${INSTALL_PREFIX}/share/ace" in ACE 6.x?
I'm running into problems trying to do a "make install" on ACE 6.x when $INSTALL_PREFIX is not the same as $ACE_ROOT but instead is right above it. I don't recall having any such problem on ACE 5.6.x. My source tree is in /some/long/path/ACE_wrappers/6.1.0/sparc/ACE_wrappers and I have $INSTALL_PREFIX set to /some/long/path/ACE_wrappers/6.1.0/sparc/ACE_wrappers/.. (i.e. INSTALL_PREFIX =3D "$(ACE_ROOT)/..") because I want to end up with = a SPARC/Solaris binary tree installed alongside the source tree, e.g. = like so: solaris10box{cmbld}% ls ACE_wrappers/ bin/ include/ lib/ share/ But unless I manually do a mkdir -p ${INSTALL_PREFIX}/share/ace before I run the "make install", it croaks right away down in "ace": -- solaris10box{cmbld}% make install gmake[1]: Entering directory = `/some/long/path/ACE_wrappers/6.1.0/sparc/ACE_wrappers/ace' GNUmakefile: = /some/long/path/ACE_wrappers/v6.1.0/sparc/ACE_wrappers/ace/GNUmakefile.ACE= MAKEFLAGS=3Dw perl -ne'if (/^#END MPC-Generated Install Info/) {exit 0}' \ -e'elsif (/^#BEGIN MPC-Generated Install Info/) {$ok=3D1}' \ -e'elsif ($ok && s/^#//) {print}' GNUmakefile.ACE | \ = /some/long/path/external/ACE_wrappers/6.1.0/sparc/ACE_wrappers/MPC/prj_ins= tall.pl -i -s lib_output,header_files,template_files,installdata_files \ -b header_files=3Dinclude/ACE_wrappers -b = template_files=3Dinclude...

Re: SPAM [ace-users] [autotools] Compiling ACE with autotools gives different soname from "classical" compilation
Hi Thomas, Thanks for the PRF! J.T. and Ossama, can you please take a look at this when you have a chance? Thanks, Doug >> ACE VERSION: 5.5.1 >> >> HOST MACHINE and OPERATING SYSTEM: Debian GNU/Linux testing/unstable >> >> COMPILER NAME AND VERSION (AND PATCHLEVEL): >> g++ (GCC) 4.0.4 20060422 (prerelease) (Debian 4.0.3-2) >> >> THE $ACE_ROOT/ace/config.h FILE: >> generated by autotools. I will provide it on demand. >> >> THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE: >> N/A >> >> CONTENTS OF $ACE_ROOT/.../config/default.features: >> Unchanged >> >> AREA/CLASS/EXAMPLE AFFECTED: >> Libraries sonames are different when compiled using "classical" >> method (i.e. config-XXX.h and platform_macros.GNU) and when >> compiling using autotools methods. The "classical" method gives >> libACE.so.5.5.1 while the autotools one gives libACE.so.5 >> >> DOES THE PROBLEM AFFECT: >> COMPILATION? Somehow >> LINKING? Somehow again >> EXECUTION? Yes, it will >> OTHER (please specify)? >> >> I want to switch Debian packages compilation method from >> "classical" to autotools based. But the ne...

Re: [ace-users] EXT :Welcome to the "ace-users" mailing list (Digest mode)
--_000_9024FF37C53EBE469399F0ACD5E767D00A06277AXMBVAG72northgr_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable (Port, the verb, not the noun - as in to port ACE to ucLiinux, not unable = to connect to port 1234). All topic searches to date have been unable to di= stinguish. Problem Request Form =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ACE VERSION: 6.2a HOST MACHINE and OPERATING SYSTEM: - Intel Core i7 CPU Q 820 @ 1.73GHz x 8 - Ubuntu 13.10 TARGET MACHINE and OPERATING SYSTEM, if different from HOST: COMPILER NAME AND VERSION (AND PATCHLEVEL): - TMS320C6678L DSP - Linux localhost 2.6.34-evmc6678.el-linux-c6x-2.0.0.63 #1 Sat Dec 10 0= 7:09:40 UTC 2011 c6x GNU/Linux CONTENTS OF $ACE_ROOT/ace/config.h [if you use a link to a platform- specific file, simply state which one]: - linux for host - ?? for target CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU [if you use a link to a platform-specific file, simply state which one (unless this isn't used in this case, e.g., with Microsoft Visual C++)]: - platform_linux.GNU for Host - ?? for target CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features (used by MPC when you generate your own makefiles): - no changes to as delivered LEVEL OF URGENCY (LOW, MEDIUM, or HIGH): - medium AREA/C...

[ace-bugs] Re: [ace-users] problem with "make depend"
Hi Yigong, To ensure that we have proper version/platform/compiler information, please make sure you fill out the appropriate problem report form (PRF), which is in $ACE_ROOT/PROBLEM-REPORT-FORM $TAO_ROOT/PROBLEM-REPORT-FORM or in $ACE_ROOT/BUG-REPORT-FORM $TAO_ROOT/BUG-REPORT-FORM in older versions of ACE+TAO. Make sure to include this information when asking any questions about ACE+TAO since otherwise we have to "guess" what version/platform/compiler/options you've using, which is error-prone and slows down our responsiveness. Thanks, Doug ...

RE: [ace-users] Compilation problem when I include "ace/High_Res_Timer.h" !!
Hi, I did try to create and compile it without using IDE. Seems there might Be some problem in using IDE. But anyways, I am not compiling via command Line and getting following link errors. Can you please Let me know which Library I am missing here? Thanks a lot, Priyank isdbuild1 312 % g++ -I /mot/proj/ivtools/ppatel1/ACE_wrappers HigRes.cpp -L/mot/proj/ivtools/ppatel1/ACE_wrappers/lib -lACE -lACEXML -lGateway -lJAWS -L/apps/public/gcc_3.3/sparc-sun-solaris2.8/lib -lstdc++ Undefined first referenced symbol in file __1cDstd2l6Frn0ANbasic_ostream4Ccn0ALchar_traits4Cc____pkc_2_ /mot/proj/ivtools/ppatel1/ACE_wrappers/lib/libACE.so ACE_Stats::mean(ACE_Stats_Value&, unsigned)/var/tmp//ccftXSU6.o __1cDstdZ__RTTI__1nDstdJbad_alloc__ /mot/proj/ivtools/ppatel1/ACE_wrappers/lib/libACE.so c::c(N6, (int0_t)) /mot/proj/ivtools/ppatel1/ACE_wrappers/lib/libACE.so __1cG__CrunUref_simple_down_cast6Fpvpkn0AQstatic_type_info_4_1_ /mot/proj/ivtools/ppatel1/ACE_wrappers/lib/libACE.so __1cDstdJexceptionG__vtbl_ /mot/proj/ivtools/ppatel1/ACE_wrappers/lib/libACE.so __1cG__CrunKvector_con6FpvIIpF1_vp2_v_ /mot/proj/ivtools/ppatel1/ACE_wrappers/lib/libACE.so __1cG__CrunHex_skip6F_b_ /mot/proj/ivtools/ppatel1/ACE_wrappers/lib/libACE.so __1cG__CrunSregister_exit_code6FpG_v_v_ /mot/proj/ivtools/ppatel1/ACE_wrappers/lib/libACE.so __1cG__CrunRex_chk_unexpected6F_v_ /mot/proj/ivtools/ppatel1/ACE_wrappers/lib/libAC...

[ace-bugs] RE: [ace-users] problem with "make depend" #2
Hi Doug, Here is the problem-report-form. Thanks Yigong ----------------------------------------------------------- ACE VERSION: 5.4 HOST MACHINE and OPERATING SYSTEM: SunOS snively 5.8 Generic_108528-09 sun4u sparc SUNW,Ultra-5_10 TARGET MACHINE and OPERATING SYSTEM, if different from HOST: COMPILER NAME AND VERSION (AND PATCHLEVEL): gcc (GCC) 3.3.2 CONTENTS OF $ACE_ROOT/ace/config.h: /* -*- C++ -*- */ // config-sunos5.8.h,v 4.3 2001/07/24 21:58:43 joeh Exp // The following configuration file is designed to work for SunOS 5.8 // (Solaris 8)...

[ace-users] Problems with conflict between "traditional" build and "configure" build of ACE/TAO
I'm running into problems with one of my co-workers being unable to build some custom software of ours that builds/links against ACE. (I'm using 5.6.2 on Solaris 10 10/08, the first ACE/TAO version that seems to be Sun Studio 12-friendly.) We have a 4-page document on how to build ACE/TAO using the "traditional" method. My co-worker has used a private build using this "traditional" method, and it built successfully. His software also builds successfully against this build. But I noticed with ACE/TAO 5.6.x you now support GNU "autoconf"/"configure", so given that I use that for the vast majority of system software I build for our organization, I wanted to migrate to using "configure" instead of the "traditional" method. He then tried to build his stuff against my build, and it broke: CC -mt -g -DACE_BUILD_DLL -DACE_OS_BUILD_DLL -DSUN_CC_HAS_PVFC_BUG - DACE_HAS_CUSTOM_EXPORT_MACROS=0 -I/usr/local/vicar/dev/../external/ ACE_wrappers/v5.6.2/sun-solr/include -I./ -I/usr/local/vicar/dev/../ proprietary/kerberos/v5.1.3.4/sun-solr/include -I/usr/local/vicar/ dev/../proprietary/kerberos/v5.1.3.4/sun-solr/include/kerberosIV - I../../../inc/glbinc -I/scr/awt/local_V2TOPd/mdms/inc/glbinc - DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -c -o sun-solr/.obj/Fei.o Fei.cpp "/usr/local/vicar/dev/../external/ACE_wrappers/v5.6.2/sun-solr/include/ ace/Assert.h", line...

Re: [ace-users] Re: Installing/Extracting the "binary realease" and the "devel release"
Hi, > Hi, > > "Douglas C. Schmidt" <schmidt@cse.wustl.edu> writes: > >>> I successfully compiled both ACE and TAO (at least the parts I need) > >>> following the HTML notes (some symbolic links and some "make"). > >>> Now, I want to extract all these "parts" from the ACE_wrappers > >>> directory. > >>> In fact, I wish to create a sort of classical install under /opt/. I > >>> wish to have: > >>> > >>> /opt/ace+tao > >>> +--include > >>> + +--ace # The ACE includes (with templates) > >>> + +--tao # The TAO includes (with generated files) > >>> +--lib # The lib > >>> > >>> How can I do that? Is there something equivalent to the "make install" > >>> of the autoconf/automake command? You can get something similar to this layout using MPC. Run the following 3 commands: cd $ACE_ROOT bin/mwc.pl -genins TAO/TAOACE.mwc $MPC_ROOT/prj_install.pl -a lib_output,exe_output -k -v -o lib_output=../lib -o exe_output=../bin /opt/ace+tao/include . It won't give you exactly the directory tree you're looking for, but it's close. /opt/ace+tao +--include + +--ace + +--TAO + + +--tao +--lib +--bin If you don't want the executables i...

Re: [ace-users] "How to Use ACE Effectively" Training May 1-4, 2007
Hi Andrew, We as Remedy IT also organize an ACE course (we also deliver CORBA and TAO courses). We try to organize the ACE course as open enrollment at least once a year, when we have enough interest we get into contact with everyone who has let us know they are interested in the course and then try to set a week that fits everyones schedule. See www.theaceorb.nl for our training offers. Regards, Johnny Willemsen Remedy IT Postbus 101 2650 AC Berkel en Rodenrijs The Netherlands www.theaceorb.nl / www.remedy.nl "Andrew Marlow" <usenet@marlowa.plus.com> wrote in message news:<eu0e90$lln$2@aioe.org>... > On Wed, 21 Mar 2007 15:32:00 -0400, Steve Huston wrote: > > > Upcoming "How to Use ACE Effectively" Class: May 1-4, 2007 > > > > "When do I need to initialize ACE? And how would I do that? Why is > > Windows such a special case?" > > These courses sounds terrific and I would love to go on one. However, > being a mere pleb I would have to convince my employer, an uphill task. Is > there any chance that such annoucements could be made somewhat earlier? > They seem to be made only a few weeks before the event. Most of these > events take place in the US and I am in the UK. This increases the cost to > the employer which means more time is needed to argue the case. Perhaps > what is needed is a schedule for the year (even if some courses will b...

SPAM [ace-users] [autotools] Compiling ACE with autotools gives different soname from "classical" compilation
[Please note that I'm resending this mail using a webmail. For some reason my mails don't get to ace-users@ Can somebody please have a look at this problem ?] Hello all, here's the PRF: ACE VERSION: 5.5.1 HOST MACHINE and OPERATING SYSTEM: Debian GNU/Linux testing/unstable COMPILER NAME AND VERSION (AND PATCHLEVEL): g++ (GCC) 4.0.4 20060422 (prerelease) (Debian 4.0.3-2) THE $ACE_ROOT/ace/config.h FILE: generated by autotools. I will provide it on demand. THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE: N/A CONTENTS OF $ACE_ROOT/.../config/default.features: Unchanged AREA/CLASS/EXAMPLE AFFECTED: Libraries sonames are different when compiled using "classical" method (i.e. config-XXX.h and platform_macros.GNU) and when compiling using autotools methods. The "classical" method gives libACE.so.5.5.1 while the autotools one gives libACE.so.5 DOES THE PROBLEM AFFECT: COMPILATION? Somehow LINKING? Somehow again EXECUTION? Yes, it will OTHER (please specify)? I want to switch Debian packages compilation method from "classical" to autotools based. But the new method changes the soname to something that will break binaries on upgrade. SYNOPSIS: Compiling ACE with libtool or "classical" method gives different sonames. DE...

[ace-users] Re: Getting error message "ostream : ambiguous symbol" when using ace with dcmtk
Hi Manish, To ensure that we have proper version/platform/compiler information, please make sure you fill out the appropriate problem report form (PRF), which is in $ACE_ROOT/PROBLEM-REPORT-FORM $TAO_ROOT/PROBLEM-REPORT-FORM or in $ACE_ROOT/BUG-REPORT-FORM $TAO_ROOT/BUG-REPORT-FORM in older versions of ACE+TAO. Make sure to include this information when asking any questions about ACE+TAO since otherwise we have to "guess" what version/platform/compiler/options you've using, which is error-prone and slows down our responsiveness. Thanks, Doug ...

Re: [ace-users] "Please use the /MD switch" error when building ACE under Visual Studio.NET
Hi Lloyd, To ensure that we have proper version/platform/compiler information, please make sure you fill out the appropriate problem report form (PRF), which is in $ACE_ROOT/PROBLEM-REPORT-FORM $TAO_ROOT/PROBLEM-REPORT-FORM or in $ACE_ROOT/BUG-REPORT-FORM $TAO_ROOT/BUG-REPORT-FORM in older versions of ACE+TAO. Make sure to include this information when asking any questions about ACE+TAO since otherwise we have to "guess" what version/platform/compiler/options you've using, which is error-prone and slows down our responsiveness. Thanks, Doug ...

Re: [ace-users] Compile time error: "error: 'write_n' is not a member of 'ACE'"
Hi, You lack an include, include "ace/ACE.h" in your program Regards, Johnny Willemsen Remedy IT Postbus 101 2650 AC Berkel en Rodenrijs The Netherlands www.theaceorb.nl / www.remedy.nl "Paresh" <pareshspednekar@gmail.com> wrote in message news:<1173985162.346951.209100@y66g2000hsf.googlegroups.com>... > Hi All, > > ACE VERSION: 5.5.6 > HOST MACHINE and OPERATING SYSTEM: LINUX, Kernel 2.6.19-1.2288.fc5, > i686 > > I tried to compile the program given below, but was giving following > compilation error: > Please help me to compile this proram > > --------------------------------------- > COMPILATION------------------------------------------ > [root@paresh ACE_MSG_BLOCK]# g++ main.C -o main -lACE -IACE_ROOT > main.C: In function 'int main(int, char**)': > main.C:9: error: 'read_n' is not a member of 'ACE' > main.C:20: error: 'write_n' is not a member of 'ACE' > ----------------------------------END > COMPILATION-------------------------------------------- > > > > ---------------------------------------------PROGRAM > main.C--------------------------------------------- > > #include "ace/OS.h" > #include "ace/Message_Block.h" > > int main(int argc, char* argv[]) { > ACE_Message_Block *head = new ACE_Message_Block(BUFSIZ); > ...

[ace-users] Re: [ace-bugs] ACE_Acceptor: "delete this" in handle_close override causes crash on VxWorks, TP_Reactor being used
Hi, Please note, BTW, that the DOC groups at Washington University, UC Irvine, and Vanderbilt University only provide "best effort" support for non-sponsors, as described in http://www.cs.wustl.edu/~schmidt/ACE_wrappers/docs/ACE-bug-process.html Thus, if you need more "predictable" help, I recommend that you check out http://www.cs.wustl.edu/~schmidt/commercial-support.html for a list of companies that will provide you with ACE+TAO commercial support. Especially VxWorks is a hard OS to maintain. We as Remedy IT are working actively on the VxWorks port which is sponsored by several companies. The x.4.4 version was the first version again to have minimal VxWorks support. The x.4.6 version has much more support in it and the upcoming x.4.7 version has also support for shared libraries under VxWorks. Regards, Johnny Willemsen Remedy IT Postbus 101 2650 AC Berkel en Rodenrijs The Netherlands www.theaceorb.nl / www.remedy.nl "Green, Cliff" <cliff.green@boeing.com> wrote in message news:<6261B3504BFA424B85A5B1B8EB1D263FCB7C35@XCH-NW-1V2.nw.nos.boeing.com>.. .. > ACE VERSION: 5.4.4 > > HOST MACHINE and OPERATING SYSTEM: P4, WinXPPro-SP1 > > TARGET MACHINE and OPERATING SYSTEM, if different from HOST: P3, > VxWorks 5.5.1 > > COMPILER NAME AND VERSION (AND PATCHLEVEL): Gcc version > 2.9-PentiumIII-010221 (2.96+CP1 MW/GC/LM) VxWorks 5.5 > &...

[ace-users] Re: ACE 5.5 build compiler error- Type name expected instead of "ACE_UNIMPLEMENTED_FUNC"
Hi, >> ACE VERSION: 5.5 >> >> HOST MACHINE and OPERATING SYSTEM: >> ACE VERSION: 5.5 >> SunOS ajax 5.8 Generic_117350-25 sun4u sparc SUNW,Ultra-4 >> >> HOST MACHINE and OPERATING SYSTEM: >> If on Windows based OS's, which version of WINSOCK do you >> use?: >> >> TARGET MACHINE and OPERATING SYSTEM, if different from HOST: >> COMPILER NAME AND VERSION (AND PATCHLEVEL): >> Sun Studio 8 >> THE $ACE_ROOT/ace/config.h FILE >> #include <ace/config-sunos5.8.h> >> >> THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE : >> exceptions=1 >> inline=1 >> debug=1 >> optimize=0 >> stdcpplib=0 >> include $(ACE_ROOT)/include/makeinclude/platform_sunos5_sunc++.GNU >> TAO_ORBSVCS=Naming Property Notify >> >> CONTENTS OF >> $ACE_ROOT/bin/MakeProjectCreator/config/default.features >> (used by MPC when you generate your own makefiles): >> >> AREA/CLASS/EXAMPLE AFFECTED: >> [What example failed? What module failed to compile?] >> >> DOES THE PROBLEM AFFECT: >> COMPILATION? YES >> LINKING? >> On Unix systems, did you run make realclean first? >> EXECUTION? >> OTHER (please s...

[ace-users] Enabling ACE "internal" logs
Hello, I use a simplified version of PRF, because I do not report an issue, I just have a question. ACE VERSION: 5.5.9 HOST MACHINE and OPERATING SYSTEM: If on Windows based OS's, which version of WINSOCK do you use?: Windows XP SP 2 TARGET MACHINE and OPERATING SYSTEM, if different from HOST: COMPILER NAME AND VERSION (AND PATCHLEVEL): Microsoft Visual Studio.net (MSVC 7.1) THE $ACE_ROOT/ace/config.h FILE: config-win32.h SYNOPSIS: I want to enable ACE internal logs, but I do not succeed at all. I tried a lot of things as explained in the APG book chapter 3, but still do not see ACE "internal" logs. I succeed to see the log I wrote, but I never see ACE "internal" logs. I certainly missed something in the ACE configuration, even maybe during the build. Thanks in advance C�dric Templie ...

[ace-users] Re: ACE 5.5 build compiler error- Type name expected instead of "ACE_UNIMPLEMENTED_FUNC" #2
Hi, Thanks for letting us this know, I fixed this in ACE and will be part of the upcoming x.5.1 distribution. Regards, Johnny Willemsen Remedy IT Postbus 101 2650 AC Berkel en Rodenrijs The Netherlands www.theaceorb.nl / www.remedy.nl <sven-uwe.sieler-hornke@investment-cybernetics.de> wrote in message news:<1142029535.572714.223630@i39g2000cwa.googlegroups.com>... > Hi, > > we had exactly the same error message on Sun Solaris UltraSparc with > Sun C++ compiler (Sun OS 5.8, Forte 6 Update 2). > > There are two possible solutions: > a) transform Timer_Wheel_T.h to Unix (e.g. use dos2unix) > b) concatenate the lines containing ACE_UNIMPLEMENTED_FUNC with the > line following subsequently > > Obviously DOS-like line breaks are a fatal trap for the Sun C++ > compiler under certain conditions. The problem does not occur with > Linux x86_64 on my Turion Subnotebook using gcc. > > On Solaris UltraSparc my platform_macros.GNU looks like this: > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > fast=1 > templates=explicit > include $(ACE_ROOT)/include/makeinclude/platform_sunos5_sunc++.GNU > CCFLAGS += -xtarget=ultra -xarch=v9 > SOFLAGS += -xtarget=ultra -xarch=v9 > LDFLAGS += -xtarget=ultra -xarch=v9 -L/opt/SUNWspro/lib/v9 > -L/usr/lib/sparcv9 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > (compiles 64bit binaries) > The config file was config-sunos5.8.h. > > ACE de...

[ace-users] FW: Welcome to the "ace-users" mailing list (Digest mode)
************************************************************************ ******************************** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! -----Original Message----- From: ace-users-bounces@cse.wustl.edu [mailto:ace-users-bounces@cse.wustl.edu] On Behalf Of ace-users-request@cse.wustl.edu Sent: Monday, December 18, 2006 11:23 PM To: eswars@huawei.com Subject: Welcome to the "ace-users" mailing list (Digest mode) Welcome to the ace-users@mail.cse.wustl.edu mailing list! To post to this list, send your email to: ace-users@mail.cse.wustl.edu General information about the mailing list is at: http://mail.cse.wustl.edu/mailman/listinfo/ace-users If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://mail.cse.wustl.edu/mailman/options/ace-users/eswars%40huawei.com You can also make such adjustments via email by sending a message to: ace-users-request@mail.cse.wustl.edu ...

[ace-users] Re: Installing/Extracting the "binary realease" and the "devel release"
Hi Guilhem, >> I successfully compiled both ACE and TAO (at least the parts I need) >> following the HTML notes (some symbolic links and some "make"). >> Now, I want to extract all these "parts" from the ACE_wrappers >> directory. >> In fact, I wish to create a sort of classical install under /opt/. I >> wish to have: >> >> /opt/ace+tao >> +--include >> + +--ace # The ACE includes (with templates) >> + +--tao # The TAO includes (with generated files) >> +--lib # The lib >> >> How can I do that? Is there something equivalent to the "make install" >> of the autoconf/automake command? >> >> PS: my version is ACE+TAO-1.4a_with_latest_patches Since you're using OCI's version of TAO please send your questions to taosupport@ociweb.com. BTW, I believe more recent versions of TAO should make it easier to install selected components. J.T., can you please confirm/deny? Thanks, Doug -- Dr. Douglas C. Schmidt Professor and Associate Chair Electrical Engineering and Computer Science TEL: (615) 343-8197 Institute for Software Integrated Systems WEB: www.dre.vanderbilt.edu/~schmidt Vanderbilt University, Nashville TN, 37203 NET: d.schmidt@vanderbilt.edu Douglas C. Schmidt a =E9crit : > >> PS: my version is ACE+TAO-1.4a_wi...

[ace-bugs] Re: [ace-users] ACE
Hi, Thanks for using the PRF. >> ACE VERSION: 5.4.1 >> >> HP Server and HP-UX 11.1 >> >> aCC: HP ANSI C++ B3910B A.03.37 >> >> CONTENTS OF $ACE_ROOT/ace/config.h : config-hpux-11.00.h >> >> CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU : >> platorm_hpux_aCC.GNU >> >> AREA/CLASS/EXAMPLE AFFECTED: >> >> $ACE_ROOT/ace - Compiled successfully but >> >> $ACE_ROOT/ - failed to compile as shown below >> >> Installing gperf -> /home/umit...

RE: [ace-bugs] RE: [ace]:[local host address is "0.0.0.0" on Windows]
Just found that this problem is not specific to Windows. Linux machine has the same problem. uname -a Linux qa2 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown g++ -v Reading specs from /opt/redhat/comp-tools-3.2/lib/gcc-lib/i386-redhat-linux/3.2/specs Configured with: ../configure --prefix=/opt/redhat/comp-tools-3.2 --mandir=/opt/redhat/comp-tools-3.2/share/man --infodir=/opt/redhat/comp-tools-3.2/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit Thread model: posix gcc version 3.2 20020903 ...

Re: [ace-bugs] RE: [ace]:[local host address is "0.0.0.0" on Windows] #2
Larry- > Glad to know that the problem is resolved in the next release. > > I tried to check out the ACE code using anonymous CVS: > > cvs -z 9 checkout ACE > (The source file is under ACE_wrappers-repository) > > I can not make ACE by following the guide in ACE-INSTALL.html. > > Neither "make" (create a config.h and platform_macros.GNU, > then run make), nor "autoconf"/"automake" work. > > Are there any extra steps to take for the source checked from CVS? Did you download MPC? BTW, did you have a loo...

RE: [ace-bugs] RE: [ace]:[local host address is "0.0.0.0" on Windows] #2
Bala, I looked at the wrong section. Sorry for the mistake. I have built the ACE library and tried my example again. It seems the problem is already fixed in 5.4.2 Thanks Larry -----Original Message----- From: Balachandran Natarajan [mailto:bala@cs.wustl.edu] Sent: Monday, July 26, 2004 5:53 PM To: Larry Gao Cc: Balachandran Natarajan; ace-bugs@cs.wustl.edu Subject: Re: [ace-bugs] RE: [ace]:[local host address is "0.0.0.0" on Windows] Larry- > Glad to know that the problem is resolved in the next release. > > I tried to check out the ACE code us...

Web resources about - Re: [ace-users] why is the implement of function "ace::hash_pjw" different with some articles? - comp.soft-sys.ace

Resources last updated: 3/5/2016 5:48:36 AM