How to get an old cygwin version???

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

How to get an old cygwin version???

hal3390
--- In [hidden email], "yvangamache"

Got the same problem with Cygwin 1.5.15 -

can anybody tell me, how I can get an older version of cygwin?

I cannot find an option in the cygwin setup program, that allow me,
to define the version, I want to install.

regards
Roger

<yvangamache@h...> wrote:
>
> Errors received:
>
> ...
> make[2]: Entering directory `/root/hercules/i686_fthread'
> if /bin/bash ./libtool --mode=compile --tag=CC i686-pc-cygwin-gcc -
> DHAVE_CONFIG_H -I. -I.. -I.  -I.. -I../intl   -fomit-frame-
pointer -
> O3 -march=i686  -W -Wall  -Wno-format -MT hsys.lo -MD -MP -
> MF ".deps/hsys.Tpo" -c -o hsys.lo ../hsys.c; \
> then mv -f ".deps/hsys.Tpo" ".deps/hsys.Plo"; else rm -
> f ".deps/hsys.Tpo"; exit 1; fi
>  i686-pc-cygwin-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../intl -
> fomit-frame-pointer -O3 -march=i686 -W -Wall -Wno-format -MT
hsys.lo -

> MD -MP -MF .deps/hsys.Tpo -c ../hsys.c  -DPIC -o .libs/hsys.o
> In file included from ../hercules.h:91,
>                  from ../hsys.c:1:
> ../hscutl.h:40: error: conflicting types for `getpriority'
> /usr/include/sys/resource.h:76: error: previous declaration of
> `getpriority'
> ../hscutl.h:41: error: conflicting types for `setpriority'
> /usr/include/sys/resource.h:77: error: previous declaration of
> `setpriority'
> make[2]: *** [hsys.lo] Error 1
> make[2]: Leaving directory `/root/hercules/i686_fthread'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/hercules/i686_fthread'
> make: *** [all] Error 2
>
>
> Going back to Cygwin 1.5.12-1 resolves the issue.




Community email addresses:
  Post message: [hidden email]
  Subscribe:    [hidden email]
  Unsubscribe:  [hidden email]
  List owner:   [hidden email]

Files and archives at:
  http://groups.yahoo.com/group/hercules-390

Get the latest version of Hercules from:
  http://www.conmicro.cx/hercules 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/hercules-390/

<*> To unsubscribe from this group, send an email to:
    [hidden email]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply | Threaded
Open this post in threaded view
|

Who can help me to build hercules under WinXP???

hal3390
--- In [hidden email], "hal3390" <Roger.Bilau@g...>
wrote:
Tried again with cygwin 1.5.17.1 and got the same failure ... sh..

Who can help me? - im not able to build hercules with cygwin under
WinXP (necessary, because it should run on my notebook).
With the Ready-for-Run versions from Volker I got problems with
cygwin 1.5.15 and so I want to build hercules as described, but the
make always die with errors.

I'm not the guy that work every day with cvs and unix software.
In the past it was easy: get cygwin, get hercules and it run. But
now the dokumentation says: hercules was build with cygwin 1.5.5 -
but where (or better: how) can I get 1.5.5.

Anybody that have/had the same problems?


> --- In [hidden email], "yvangamache"
>
> Got the same problem with Cygwin 1.5.15 -
>
> can anybody tell me, how I can get an older version of cygwin?
>
> I cannot find an option in the cygwin setup program, that allow
me,

