Results 1 to 3 of 3

Thread: compilation error in strrchr

  1. #1

    Default compilation error in strrchr

    Hi All,

    I am getting the following error while compiling ACE_Wrappers on OPENSUSE11:

    ...
    ...
    config/fromheader.cpp: In function const char* basename(const char*, char):
    config/fromheader.cpp:241: error: strrchr was not declared in this scope
    ...
    ...

    The following are the gcc version details:

    Opensuse11: gcc -v
    Using built-in specs.
    Target: i586-suse-linux
    Configured with: ../configure --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.3 --enable-version-specific-runtime-libs --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=i586-suse-linux
    Thread model: posix
    gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux)


    Thanks and Regards,
    Vivek

  2. #2

    Default Re: compilation error in strrchr

    But the same compiles well on Opensuse10

  3. #3
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: compilation error in strrchr

    You should probably ask the author of ace_wrappers. They may have the fixes needed to compile with gcc 4.3.1.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •