Hi,

Thank you all for the help!

I managed to get a working version in Ubuntu 8.04 (which is old) and ARAPI
7.1 with the following packets installed with the packet manager. These
packages are not available in the newer versions of Ubuntu though...
# g++-3.3
# libncurses5-dev
# libstdc++5
# libstdc++5-3.3-dev

It also appears that I mistyped the -malign-double switch, which Doug
Mueller kindly pointed out to me.

This is the total Makefile:
# Parameters.
PROGRAM   = rrrchive
SOURCES   = arprint.cpp memchk.cpp mizconfig.cpp mizlog.cpp mizsplit.cpp
rrrarschema.cpp rrrchive.cpp
OBJECTS   = arprint.o memchk.o mizconfig.o mizlog.o mizsplit.o
rrrarschema.o rrrchive.o

# Compiler flags.
CXX = g++-3.3
CPPFLAGS = -I../api710p008linux/include -DAR_STRICT_ANSI -malign-double
LDFLAGS  = -L../api710p008linux/lib
LDLIBS   = -lar -lnsl -lpthread -lcurses -ldl

# Standard targets.
all:     $(PROGRAM)
objects: $(OBJECTS)
$(PROGRAM): $(OBJECTS)
        $(CXX) -o $(PROGRAM) $(OBJECTS) $(LDFLAGS) $(LDLIBS)
clean:
        $(RM) $(PROGRAM) $(OBJECTS) core

        Best Regards - Misi, RRR AB, http://www.rrr.se

Products from RRR Scandinavia:
* RRR|License - Not enough Remedy licenses? Save money by optimizing.
* RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs.
Find these products, and many free tools and utilities, at http://rrr.se.

> Misi,
>
> On Fri, Feb 12, 2010 at 11:55 AM, Misi Mladoniczky <[email protected]> wrote:
>
>> I have tried the 7.1.0 patch 8 ARAPI, as well as the 7.5.0 patch 4
>> ARAPI.
>>
>
> We are only at 7.0.01 patch ?? so maybe the API has changed enough to make
> my statements of "no errors" incorrect for your case. :-)
>
>
>> I have installed the libstdc++.so.5 parallel to libstdc++.so.6, and made
>> the linker work, but I get a warning like this.
>>
>> warning: libstdc++.so.5, needed by libicuucbmc.so.32, may conflict with
>> libstdc++.so.6.
>>
>
> Did you install the "paralell" version from the RHEL package
> compat-libstdc++-33 ? With this package, I see no such errors and it
> includes the libstdc++.so.5 shared library. I assume CentOS repositories
> use
> the same naming convention for the package.
>
> I can't advise what the equivalent package is named on other distributions
> like Ubuntu.
>
> Good luck.
>
> Jill Anderson
>
> _______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"
>
> --
> This message was scanned by ESVA and is believed to be clean.
>
>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"

Reply via email to