> to define the version, I want to install.
>
> regards
> Roger
>
> <yvangamache@h...> wrote:
> >
> > Errors received:
> >
> > ...
> > make[2]: Entering directory `/root/hercules/i686_fthread'
> > if /bin/bash ./libtool --mode=compile --tag=CC i686-pc-cygwin-
gcc -

> > DHAVE_CONFIG_H -I. -I.. -I.  -I.. -I../intl   -fomit-frame-
> pointer -
> > O3 -march=i686  -W -Wall  -Wno-format -MT hsys.lo -MD -MP -
> > MF ".deps/hsys.Tpo" -c -o hsys.lo ../hsys.c; \
> > then mv -f ".deps/hsys.Tpo" ".deps/hsys.Plo"; else rm -
> > f ".deps/hsys.Tpo"; exit 1; fi
> >  i686-pc-cygwin-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../intl -
> > fomit-frame-pointer -O3 -march=i686 -W -Wall -Wno-format -MT
> hsys.lo -
> > MD -MP -MF .deps/hsys.Tpo -c ../hsys.c  -DPIC -o .libs/hsys.o
> > In file included from ../hercules.h:91,
> >                  from ../hsys.c:1:
> > ../hscutl.h:40: error: conflicting types for `getpriority'
> > /usr/include/sys/resource.h:76: error: previous declaration of
> > `getpriority'
> > ../hscutl.h:41: error: conflicting types for `setpriority'
> > /usr/include/sys/resource.h:77: error: previous declaration of
> > `setpriority'
> > make[2]: *** [hsys.lo] Error 1
> > make[2]: Leaving directory `/root/hercules/i686_fthread'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/root/hercules/i686_fthread'
> > make: *** [all] Error 2
> >
> >
> > Going back to Cygwin 1.5.12-1 resolves the issue.




Community email addresses:
  Post message: [hidden email]
  Subscribe:    [hidden email]
  Unsubscribe:  [hidden email]
  List owner:   [hidden email]

Files and archives at:
  http://groups.yahoo.com/group/hercules-390

Get the latest version of Hercules from:
  http://www.conmicro.cx/hercules 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/hercules-390/

<*> To unsubscribe from this group, send an email to:
    [hidden email]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply | Threaded
Open this post in threaded view
|

Re: Who can help me to build hercules under WinXP???

andybianchi

I had the same error that you did with get/set priority and I fixed
it my hacking the Hercules code (not the best approach but it seemed
to work okay).

I'm also running on Windows XP with the latest version of Cygwin,
e.g. if I do "uname -a" I get:

CYGWIN_NT-5.1 Carl 1.5.17(0.129/4/2) 2005-05-25 19:38 i686 unknown
unknown Cygwin

Assuming you have all of the necassary development tools (I had
problems when I didn't have libtool and the associated things) then
the code for hercules (I have 3.0.2) should compile fine, except for
the get/set priority bug.

I'm just running the compile again so I can hit the same bug and then
I'll try and do a fix with and get a patch to send to you.

Cheers,

Andy


--- In [hidden email], "hal3390" <Roger.Bilau@g...>
wrote:

> --- In [hidden email], "hal3390" <Roger.Bilau@g...>
> wrote:
> Tried again with cygwin 1.5.17.1 and got the same failure ... sh..
>
> Who can help me? - im not able to build hercules with cygwin under
> WinXP (necessary, because it should run on my notebook).
> With the Ready-for-Run versions from Volker I got problems with
> cygwin 1.5.15 and so I want to build hercules as described, but the
> make always die with errors.
>
> I'm not the guy that work every day with cvs and unix software.
> In the past it was easy: get cygwin, get hercules and it run. But
> now the dokumentation says: hercules was build with cygwin 1.5.5 -
> but where (or better: how) can I get 1.5.5.
>
> Anybody that have/had the same problems?
>
>
> > --- In [hidden email], "yvangamache"
> >
> > Got the same problem with Cygwin 1.5.15 -
> >
> > can anybody tell me, how I can get an older version of cygwin?
> >
> > I cannot find an option in the cygwin setup program, that allow
> me,
> > to define the version, I want to install.
> >
> > regards
> > Roger
> >
> > <yvangamache@h...> wrote:
> > >
> > > Errors received:
> > >
> > > ...
> > > make[2]: Entering directory `/root/hercules/i686_fthread'
> > > if /bin/bash ./libtool --mode=compile --tag=CC i686-pc-cygwin-
> gcc -
> > > DHAVE_CONFIG_H -I. -I.. -I.  -I.. -I../intl   -fomit-frame-
> > pointer -
> > > O3 -march=i686  -W -Wall  -Wno-format -MT hsys.lo -MD -MP -
> > > MF ".deps/hsys.Tpo" -c -o hsys.lo ../hsys.c; \
> > > then mv -f ".deps/hsys.Tpo" ".deps/hsys.Plo"; else rm -
> > > f ".deps/hsys.Tpo"; exit 1; fi
> > >  i686-pc-cygwin-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -
I../intl -

> > > fomit-frame-pointer -O3 -march=i686 -W -Wall -Wno-format -MT
> > hsys.lo -
> > > MD -MP -MF .deps/hsys.Tpo -c ../hsys.c  -DPIC -o .libs/hsys.o
> > > In file included from ../hercules.h:91,
> > >                  from ../hsys.c:1:
> > > ../hscutl.h:40: error: conflicting types for `getpriority'
> > > /usr/include/sys/resource.h:76: error: previous declaration of
> > > `getpriority'
> > > ../hscutl.h:41: error: conflicting types for `setpriority'
> > > /usr/include/sys/resource.h:77: error: previous declaration of
> > > `setpriority'
> > > make[2]: *** [hsys.lo] Error 1
> > > make[2]: Leaving directory `/root/hercules/i686_fthread'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/root/hercules/i686_fthread'
> > > make: *** [all] Error 2
> > >
> > >
> > > Going back to Cygwin 1.5.12-1 resolves the issue.




Community email addresses:
  Post message: [hidden email]
  Subscribe:    [hidden email]
  Unsubscribe:  [hidden email]
  List owner:   [hidden email]

Files and archives at:
  http://groups.yahoo.com/group/hercules-390

Get the latest version of Hercules from:
  http://www.conmicro.cx/hercules 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/hercules-390/

<*> To unsubscribe from this group, send an email to:
    [hidden email]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply | Threaded
Open this post in threaded view
|

Re: Who can help me to build hercules under WinXP???

andybianchi
Here are two patches that should allow you to compile Hercules under
Cygwin.  These changes to the code seemed to work fine for me
although a) I can't guarentee anything and b) there may be a better
way to get things fixed than this hackery!

