Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 18th, 2012, 04:22 AM
ashabb ashabb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2012
Posts: 1 ashabb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 19 sec
Reputation Power: 0
general - <Apache>error when compiling CPP modules

Hi,

I am working on Linux Platform. I am just trying to port a CPP module to apache as a module. When I try to build the Apache , it throws an error as follows

libtool: unrecognized option `-DLINUX=2'

Later I did some search and changed the config_vars.mk file under the "build" directory of Apache.
The line that I changed is as follows
Before :EXTRA_CPPFLAGS = -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
Changed to : EXTRA_CPPFLAGS = -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE

So I just removed the option from EXTRA_CPPFLAG and it worked fine.
I did this just to overcome the error ..

Can anyone please let me know wht is the correct way of compiling the CPP module and provide some description. The C modules compiles fine.

Thanks

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > general - <Apache>error when compiling CPP modules

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap