logo       

Re: 0.9.8 build issue on RHEL3: msg#00058

Subject: Re: 0.9.8 build issue on RHEL3

On Feb 17, 2005, at 4:39 PM, jwert@xxxxxxxxxxxxxxxxx wrote:

This is a very easy one...

Everything build successfully except the socketservertestcase.cpp file,
which is missing reference to unistd.h. I don't know much about the ant
build process, so I'm sure there is some correct place to add it so the
build remains platform independent.

Thanks,

James Wert Jr.

JWert@xxxxxxxxxxxxxxxxx


All the files in log4cxx that include unistd.h (datagramsocket.cpp, inetaddress.cpp, socket.cpp. socketimpl.cpp) need to be migrated to use of Apache Portable Runtime after which time they won't include unistd.h.

APR includes unistd.h in some places, but they are guarded by #ifdef HAVE_UNISTD. I assume that you got through the APR build process, so the APR configure is successfully detecting that you don't have unistd.h. Could you confirm that you don't have a /usr/include/unistd.h?

I didn't where socketservertestcase.cpp included unistd.h, however that test is currently inactive pending the migration of the network related targets to APR. You should be able to #if 0 the whole thing or delete the whole file without negative consequences. Please let me know if that resolves the problem.




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

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