[csw-maintainers] gar: -I/opt/csw/include -I. should be -I. -I/opt/csw/include
rupert THURNER
rupert at opencsw.org
Sun May 16 09:49:43 CEST 2010
hi, what would be the best way to turn the inclusion directories. in
this case, we have an old version of serf, and its .h files gets
included instead of the new versions to be compiled.
rupert.
---------- Forwarded message ----------
From: Greg Stein <gst... at gmail.com>
Date: May 15, 6:54 pm
Subject: [serf] r1370 committed - Tag for 0.6.1 release.
To: Serf Development List
That is strange. The type is defined in serf_bucket_types.h, which is
included by serf.h, so it should be present in the build.
I believe what is happened is that you're getting the wrong includes.
Your build line has -I/opt/csw/include *before* the -I. .. so if you
have an old serf.h/serf_bucket_types.h in that opt area, then... boom.
How did that directory get before the -I. ? And is there an old serf
there already?
Cheers,
-g
On Sat, May 15, 2010 at 12:17, rupert.thur... at gmail.com
<rupert.thur... at gmail.com> wrote:
> hi, i tried to compile 0.6.1 forhttp://opencsw.orgsolaris packaging,
> but the compilation fails with:
> gmake[3]: Entering directory `/home/rupert/mgar/pkg/libserf/trunk/work/
> solaris9-sparc/build-isa-sparcv8/serf-0.6.1'
> /home/rupert/mgar/pkg/libserf/trunk/work/solaris9-sparc/build-isa-
> sparcv8/serf-0.6.1/libtool --silent --tag=CC --mode=compile /opt/
> studio/SOS12/SUNWspro/bin/cc -mt -xO3 -m32 -xarch=v8 -xnorunpath -
> DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -
> D_LARGEFILE64_SOURCE -I/opt/csw/include -I. -I/opt/csw/apache2/
> include -I/opt/csw/apache2/include -I/opt/csw/include -c -o buckets/
> aggregate_buckets.lo buckets/aggregate_buckets.c && touch buckets/
> aggregate_buckets.lo
> "buckets/aggregate_buckets.c", line 33: syntax error before or at:
> serf_bucket_aggregate_eof_t
> "buckets/aggregate_buckets.c", line 45: improper member use: snapshot
> "buckets/aggregate_buckets.c", line 51: improper member use: done
> "buckets/aggregate_buckets.c", line 52: improper member use: done
> "buckets/aggregate_buckets.c", line 54: improper member use: done
> "buckets/aggregate_buckets.c", line 54: improper member use: done
> "buckets/aggregate_buckets.c", line 55: improper member use: done
> "buckets/aggregate_buckets.c", line 57: improper member use: done
> "buckets/aggregate_buckets.c", line 75: improper member use: list
> "buckets/aggregate_buckets.c", line 76: improper member use: last
> "buckets/aggregate_buckets.c", line 77: improper member use: done
> "buckets/aggregate_buckets.c", line 78: improper member use: snapshot
> "buckets/aggregate_buckets.c", line 79: undefined struct/union member:
> hold_open
> "buckets/aggregate_buckets.c", line 100: improper member use: list
> "buckets/aggregate_buckets.c", line 101: improper member use: list
> "buckets/aggregate_buckets.c", line 101: improper member use: list
> "buckets/aggregate_buckets.c", line 102: improper member use: list
> "buckets/aggregate_buckets.c", line 103: improper member use: list
> "buckets/aggregate_buckets.c", line 104: improper member use: list
> "buckets/aggregate_buckets.c", line 134: improper member use: list
> "buckets/aggregate_buckets.c", line 136: improper member use: list
> "buckets/aggregate_buckets.c", line 155: improper member use: list
> "buckets/aggregate_buckets.c", line 156: improper member use: list
> "buckets/aggregate_buckets.c", line 157: improper member use: last
> "buckets/aggregate_buckets.c", line 160: improper member use: last
> "buckets/aggregate_buckets.c", line 161: improper member use: last
> "buckets/aggregate_buckets.c", line 161: improper member use: last
> "buckets/aggregate_buckets.c", line 166: syntax error before or at:
> serf_bucket_aggregate_eof_t
> "buckets/aggregate_buckets.c", line 166: warning: undefined or missing
> type for: serf_bucket_aggregate_eof_t
> "buckets/aggregate_buckets.c", line 167: warning: undefined or missing
> type for: void
> "buckets/aggregate_buckets.c", line 170: undefined struct/union
> member: hold_open
> "buckets/aggregate_buckets.c", line 170: undefined symbol: fn
> "buckets/aggregate_buckets.c", line 171: undefined symbol: baton
> "buckets/aggregate_buckets.c", line 171: warning: improper pointer/
> integer combination: op "="
> "buckets/aggregate_buckets.c", line 225: improper member use: list
> "buckets/aggregate_buckets.c", line 226: undefined struct/union
> member: hold_open
> "buckets/aggregate_buckets.c", line 227: improper member use:
> hold_open
> "buckets/aggregate_buckets.c", line 227: function designator is not of
> function type
> "buckets/aggregate_buckets.c", line 227: warning: improper pointer/
> integer combination: op "="
> "buckets/aggregate_buckets.c", line 235: improper member use: list
> "buckets/aggregate_buckets.c", line 264: improper member use: list
> "buckets/aggregate_buckets.c", line 265: improper member use: list
> "buckets/aggregate_buckets.c", line 265: improper member use: done
> "buckets/aggregate_buckets.c", line 266: improper member use: done
> "buckets/aggregate_buckets.c", line 266: improper member use: list
> "buckets/aggregate_buckets.c", line 267: improper member use: list
> "buckets/aggregate_buckets.c", line 270: improper member use: list
> "buckets/aggregate_buckets.c", line 271: undefined struct/union
> member: hold_open
> "buckets/aggregate_buckets.c", line 272: improper member use:
> hold_open
> "buckets/aggregate_buckets.c", line 272: function designator is not of
> function type
> "buckets/aggregate_buckets.c", line 272: warning: improper pointer/
> integer combination: op "="
> "buckets/aggregate_buckets.c", line 302: cannot recover from previous
> errors
> cc: acomp failed for buckets/aggregate_buckets.c
> gmake[3]: *** [buckets/aggregate_buckets.lo] Error 1
> gmake[3]: Leaving directory `/home/rupert/mgar/pkg/libserf/trunk/work/
> solaris9-sparc/build-isa-sparcv8/serf-0.6.1'
> gmake[2]: *** [build-work/solaris9-sparc/build-isa-sparcv8/serf-0.6.1/
> Makefile] Error 2
> gmake[2]: Leaving directory `/home/rupert/mgar/pkg/libserf/trunk'
> gmake[1]: *** [merge-isa-sparcv8] Error 2
> gmake[1]: Leaving directory `/home/rupert/mgar/pkg/libserf/trunk'
> gmake: *** [platforms] Error 2
> rupert.
> On May 14, 3:35 pm, s... at googlecode.com wrote:
>> Revision: 1370
>> Author: gstein
>> Date: Fri May 14 06:24:32 2010
>> Log: Tag for 0.6.1 release.
>>http://code.google.com/p/serf/source/detail?r=1370
>> Added:
>> /tags/0.6.1
>> --
>> You received this message because you are subscribed to the Google Groups "Serf Development List" group.
>> To post to this group, send email to serf-dev at googlegroups.com.
>> To unsubscribe from this group, send email to serf-dev+unsubscribe at googlegroups.com.
>> For more options, visit this group athttp://groups.google.com/group/serf-dev?hl=en.
> --
> You received this message because you are subscribed to the Google Groups "Serf Development List" group.
> To post to this group, send email to serf-dev at googlegroups.com.
> To unsubscribe from this group, send email to serf-dev+unsubscribe at googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/serf-dev?hl=en.
--
You received this message because you are subscribed to the Google
Groups "Serf Development List" group.
To post to this group, send email to serf-dev at googlegroups.com.
To unsubscribe from this group, send email to serf-dev
+unsubscribe at googlegroups.com.
For more options, visit this group
athttp://groups.google.com/group/serf-dev?hl=en.
More information about the maintainers
mailing list