This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Can't build cygwin from CVS: configure error


> From: Brian Ford
> Sent: Saturday, October 11, 2003 12:05 AM

> Sorry Hannu, I meant to send this to the list instead of you personally.

 As long as the intention is good ;-) - no problem.


I post this reply to show on the amount of problems there seems to be to
follow the instructions that are actually given today. (Including my
mistakes and all)

 I've stated it before, but I'll stress it once again:
The amount of traffic on this list depends on the quality of the
documentation.

PTC, yes I know - but I'm not alone here, and I'd have a lot to do if I was
to get engaged in supplying patches. Current "IRL" situation doesn't allow
that.

A defintion to be used below: "Yet another obstacle" => YAO


> On Fri, 10 Oct 2003, Hannu E K Nevalainen wrote:
>
> > $ cvs -z3 co winsup
> >
> This gives you everything you need.  I just tested it.

 It didn't at the time when I was doing it, as cgf pointed out in another
posting. YAO


> > To get the cvs /src level stuff (configure among other things) I did
> > $ cvs -z3 co .
> >
> > and then hit CTRL-C when it had arrived... (I guess there is a
> > better way, but I didn't bother tonight)
> >
> Don't do that.
Hit CTRL-C or "co ." ?

CTRL-C; I realised there were possible problems, yes. :-P
Not all software handle this well.
But I DO expect CVS to be more robust than so - in general, keeping in mind
how many users there is (potentially at least).

> > ../configure --prefix=/install --enable-debug -v 2>&1 | tee
> configure.log
> >
> That should be --enable--debugging.

Ok. "--enable-debugging" is all over the lower level configure scripts, nut
NOT in the root level one - which was the only one I checked yesterday.

$ pwd
/src/src
$ find -type f -iname configure | xargs grep -in enable-debug | wc -l
      4
$ find -type f -iname configure | xargs grep -in enable-debugging | wc -l
      4
$ find -type f -iname configure | xargs grep -in debugging | wc -l
    802
$ find -type f -iname configure | xargs grep -in debug | wc -l
    813

 As I had seen this option somewhere I relied on my memory... I had seen it
somewhere, but couldn't find it again. YAO

Rule number 328524: One shall not rely on human memory alone.


Checking the result; seems as some kind of "half-debug" mode was enabled.
I'll have to redo configure and build I believe (considering that cvs co had
errors yesterday).

$ objdump -g /install/cygwin-downloads/snapshots/cygwin1-DEBUG-1.dll

/install/cygwin-downloads/snapshots/cygwin1-DEBUG-1.dll:     file format
pei-i386

