Problem building mod_layout on solaris

Walter Henry <[email protected]> Fri, 31 Oct 2008 10:27:57 -0700
Newsgroups gmane.comp.apache.mod-layout
Organization Preservation Dept Stanford University Libraries
Message-ID <[email protected]>
[I sent this earlier in the month to lists.tangent.org but it bounced so am giving it another try]

I am hoping someone can help me figure out what I might be doing wrong when I try to build mod_layout 4.1 on Solaris.
my cc is /opt/SUNWspro/bin/cc but I have the same result using gcc 3.4.2.
/opt/www/apache2/bin is in my path and I'm building this for Apache/2.0.52.


The first error below refers to merge_dir_mconfig() but not being a C programmer, I'm kind of at a loss to make sense of it.

I will be most grateful for any guidance.

Best wishes
Walter Henry
Stanford University Libraries and Academic Information Resources




apxs -c   mod_layout.c utility.c layout.c
/opt/www/apache2/build/libtool --silent --mode=compile cc -prefer-pic -O  -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -mt -I/opt/www/apache2/include  -I/opt/www/apache2/include -I/opt/www/cool-palimpsest/include   -c -o mod_layout.lo mod_layout.c && touch mod_layout.slo
"mod_layout.c", line 82: syntax error before or at: *
"mod_layout.c", line 84: undefined symbol: cfg_new
"mod_layout.c", line 84: non-unique member requires struct/union pointer: dir
"mod_layout.c", line 84: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 86: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 87: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 88: undefined symbol: cfg_origin
"mod_layout.c", line 88: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 89: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 92: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 93: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 94: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 95: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 98: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 99: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 100: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 101: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 104: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 105: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 106: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 107: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 110: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 110: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 111: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 111: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 111: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 112: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 112: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 112: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 113: non-unique member requires struct/union pointer: merge
"mod_layout.c", line 113: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 113: non-unique member requires struct/union pointer: merge
"mod_layout.c", line 113: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 113: non-unique member requires struct/union pointer: merge
"mod_layout.c", line 113: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 114: non-unique member requires struct/union pointer: notes
"mod_layout.c", line 114: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 114: non-unique member requires struct/union pointer: notes
"mod_layout.c", line 114: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 114: non-unique member requires struct/union pointer: notes
"mod_layout.c", line 114: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 115: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 115: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 115: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 116: non-unique member requires struct/union pointer: comment
"mod_layout.c", line 116: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 116: non-unique member requires struct/union pointer: comment
"mod_layout.c", line 116: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 116: non-unique member requires struct/union pointer: comment
"mod_layout.c", line 116: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 117: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 117: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 117: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 118: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 120: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 120: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 120: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 121: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 121: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 121: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 125: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 126: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 126: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 128: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 129: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 129: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 129: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 130: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 130: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 130: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 132: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 132: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 132: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 133: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 134: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 134: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 137: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 138: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 138: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 138: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 139: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 139: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 142: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 143: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 144: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 145: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 146: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 148: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 149: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 150: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 151: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 155: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 156: non-unique member requires struct/union pointer: http_header
"mod_layout.c", line 156: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 157: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 158: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 159: non-unique member requires struct/union pointer: http_header
"mod_layout.c", line 159: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 160: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 166: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 168: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 169: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 170: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 170: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 172: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 175: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 178: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 179: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 180: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 180: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 182: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 185: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 188: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 189: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 190: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 190: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 192: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 195: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 198: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 199: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 200: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 200: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 202: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 205: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 208: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 209: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 210: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 210: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 212: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 215: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 218: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 219: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 220: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 220: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 222: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 225: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 228: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 229: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 230: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 230: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 232: left operand of "->" must be pointer to struct/union
"mod_layout.c", line 235: left operand of "->" must be pointer to struct/union
cc: acomp failed for mod_layout.c
apxs:Error: Command failed with rc=65536
.
make: *** [mod_layout.so] Error 1