Building Hercules for Windows

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

Building Hercules for Windows

vallesei
Hi
I'm trying to "Building Hercules for Windows" using the guidelines
in "http://www.bsp-gmbh.com/hercules/herc_w32_2.html"

I issue the ./configure  and it runs ok, with no strange messages,  
but when i issue "make" it stops very early complaining:
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I.. -fomit-frame-
pointer -O3 -march
=i686 -W -Wall -Wno-format -MT dyncrypt.lo -MD -MP -
MF .deps/dyncrypt.Tpo -c dyn
crypt.c  -DPIC -o .libs/dyncrypt.o
In file included from ../hercules.h:91,
                 from dyncrypt.c:13:
../hscutl.h:40: error: conflicting types for 'getpriority'
/usr/include/sys/resource.h:76: error: previous declaration
of 'getpriority' was
 here
../hscutl.h:40: error: conflicting types for 'getpriority'
/usr/include/sys/resource.h:76: error: previous declaration
of 'getpriority' was
 here
../hscutl.h:41: error: conflicting types for 'setpriority'
/usr/include/sys/resource.h:77: error: previous declaration
of 'setpriority' was
 here
../hscutl.h:41: error: conflicting types for 'setpriority'
/usr/include/sys/resource.h:77: error: previous declaration
of 'setpriority' was
 here
make[2]: *** [dyncrypt.lo] Error 1
make[2]: Leaving directory `/hercules-3.02/crypto'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/hercules-3.02'
make: *** [all] Error 2

conflicting types for 'getpriority'

does someone have any idea ?

thank you





 
Yahoo! Groups Links

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

<*> 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: Building Hercules for Windows

David Wade
Try onm the Hercules-390 group. This has been covered on there...





========================================
Message date : Jun 28 2005, 10:05 AM
From : "vallesei"
To : [hidden email]
Copy to :
Subject : [H390-MVS] Building Hercules for Windows
Hi
I'm trying to "Building Hercules for Windows" using the guidelines
in "http://www.bsp-gmbh.com/hercules/herc_w32_2.html"

I issue the ./configure and it runs ok, with no strange messages,
but when i issue "make" it stops very early complaining:
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I.. -fomit-frame-
pointer -O3 -march
=i686 -W -Wall -Wno-format -MT dyncrypt.lo -MD -MP -
MF .deps/dyncrypt.Tpo -c dyn
crypt.c -DPIC -o .libs/dyncrypt.o
In file included from ../hercules.h:91,
from dyncrypt.c:13:
../hscutl.h:40: error: conflicting types for 'getpriority'
/usr/include/sys/resource.h:76: error: previous declaration
of 'getpriority' was
here
../hscutl.h:40: error: conflicting types for 'getpriority'
/usr/include/sys/resource.h:76: error: previous declaration
of 'getpriority' was
here
../hscutl.h:41: error: conflicting types for 'setpriority'
/usr/include/sys/resource.h:77: error: previous declaration
of 'setpriority' was
here
../hscutl.h:41: error: conflicting types for 'setpriority'
/usr/include/sys/resource.h:77: error: previous declaration
of 'setpriority' was
here
make[2]: *** [dyncrypt.lo] Error 1
make[2]: Leaving directory `/hercules-3.02/crypto'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/hercules-3.02'
make: *** [all] Error 2

conflicting types for 'getpriority'

does someone have any idea ?

thank you






Yahoo! Groups Links




--

Whatever you Wanadoo:
http://www.wanadoo.co.uk/time/

This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm