On Sun, 26 Jan 2003, James Michael DuPont wrote:
>
> --- stan <st...@uc...> wrote:
> > Hello,
> >
> > Could someone tell me how to compile openc++
> > with g++ 3.2 on linux,
> > it gives me stl errors,
> > says that deprecated headers are used
> > and then bails on a:
> > no matching function call to 'operator new [](unsigned int)
> > and then similar errors.
> >
> >
> >
> > Or how to compile openc++ on cygwin with g++2.95
> > I think I need a combination of the makefiles for Linux and
> > win32.
> > when I use the linux makefile:
> > it gives me a bunch of warnings about _cdecl being redefined
> > and then says:
> > ld cannot find -ldl
> > what is the library that I need to use instead of dl on cygwin on
> > winxp?
>
> libdl is for dynamic loading.
> i think you should check if your libtool is out of date.
> i had to run libtoolize and redo all of that in the ltdl subdir,
> check my build notes on this mailling list for the debian build.
Stan, what version of OpenC++ are you trying to build? As you write
that you use "linux makefile" I assume you are trying to build 2.5.12.
First: 2.5.12 will not compile with g++ 3.x. Some time ago Michael Buro
has fixed this and posted fixed version to the list. Unfortunately, I
failed to convince anybody to check this fix into CVS. If you are
desperate to compile under g++ 3.x, I can try to search my archive, I
should have this patch somewhere. Perhaps you can also find some time to
check it into CVS?
Second: 2.5.12 has individual makefile for each platform, but those
makefiles still may require minor modifications. I cannot advise more
without looking at your error messages, so post them, if you decide to
continue with 2.5.12.
Third: The current CVS HEAD supports automated brand new build procedure,
much like GNU packages. Michael is working on releasing it as 2.6.0,
there are still some build problems left, but you may want to give it a
try (you have to check out from CVS).
Best regards
Grzegorz
##################################################################
# Grzegorz Jakacki Huada Electronic Design #
# Senior Engineer, CAD Dept. 1 Gaojiayuan, Chaoyang #
# tel. +86-10-64365577 x2074 Beijing 100015, China #
# Copyright (C) 2002 Grzegorz Jakacki, HED. All Rights Reserved. #
##################################################################
|