logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in  RSS Apache Lounge  


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.



Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: CFLAGS confused with directory: apxs, gcc, mod_clr2.c
Author
FreshyBoy



Joined: 08 Jul 2015
Posts: 2
Location: USA

PostPosted: Wed 08 Jul '15 21:26    Post subject: CFLAGS confused with directory: apxs, gcc, mod_clr2.c Reply with quote

Hello all,

I'm trying to build mod_clr2.c with apxs. Gcc seems to confuse the compiler flags (/nologo, /MD, /W3, /O2, /D _WINDOWS /D NDEBUG) with directories.

sample compiler output:

Code:

gcc: error: /nologo: No such file or directory


Apache version: httpd-2.4.12-win64-VC14
operating system: Microsoft Windows 8.1

Any help?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6824
Location: Germany, Next to Hamburg

PostPosted: Wed 08 Jul '15 23:17    Post subject: Reply with quote

gcc on windows? Do you use cygwin?
All the compiler flags look like the ones from Visual Studio. The VC14 tells me that it is Visual C 14.

Do you use the windows version of apxs?
Back to top
FreshyBoy



Joined: 08 Jul 2015
Posts: 2
Location: USA

PostPosted: Thu 09 Jul '15 0:51    Post subject: Reply with quote

James Blond wrote:
gcc on windows? Do you use cygwin?
All the compiler flags look like the ones from Visual Studio. The VC14 tells me that it is Visual C 14.

Do you use the windows version of apxs?


Yes, apxs windows version. No, I don't use cygwin. I use MinGW on windows. The compiler flags are for Visual Studio. I wonder if it possible to build this with gcc. When I ran the Configure.pl script, it must have auto detected gcc, because it filled in the compiler variables of config_vars.mk with those of gcc.

edit-

I've taken care of the Visual Studio style flags and got rid of most the errors, now I am missing (some) a file(s):

syslog.h

Does anyone know where I can find it?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6824
Location: Germany, Next to Hamburg

PostPosted: Wed 15 Jul '15 14:32    Post subject: Reply with quote

syslog.h is a linux file. Just google for it and you find the source code.
Back to top


Reply to topic   Topic: CFLAGS confused with directory: apxs, gcc, mod_clr2.c View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads