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: Building log4cxx 0.9.7 with MinGW and MSYS (no cygwin): msg#00004

apache.logging.log4cxx.user

Subject: RE: Building log4cxx 0.9.7 with MinGW and MSYS (no cygwin)

I cant say that I have compiled for a pure MingW environment, but I would
pull the Cygnus libpthread for win32, specify that for thread and it should
move the build ahead.

Jwahar Bammi
Memento, Inc.
bammi@xxxxxxxxxxxxxxx

-----Original Message-----
From: Enno Borgsteede [mailto:ennoborg@xxxxxxxxx]
Sent: Sunday, December 05, 2004 10:20 AM
To: log4cxx-user@xxxxxxxxxxxxxxxxxx
Subject: Building log4cxx 0.9.7 with MinGW and MSYS (no cygwin)

Hi,

I'm trying to build version 0.9.7 under MinGW on XP Home. I'm running
MinGW with MSYS and msysDTK, not CYGWIN. Searching the list archive
didn't provide a solution, so here's a summury of what I tried.

1. I found that configure can't figure out whether threads are
available. It stops with an error, but I can avoid that by specifying
--with-threads=no on the command line.
2. Then compilation stops, because the type int64_t is not recognized. I
can cure that too, by defining int64_t as __int64 in config.h.
3. I can't easily get past the third hurdle, which is the compiler
complaining that the thread() object does not exist. I can't find an
easy cure for that, so I'm stuck here.

I can think of several options, but maybe someone else has tried this
before, and give me directions:
1. Is --with-threads=no the right choice?
2. I use the latest versions of MinGW and MSYS. Would it help if I
upgrade the compiler?
I prefer not to upgrade to cygwin, because I like the MinGW philosophy
better.

thanks,

Enno



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.289 / Virus Database: 265.4.5 - Release Date: 3-12-2004






<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