bad mangled name `6cygsid_ZN6cygsid4initEv'
Last stabs entries before error:
n_type n_desc n_value  string
LSYM   314    00000000 PACTRL_ACCESS_ENTRY:t(40,268)=(40,61)
LSYM   315    00000000 ACTRL_AUDIT:t(40,269)=(40,112)
LSYM   315    00000000 PACTRL_AUDIT:t(40,270)=(40,271)=*(40,112)
LSYM   316    00000000 ACTRL_CONTROL_INFO:t(40,272)=(40,185)
LSYM   316    00000000 PACTRL_CONTROL_INFO:t(40,273)=(40,274)=*(40,185)
LSYM   317    00000000 EXPLICIT_ACCESS_:t(40,275)=(40,205)
LSYM   317    00000000 PEXPLICIT_ACCESS_:t(40,276)=(40,277)=*(40,205)
LSYM   318    00000000 EXPLICIT_ACCESS:t(40,278)=(40,207)
LSYM   318    00000000 PEXPLICIT_ACCESS:t(40,279)=(40,280)=*(40,207)
LSYM   319    00000000 TRUSTEE_ACCESS:t(40,281)=(40,134)
LSYM   319    00000000 PTRUSTEE_ACCESS:t(40,282)=(40,283)=*(40,134)
LSYM   320    00000000 OBJECTS_AND_NAME_:t(40,284)=(40,240)
LSYM   320    00000000 POBJECTS_AND_NAME_:t(40,285)=(40,286)=*(40,240)
EINCL  0      00000000
LSYM   26     00000000
cygpsid:Tt(39,1)=s4psid:/1(22,388),0,32;operator=::(39,2)=#(39,1),(39,3)=&(3
9,1),(39,4)=*(39,1),(39,5)=&(39,6)=k(39,1),(10,13);:_ZN7cygpsidaSERKS_;2A.;_
_base_ctor::(39,7)=#(39,1),(10,13),(39,4),(39,5),(10,13);:_ZN7cygpsidC2ERKS_
;2A.;__comp_ctor::(39,7):_ZN7cygpsidC1ERKS_;2A.;__base_ctor::(39,8)=#(39,1),
(10,13),(39,4),(10,13);:_ZN7cygpsidC2Ev;2A.;__comp_ctor::(39,8):_ZN7cygpsidC
1Ev;2A.;__base_ctor::(39,9)=#(39,1),(10,13),(39,4),(26,21),(10,13);:_ZN7cygp
sidC2EPv;2A.;__comp_ctor::(39,9):_ZN7cygpsidC1EPv;2A.;operator
1::(39,10)=#(39,1),(39,11)=k(22,388),(39,4),(10,13);:_ZN7cygpsidcvKPvEv;2A.;
operator=::(39,12)=#(39,1),(39,11),(39,4),(26,21),(10,13);:_ZN7cygpsidaSEPv;
2A.;get_id::(39,13)=#(39,1),(15,12),(39,4),(0,1),(21,4),(10,13);:_ZN7cygpsid
6get_idEiPi;2A.;get_uid::(39,14)=#(39,1),(0,1),(39,4),(10,13);:_ZN7cygpsid7g
et_uidEv;2A.;get_gid::(39,14):_ZN7cygpsid7get_gidEv;2A.;string::(39,15)=#(39
,1),(4,33),(39,16)=*(39,6),(4,33),(10,13);:_ZNK7cygpsid6stringEPc;2B.;operat
or==::(39,17)=#(39,1),(0,21),(39,16),(26,21),(10,13);:_ZNK7cygpsideqEPv;2B.;
operator!=::(39,17):_ZNK7cygpsidneEPv;2B.;operator==::(39,18)=#(39,1),(0,21)
,(39,16),(18,10),(10,13);:_ZNK7cygpsideqEPKc;2B.;operator!=::(39,18):_ZNK7cy
gpsidneEPKc;2B.;debug_print::(39,19)=#(39,1),(10,13),(39,16),(18,10),(10,13)
;:_ZNK7cygpsid11debug_printEPKc;2B.;;
LSYM   59     00000000
cygsid:Tt(39,20)=s44!1,020,(39,1);sbuf:/0(37,10),32,320;__base_ctor::(39,21)
=#(39,20),(10,13),(39,22)=*(39,20),(39,23)=&(39,24)=k(39,20),(10,13);:_ZN6cy
gsidC2ERKS_;2A.;__comp_ctor::(39,21):_ZN6cygsidC1ERKS_;2A.;getfromstr::(39,2
5)=#(39,20),(39,11),(39,22),(18,10),(10,13);:_ZN6cygsid10getfromstrEPKc;0A.;
get_sid::(39,26)=#(39,20),(22,388),(39,22),(0,5),(0,5),(21,26),(10,13);:_ZN6
cygsid7get_sidEmmPm;0A.;assign::(39,27)=#(39,20),(39,11),(39,22),(26,21),(10
,13);:_ZN6cygsid6assignEPv;0A.;init::(26,33):_ZN6cygsid4initEv;2A?;operator
1::(39,28)=#(39,20),(39,11),(39,22),(10,13);:_ZN6cygsidcvKPvEv;2A.;operator=
::(39,29)=#(39,20),(39,11),(39,22),(39,30)=&(39,20),(10,13);:_ZN6cygsidaSERS
_;2A.(39,27):_ZN6cygsidaSEPv;2A.(39,25):_ZN6cygsidaSEPKc;2A.;__base_ctor::(3
9,31)=#(39,20),(10,13),(39,22),(10,13);:_ZN6cygsidC2Ev;2A.;__comp_ctor::(39,
31):_ZN6cygsidC1Ev;2A.;__base_ctor::(39,32)=#(39,20),(10,13),(39,22),(26,21)
,(10,13);:_ZN6cygsidC2EPv;2A.;__comp_ctor::(39,32):_ZN6cygsidC1EPv;2A.;__bas
e_ctor::(39,33)=#(39,20),(10,13),(39,22),(18,10),(10,13);:_ZN6cygsidC2EPKc;2
A.;__comp_ctor::(39,33):_ZN6cygsidC1EPKc;2A.;set::(39,34)=#(39,20),(22,388),
(39,22),(10,13);:_ZN6cygsid3setEv;2A.;getfrompw::(39,35)=#(39,20),(21,6),(39
,22),(39,36)=*(39,37)=k(39,38)=xspasswd:,(10,13);:_ZN6cygsid9getfrompwEPK6pa
sswd;2A.;getfromgr::(39,39)=#(39,20),(21,6),(39,22),(39,40)=*(39,41)=k(39,42
)=xs__group32:,(10,13);:_ZN6cygsid9getfromgrEPK9__group32;2A.;;

$

Yes that's all folks. I bet there should be more (It displays an error
message in the beginning).
I'll keep that dll around a few days - if someone wishes to have a look at
it.


> > /src/src contains winsup/, newlib/, libiberty/ among other things e.g.
> > Makefile and configure.
> >
> Should probably be just /src.

 i.e. you have to to have / as current dir when you do the cvs checkout; not
stated explicitly anywhere in the descriptions. YAO


> > In using the script above, with a /src/src/build as *current*
> directory, the
> > make phase stops as shown below.
> >
> Please don't use a subdirectory as a build directory.  If your sources are
> in /src, then make your build directory parallel ie. /build.

 Instructions doesn't stress/imply the need to have it parallel, just that
it should be "outside/other the/than source dir" (or some such). YAO.


I think I'll do a cleanup and restart it all over again, cvs checkout and
all.

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- UTC+01, DST -> UTC+02  --
--END OF MESSAGE--


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]