Hope this helps.

---------8<--------8<----Cut here---->8-------->8-------
*** hscutl.h.orig       Fri Jun 24 13:21:50 2005
--- hscutl.h    Fri Jun 24 13:22:27 2005
***************
*** 37,44 ****
  #define PRIO_PGRP    1
  #define PRIO_USER    2
 
! int getpriority(int, int);
! int setpriority(int, int, int);
 
  #endif /*defined(__CYGWIN__)*/
 
--- 37,44 ----
  #define PRIO_PGRP    1
  #define PRIO_USER    2
 
! int getpriority(int, id_t);
! int setpriority(int, id_t, int);
 
  #endif /*defined(__CYGWIN__)*/
---------8<--------8<----Cut here---->8-------->8-------

And

---------8<--------8<----Cut here---->8-------->8-------
*** hscutl2.c.orig      Fri Jun 24 13:30:46 2005
--- hscutl2.c   Fri Jun 24 13:34:57 2005
***************
*** 36,43 ****
  /*      The following functional equivalents are provided for
the     */
  /*      CYGWIN
environment:                                           */
  /*                                                                  
  */
! /*      int getpriority(int which, int
who);                          */
! /*      int setpriority(int which, int who, int
prio);                */
  /*                                                                  
  */
  /*                                                                  
  */
  /*******************************************************************
***/
--- 36,43 ----
  /*      The following functional equivalents are provided for
the     */
  /*      CYGWIN
environment:                                           */
  /*                                                                  
  */
! /*      int getpriority(int which, id_t
who);                          */
! /*      int setpriority(int which, id_t who, int
prio);                */
  /*                                                                  
  */
  /*                                                                  
  */
  /*******************************************************************
***/
***************
*** 60,66 ****
 
  /*******************************************************************
***/
  /*                                                                  
  */
! /*      int getpriority(int which , int
who );                        */
  /*                                                                  
  */
  /*      
Notes:                                                        */
  /*                                                                  
  */
--- 60,66 ----
 
  /*******************************************************************
***/
  /*                                                                  
  */
! /*      int getpriority(int which , id_t
who );                        */
  /*                                                                  
  */
  /*      
Notes:                                                        */
  /*                                                                  
  */
***************
*** 72,78 ****
  /*******************************************************************
***/
 
  inline int
! getpriority_process(int who)
  {
 
      HANDLE process;
--- 72,78 ----
  /*******************************************************************
***/
 
  inline int
! getpriority_process(id_t who)
  {
 
      HANDLE process;
***************
*** 96,102 ****
 
 
  inline int
! getpriority_thread(int who)
  {
 
      HANDLE thread;
--- 96,102 ----
 
 
  inline int
! getpriority_thread(id_t who)
  {
 
      HANDLE thread;
***************
*** 121,127 ****
 
 
  inline int
! getpriority_user(int who)
  {
      if (who)
         return EINVAL;
--- 121,127 ----
 
 
  inline int
! getpriority_user(id_t who)
  {
      if (who)
         return EINVAL;
***************
*** 130,136 ****
 
 
  int
! getpriority(int which , int who )
  {
      switch (which) {
        case PRIO_PROCESS:
--- 130,136 ----
 
 
  int
! getpriority(int which , id_t who )
  {
      switch (which) {
        case PRIO_PROCESS:
***************
*** 146,152 ****
  /*******************************************************************
***/
  /*                                                                  
  */
! /*      int setpriority(int which , int who , int
prio );             */
  /*                                                                  
  */
  /*      
Notes:                                                        */
  /*                                                                  
  */
--- 146,152 ----
 
  /*******************************************************************
***/
  /*                                                                  
  */
! /*      int setpriority(int which , id_t who , int
prio );             */
  /*                                                                  
  */
  /*      
Notes:                                                        */
  /*                                                                  
  */
***************
*** 158,164 ****
  /*******************************************************************
***/
 
  inline int
! setpriority_process(int who , int prio )
  {
 
      HANDLE process;
--- 158,164 ----
  /*******************************************************************
***/
 
  inline int
! setpriority_process(id_t who , int prio )
  {
 
      HANDLE process;
***************
*** 183,189 ****
 
 
  inline int
! setpriority_thread(int who , int prio )
  {
 
      HANDLE thread;
--- 183,189 ----
 
 
  inline int
! setpriority_thread(id_t who , int prio )
  {
 
      HANDLE thread;
***************
*** 209,215 ****
 
 
  inline int
! setpriority_user(int who , int prio )
  {
      if (who)
         return EINVAL;
--- 209,215 ----
 
 
  inline int
! setpriority_user(id_t who , int prio )
  {
      if (who)
         return EINVAL;
***************
*** 219,225 ****
 
 
  int
! setpriority(int which , int who , int prio )
  {
      switch (which) {
        case PRIO_PROCESS:
--- 219,225 ----
 
 
  int
! setpriority(int which , id_t who , int prio )
  {
      switch (which) {
        case PRIO_PROCESS:

---------8<--------8<----Cut here---->8-------->8-------  
 





--- In [hidden email], "andybianchi" <andybianchi@y...>
wrote:
>
> I had the same error that you did with get/set priority and I fixed
> it my hacking the Hercules code (not the best approach but it
seemed

> to work okay).
>
> I'm also running on Windows XP with the latest version of Cygwin,
> e.g. if I do "uname -a" I get:
>
> CYGWIN_NT-5.1 Carl 1.5.17(0.129/4/2) 2005-05-25 19:38 i686 unknown
> unknown Cygwin
>
> Assuming you have all of the necassary development tools (I had
> problems when I didn't have libtool and the associated things) then
> the code for hercules (I have 3.0.2) should compile fine, except
for
> the get/set priority bug.
>
> I'm just running the compile again so I can hit the same bug and
then

> I'll try and do a fix with and get a patch to send to you.
>
> Cheers,
>
> Andy
>
>
> --- In [hidden email], "hal3390" <Roger.Bilau@g...>
> wrote:
> > --- In [hidden email], "hal3390" <Roger.Bilau@g...>
> > wrote:
> > Tried again with cygwin 1.5.17.1 and got the same failure ... sh..
> >
> > Who can help me? - im not able to build hercules with cygwin
under
> > WinXP (necessary, because it should run on my notebook).
> > With the Ready-for-Run versions from Volker I got problems with
> > cygwin 1.5.15 and so I want to build hercules as described, but
the
> > make always die with errors.
> >
> > I'm not the guy that work every day with cvs and unix software.
> > In the past it was easy: get cygwin, get hercules and it run. But
> > now the dokumentation says: hercules was build with cygwin 1.5.5 -
 

> > but where (or better: how) can I get 1.5.5.
> >
> > Anybody that have/had the same problems?
> >
> >
> > > --- In [hidden email], "yvangamache"
> > >
> > > Got the same problem with Cygwin 1.5.15 -
> > >
> > > can anybody tell me, how I can get an older version of cygwin?
> > >
> > > I cannot find an option in the cygwin setup program, that allow
> > me,
> > > to define the version, I want to install.
> > >
> > > regards
> > > Roger
> > >
> > > <yvangamache@h...> wrote:
> > > >
> > > > Errors received:
> > > >
> > > > ...
> > > > make[2]: Entering directory `/root/hercules/i686_fthread'
> > > > if /bin/bash ./libtool --mode=compile --tag=CC i686-pc-cygwin-
> > gcc -
> > > > DHAVE_CONFIG_H -I. -I.. -I.  -I.. -I../intl   -fomit-frame-
> > > pointer -
> > > > O3 -march=i686  -W -Wall  -Wno-format -MT hsys.lo -MD -MP -
> > > > MF ".deps/hsys.Tpo" -c -o hsys.lo ../hsys.c; \
> > > > then mv -f ".deps/hsys.Tpo" ".deps/hsys.Plo"; else rm -
> > > > f ".deps/hsys.Tpo"; exit 1; fi
> > > >  i686-pc-cygwin-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -
> I../intl -
> > > > fomit-frame-pointer -O3 -march=i686 -W -Wall -Wno-format -MT
> > > hsys.lo -
> > > > MD -MP -MF .deps/hsys.Tpo -c ../hsys.c  -DPIC -o .libs/hsys.o
> > > > In file included from ../hercules.h:91,
> > > >                  from ../hsys.c:1:
> > > > ../hscutl.h:40: error: conflicting types for `getpriority'
> > > > /usr/include/sys/resource.h:76: error: previous declaration
of
> > > > `getpriority'
> > > > ../hscutl.h:41: error: conflicting types for `setpriority'
> > > > /usr/include/sys/resource.h:77: error: previous declaration
of
> > > > `setpriority'
> > > > make[2]: *** [hsys.lo] Error 1
> > > > make[2]: Leaving directory `/root/hercules/i686_fthread'
> > > > make[1]: *** [all-recursive] Error 1
> > > > make[1]: Leaving directory `/root/hercules/i686_fthread'
> > > > make: *** [all] Error 2
> > > >
> > > >
> > > > Going back to Cygwin 1.5.12-1 resolves the issue.





Community email addresses:
  Post message: [hidden email]
  Subscribe:    [hidden email]
  Unsubscribe:  [hidden email]
  List owner:   [hidden email]

Files and archives at:
  http://groups.yahoo.com/group/hercules-390

Get the latest version of Hercules from:
  http://www.conmicro.cx/hercules 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/hercules-390/

<*> To unsubscribe from this group, send an email to:
    [hidden email]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply | Threaded
Open this post in threaded view
|

Re: Who can help me to build hercules under WinXP???

hal3390
Thank you for the help - I've compared the two files in a newer
snapshot and replaced them and the make run sucessfully.

What I don't understand is, that after this make every *.exe file
has a size of 6KB - maybe it's normal.

And now I got new errors with the make install-strip.

libtool: install: warning: relinking `libherc.la'
(cd /hercules-3.02; /bin/bash ./libtool --mode=relink gcc -fomit-
frame-pointer -
O3 -march=i686 -W -Wall -Wno-format -Wl,--warn-common -o libherc.la -
rpath /usr/
local/lib -export-dynamic -no-undefined -avoid-version impl.lo
config.lo bldcfg.
lo panel.lo history.lo fillfnam.lo ipl.lo assist.lo dat.lo stack.lo
cpu.lo vstor
e.lo general1.lo general2.lo plo.lo control.lo crypto.lo io.lo
decimal.lo servic
e.lo chsc.lo opcode.lo diagnose.lo diagmssf.lo vm.lo channel.lo
external.lo floa
t.lo trace.lo machchk.lo vector.lo xstore.lo cmpsc.lo sie.lo qdio.lo
timer.lo es
ame.lo ieee.lo httpserv.lo cgibin.lo loadparm.lo hsccmd.lo
hscmisc.lo sr.lo ecps
vm.lo libhercs.la libhercu.la libherct.la
libhercd.la ./intl/libintl.la -liconv
-liconv -lbz2 -lpthread -lz -lm -lbz2 -lpthread -lz -lm )
gcc -
shared  .libs/impl.o .libs/config.o .libs/bldcfg.o .libs/panel.o .lib
s/hist
ory.o .libs/fillfnam.o .libs/ipl.o .libs/assist.o .libs/dat.o .libs/s
tack.o .lib
s/cpu.o .libs/vstore.o .libs/general1.o .libs/general2.o .libs/plo.o
.libs/contr
ol.o .libs/crypto.o .libs/io.o .libs/decimal.o .libs/service.o .libs/
chsc.o .lib
s/opcode.o .libs/diagnose.o .libs/diagmssf.o .libs/vm.o .libs/channel
.o .libs/ex
ternal.o .libs/float.o .libs/trace.o .libs/machchk.o .libs/vector.o .
libs/xstore
.o .libs/cmpsc.o .libs/sie.o .libs/qdio.o .libs/timer.o .libs/esame.o
 .libs/ieee
.o .libs/httpserv.o .libs/cgibin.o .libs/loadparm.o .libs/hsccmd.o .l
ibs/hscmisc
.o .libs/sr.o .libs/ecpsvm.o -Wl,--whole-
archive ./.libs/libhercu.a ./.libs/libh
erct.a ./.libs/libhercd.a -Wl,--no-whole-archive  -L/usr/lib -
L/hercules-3.02/in
tl/.libs -L/usr/local/lib -lhercs -lintl -liconv -lbz2 -lpthread -
lz  -march=i68
6 -Wl,--warn-common -o .libs/cygherc.dll -Wl,--image-
base=0x10000000 -Wl,--out-i
mplib,.libs/libherc.dll.a
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-
cygwin/bin/ld: cannot
find -lhercs
collect2: ld returned 1 exit status
libtool: install: error: relink `libherc.la' with the above command
before insta
lling it
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory `/hercules-3.02'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/hercules-3.02'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/hercules-3.02'
make: *** [install-strip] Error 2

Where is my mistake???

--- In [hidden email], "andybianchi"
<andybianchi@y...> wrote:
> Here are two patches that should allow you to compile Hercules
under
> Cygwin.  These changes to the code seemed to work fine for me
> although a) I can't guarentee anything and b) there may be a
better

> way to get things fixed than this hackery!
>
> Hope this helps.
>
> ---------8<--------8<----Cut here---->8-------->8-------
> *** hscutl.h.orig       Fri Jun 24 13:21:50 2005
> --- hscutl.h    Fri Jun 24 13:22:27 2005
> ***************
> *** 37,44 ****
>   #define PRIO_PGRP    1
>   #define PRIO_USER    2
>  
> ! int getpriority(int, int);
> ! int setpriority(int, int, int);
>  
>   #endif /*defined(__CYGWIN__)*/
>  
> --- 37,44 ----
>   #define PRIO_PGRP    1
>   #define PRIO_USER    2
>  
> ! int getpriority(int, id_t);
> ! int setpriority(int, id_t, int);
>  
>   #endif /*defined(__CYGWIN__)*/
> ---------8<--------8<----Cut here---->8-------->8-------
>
> And
>
> ---------8<--------8<----Cut here---->8-------->8-------
> *** hscutl2.c.orig      Fri Jun 24 13:30:46 2005
> --- hscutl2.c   Fri Jun 24 13:34:57 2005
> ***************
> *** 36,43 ****
>   /*      The following functional equivalents are provided for
> the     */
>   /*      CYGWIN
> environment:                                           */
>   /*                                                              
   
>   */
> ! /*      int getpriority(int which, int
> who);                          */
> ! /*      int setpriority(int which, int who, int
> prio);                */
>   /*                                                              
   
>   */
>   /*                                                              
   
>   */
>   /****************************************************************
***
> ***/
> --- 36,43 ----
>   /*      The following functional equivalents are provided for
> the     */
>   /*      CYGWIN
> environment:                                           */
>   /*                                                              
   
>   */
> ! /*      int getpriority(int which, id_t
> who);                          */
> ! /*      int setpriority(int which, id_t who, int
> prio);                */
>   /*                                                              
   
>   */
>   /*                                                              
   
>   */
>   /****************************************************************
***
> ***/
> ***************
> *** 60,66 ****
>  
>   /****************************************************************
***
> ***/
>   /*                                                              
   
>   */
> ! /*      int getpriority(int which , int
> who );                        */
>   /*                                                              
   
>   */
>   /*      
> Notes:                                                        */
>   /*                                                              
   
>   */
> --- 60,66 ----
>  
>   /****************************************************************
***
> ***/
>   /*                                                              
   
>   */
> ! /*      int getpriority(int which , id_t
> who );                        */
>   /*                                                              
   
>   */
>   /*      
> Notes:                                                        */
>   /*                                                              
   
>   */
> ***************
> *** 72,78 ****
>   /****************************************************************
***
> ***/
>  
>   inline int
> ! getpriority_process(int who)
>   {
>  
>       HANDLE process;
> --- 72,78 ----
>   /****************************************************************
***

> ***/
>  
>   inline int
> ! getpriority_process(id_t who)
>   {
>  
>       HANDLE process;
> ***************
> *** 96,102 ****
>  
>  
>   inline int
> ! getpriority_thread(int who)
>   {
>  
>       HANDLE thread;
> --- 96,102 ----
>  
>  
>   inline int
> ! getpriority_thread(id_t who)
>   {
>  
>       HANDLE thread;
> ***************
> *** 121,127 ****
>  
>  
>   inline int
> ! getpriority_user(int who)
>   {
>       if (who)
>          return EINVAL;
> --- 121,127 ----
>  
>  
>   inline int
> ! getpriority_user(id_t who)
>   {
>       if (who)
>          return EINVAL;
> ***************
> *** 130,136 ****
>  
>  
>   int
> ! getpriority(int which , int who )
>   {
>       switch (which) {
>         case PRIO_PROCESS:
> --- 130,136 ----
>  
>  
>   int
> ! getpriority(int which , id_t who )
>   {
>       switch (which) {
>         case PRIO_PROCESS:
> ***************
> *** 146,152 ****
>   /****************************************************************
***
> ***/
>   /*                                                              
   
>   */
> ! /*      int setpriority(int which , int who , int
> prio );             */
>   /*                                                              
   
>   */
>   /*      
> Notes:                                                        */
>   /*                                                              
   
>   */
> --- 146,152 ----
>  
>   /****************************************************************
***
> ***/
>   /*                                                              
   
>   */
> ! /*      int setpriority(int which , id_t who , int
> prio );             */
>   /*                                                              
   
>   */
>   /*      
> Notes:                                                        */
>   /*                                                              
   
>   */
> ***************
> *** 158,164 ****
>   /****************************************************************
***
> ***/
>  
>   inline int
> ! setpriority_process(int who , int prio )
>   {
>  
>       HANDLE process;
> --- 158,164 ----
>   /****************************************************************
***

> ***/
>  
>   inline int
> ! setpriority_process(id_t who , int prio )
>   {
>  
>       HANDLE process;
> ***************
> *** 183,189 ****
>  
>  
>   inline int
> ! setpriority_thread(int who , int prio )
>   {
>  
>       HANDLE thread;
> --- 183,189 ----
>  
>  
>   inline int
> ! setpriority_thread(id_t who , int prio )
>   {
>  
>       HANDLE thread;
> ***************
> *** 209,215 ****
>  
>  
>   inline int
> ! setpriority_user(int who , int prio )
>   {
>       if (who)
>          return EINVAL;
> --- 209,215 ----
>  
>  
>   inline int
> ! setpriority_user(id_t who , int prio )
>   {
>       if (who)
>          return EINVAL;
> ***************
> *** 219,225 ****
>  
>  
>   int
> ! setpriority(int which , int who , int prio )
>   {
>       switch (which) {
>         case PRIO_PROCESS:
> --- 219,225 ----
>  
>  
>   int
> ! setpriority(int which , id_t who , int prio )
>   {
>       switch (which) {
>         case PRIO_PROCESS:
>
> ---------8<--------8<----Cut here---->8-------->8-------  
>  
>
>
>
>
>
> --- In [hidden email], "andybianchi"
<andybianchi@y...>
> wrote:
> >
> > I had the same error that you did with get/set priority and I
fixed
> > it my hacking the Hercules code (not the best approach but it
> seemed
> > to work okay).
> >
> > I'm also running on Windows XP with the latest version of
Cygwin,
> > e.g. if I do "uname -a" I get:
> >
> > CYGWIN_NT-5.1 Carl 1.5.17(0.129/4/2) 2005-05-25 19:38 i686
unknown
> > unknown Cygwin
> >
> > Assuming you have all of the necassary development tools (I had
> > problems when I didn't have libtool and the associated things)
then

> > the code for hercules (I have 3.0.2) should compile fine, except
> for
> > the get/set priority bug.
> >
> > I'm just running the compile again so I can hit the same bug and
> then
> > I'll try and do a fix with and get a patch to send to you.
> >
> > Cheers,
> >
> > Andy
> >
> >
> > --- In [hidden email], "hal3390"
<Roger.Bilau@g...>
> > wrote:
> > > --- In [hidden email], "hal3390"
<Roger.Bilau@g...>
> > > wrote:
> > > Tried again with cygwin 1.5.17.1 and got the same failure ...
sh..
> > >
> > > Who can help me? - im not able to build hercules with cygwin
> under
> > > WinXP (necessary, because it should run on my notebook).
> > > With the Ready-for-Run versions from Volker I got problems
with
> > > cygwin 1.5.15 and so I want to build hercules as described,
but
> the
> > > make always die with errors.
> > >
> > > I'm not the guy that work every day with cvs and unix software.
> > > In the past it was easy: get cygwin, get hercules and it run.
But
> > > now the dokumentation says: hercules was build with cygwin
1.5.5 -

>  
> > > but where (or better: how) can I get 1.5.5.
> > >
> > > Anybody that have/had the same problems?
> > >
> > >
> > > > --- In [hidden email], "yvangamache"
> > > >
> > > > Got the same problem with Cygwin 1.5.15 -
> > > >
> > > > can anybody tell me, how I can get an older version of
cygwin?
> > > >
> > > > I cannot find an option in the cygwin setup program, that
allow

> > > me,
> > > > to define the version, I want to install.
> > > >
> > > > regards
> > > > Roger
> > > >
> > > > <yvangamache@h...> wrote:
> > > > >
> > > > > Errors received:
> > > > >
> > > > > ...
> > > > > make[2]: Entering directory `/root/hercules/i686_fthread'
> > > > > if /bin/bash ./libtool --mode=compile --tag=CC i686-pc-
cygwin-

> > > gcc -
> > > > > DHAVE_CONFIG_H -I. -I.. -I.  -I.. -I../intl   -fomit-frame-
> > > > pointer -
> > > > > O3 -march=i686  -W -Wall  -Wno-format -MT hsys.lo -MD -MP -
> > > > > MF ".deps/hsys.Tpo" -c -o hsys.lo ../hsys.c; \
> > > > > then mv -f ".deps/hsys.Tpo" ".deps/hsys.Plo"; else rm -
> > > > > f ".deps/hsys.Tpo"; exit 1; fi
> > > > >  i686-pc-cygwin-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -
> > I../intl -
> > > > > fomit-frame-pointer -O3 -march=i686 -W -Wall -Wno-format -
MT
> > > > hsys.lo -
> > > > > MD -MP -MF .deps/hsys.Tpo -c ../hsys.c  -DPIC -
o .libs/hsys.o
> > > > > In file included from ../hercules.h:91,
> > > > >                  from ../hsys.c:1:
> > > > > ../hscutl.h:40: error: conflicting types for `getpriority'
> > > > > /usr/include/sys/resource.h:76: error: previous
declaration
> of
> > > > > `getpriority'
> > > > > ../hscutl.h:41: error: conflicting types for `setpriority'
> > > > > /usr/include/sys/resource.h:77: error: previous
declaration

> of
> > > > > `setpriority'
> > > > > make[2]: *** [hsys.lo] Error 1
> > > > > make[2]: Leaving directory `/root/hercules/i686_fthread'
> > > > > make[1]: *** [all-recursive] Error 1
> > > > > make[1]: Leaving directory `/root/hercules/i686_fthread'
> > > > > make: *** [all] Error 2
> > > > >
> > > > >
> > > > > Going back to Cygwin 1.5.12-1 resolves the issue.





Community email addresses:
  Post message: [hidden email]
  Subscribe:    [hidden email]
  Unsubscribe:  [hidden email]
  List owner:   [hidden email]

Files and archives at:
  http://groups.yahoo.com/group/hercules-390

Get the latest version of Hercules from:
  http://www.conmicro.cx/hercules 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/hercules-390/

<*> To unsubscribe from this group, send an email to:
    [hidden email]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/