Re: [users@httpd] make error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux