logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Re: Problems building log4cxx 0.9.7 on Windows/CYGWIN: msg#00015

apache.logging.log4cxx.user

Subject: Re: Problems building log4cxx 0.9.7 on Windows/CYGWIN

Thanks very MUCH for your reply Jwahar !

Your tip seems pretty helpful, but the fact is that I don't get to build the
libraries under CYGWIN, so I can't aplly what you suggest :-(

I keep having problems with tchar.h (the compiler doesn't know the "int64_t" type). It happens when I compile with MinGW (under CYGWIN), and with Borland, so I'm googling around to see if I learn something new about this type, it's header, and it's headaches ;-).

The fact is that my project can´t wait any more to have this log library
running, so in the meantime it would be great if you could zip and email me just the
binaries... I mean:

the dynamic library: log4cxx.dll
& it's "import library": liblog4cxx.a

I think if you built these two binaries on any Windows/x86 platform, with MinGW
or CYGWIN GCC, then I could successfully link them to my project with MinGW.
I'll let the resolution of Borland compilation to the future, cause Curt Arnold
told me there would be an ant script for Borland in future releases.

Thanks in advance for your kind help.
My email is: dsusa@xxxxxxxxx

Receive best regards,
Diego

Jwahar Bammi wrote:

Diego,
I have been building log4cxx on CYGWIN for a while now. I have a pretty much
a stock full install of cygwin, also doxygen. I guess the best way to
describe my environment is to include my file "config.log", it will give you
all the details.

As I have described here before, after building the libraries and doing a
make install, I build dynamic libraries using the following procedure
(hack): -- see attached "doit" file, I am sure email will mangle the long
line that follows:

g++ -shared -o log4cxx.dll -Wl,--out-implib=liblog4cxx.dll.a
-Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive
liblog4cxx.a -Wl,--o-whole-archive '-L/usr/lib -lxml2 -lz -lpthread -liconv
-lm' -lxml2 -lz -pthread -liconv -lm

Not sure how I can help: if you like I can zip up my whole directory and
send it to you (or anyone else).

Jwahar Bammi
Memento, Inc.
bammi@xxxxxxxxxxxxxxx






<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo