httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Mangin" <jon.man...@comcast.net>
Subject Re: [users@httpd] make error
Date Thu, 02 Feb 2006 00:42:13 GMT


> I've upgraded gcc to 3.3.2 on Solaris 8x86, and most
> other build tools.(?)  I'm now getting:
>

I did find that RM and AWK needed their definitions added
in httpd-2.0.55/build/config_vars.mk.  I'm using gawk-3.1.4
and getting:

awk -f
/export/home/jman/download/src/apache/httpd-2.0.55/srclib/apr/build/make_var
_export.awk
/export/home/jman/download/src/apache/httpd-2.0.55/srclib/apr/include/*.h >
export_vars.c
awk: syntax error near line 35
awk: bailing out near line 35
make[3]: *** [export_vars.c] Error 2

I don't know awk, but here's part of make_var_export.awk
near line 35:

/^#[ \t]*endif/ {
        if (count > 0) {
                count--
                line = line "#endif /* " macro " */\n"
                macro = macro_stack[--macro_no]
        }
        if (count == 0) {
                if (found != 0) {
                        printf("%s", line)
                }
                line = ""
        }
        next
}

function add_symbol (sym_name) {     # <--Line 35
        if (count) {
                found++
        }
        for (i = 0; i < count; i++) {
                line = line "\t"
        }
        line = line sym_name "\n"

        if (count == 0) {
                printf("%s", line)
                line = ""
        }
}

At least it's consistent now.  After 'make clean' the build
always stops here.  Anyone see any obvious problems near
line 35?

Thanks,
Jon


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message