|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
Problem with HerculesI have tried to compile both the 3.06 version and also the latest snapshot under Suse 11.2 beta and get the following errors.
md.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./decNumber -W -Wall -O3 -march=k8 -fomit-frame-pointer -MT hsccmd.lo -MD -MP -MF .deps/hsccmd.Tpo -c hsccmd.c -fPIC -DPIC -o .libs/hsccmd.o hsccmd.c: In function `test_thread': hsccmd.c:326: warning: unused parameter `parg' hsccmd.c: In function `automount_cmd': hsccmd.c:1360: warning: unused variable `was_empty' hsccmd.c:1465: warning: unused variable `was_empty' hsccmd.c:1320: warning: unused parameter `cmdline' hsccmd.c:7679:23: error: #elif with no expression make[1]: *** [hsccmd.lo] Error 1 make[1]: Leaving directory `/hercules' make: *** [install-recursive] Error 1 linux-r1lz:/hercules # Any suggestions. The reason I tried to compile it is that with the RPM file I was getting device type 3270 3505 3525 etc as Unknown devices. Very confused, Andy |
|
|
Re: Problem with Herculesgm1mqe píše v Po 19. 10. 2009 v 08:51 +0000:
> I have tried to compile both the 3.06 version and also the latest snapshot under Suse 11.2 beta and get the following errors. The subversion trunk version builds fine on the upcoming Fedora 12 (gcc 4.4.2), but for 3.06 you will need the following patch - http://cvs.fedoraproject.org/viewvc/rpms/hercules/F-11/hercules-3.06-preproc.patch?revision=1.1&view=markup > md.Tpo"; exit 1; fi > gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./decNumber -W -Wall -O3 -march=k8 -fomit-frame-pointer -MT hsccmd.lo -MD -MP -MF .deps/hsccmd.Tpo -c hsccmd.c -fPIC -DPIC -o .libs/hsccmd.o > hsccmd.c: In function `test_thread': > hsccmd.c:326: warning: unused parameter `parg' > hsccmd.c: In function `automount_cmd': > hsccmd.c:1360: warning: unused variable `was_empty' > hsccmd.c:1465: warning: unused variable `was_empty' > hsccmd.c:1320: warning: unused parameter `cmdline' > hsccmd.c:7679:23: error: #elif with no expression > make[1]: *** [hsccmd.lo] Error 1 > make[1]: Leaving directory `/hercules' > make: *** [install-recursive] Error 1 > linux-r1lz:/hercules # > > Any suggestions. The reason I tried to compile it is that with the RPM file I was getting device type 3270 3505 3525 etc as Unknown devices. Dan |
|
|
Re: Problem with Herculesgm1mqe wrote: >I have tried to compile both the 3.06 version and also the latest snapshot under Suse 11.2 beta and get the following errors. > >md.Tpo"; exit 1; fi > gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./decNumber -W -Wall -O3 -march=k8 -fomit-frame-pointer -MT hsccmd.lo -MD -MP -MF .deps/hsccmd.Tpo -c hsccmd.c -fPIC -DPIC -o .libs/hsccmd.o >hsccmd.c: In function `test_thread': >hsccmd.c:326: warning: unused parameter `parg' >hsccmd.c: In function `automount_cmd': >hsccmd.c:1360: warning: unused variable `was_empty' >hsccmd.c:1465: warning: unused variable `was_empty' >hsccmd.c:1320: warning: unused parameter `cmdline' >hsccmd.c:7679:23: error: #elif with no expression >make[1]: *** [hsccmd.lo] Error 1 >make[1]: Leaving directory `/hercules' >make: *** [install-recursive] Error 1 >linux-r1lz:/hercules # > > SVN repository you will find that hsccmd.c does not have line 7679. Some changes have clearly been made since the code you used below created this error. Also, you should never expect that the SVN will compile correctly. It usually does, but it is in a state flux and may be unstable at any time. This is pointed out at the bottom of the main Hercules page in the instructions for accessing the repository. That is not to say that you should not report the error. Sometimes things work in one context but not another. >Any suggestions. The reason I tried to compile it is that with the RPM file I was getting device type 3270 3505 3525 etc as Unknown devices. > > This looks like an issue with the MODPATH configuration statement. The statement is specified and now incorrect or not needed. Alternatively, it might be missing and required. There was a point when MODPATH was required to fix an install issue. That issue has been resolved and so you should not need it now. From where did you get the RPM? The Hercules site our your Linux distributor? >Very confused, Andy > > > > |
|
|
Re: Problem with Herculesgm1mqe wrote: > I have tried to compile both the 3.06 version and also the latest snapshot under Suse 11.2 beta and get the following errors. > you need to look in "/snapshots/snapshots" on Ivans server to get the new SVN held version of the code. The old "/snapshots" folder only has CVS code in and that hasn't been updated for yonks (not sure why he doesn't remove it) > md.Tpo"; exit 1; fi > gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./decNumber -W -Wall -O3 -march=k8 -fomit-frame-pointer -MT hsccmd.lo -MD -MP -MF .deps/hsccmd.Tpo -c hsccmd.c -fPIC -DPIC -o .libs/hsccmd.o > hsccmd.c: In function `test_thread': > hsccmd.c:326: warning: unused parameter `parg' > hsccmd.c: In function `automount_cmd': > hsccmd.c:1360: warning: unused variable `was_empty' > hsccmd.c:1465: warning: unused variable `was_empty' > hsccmd.c:1320: warning: unused parameter `cmdline' > hsccmd.c:7679:23: error: #elif with no expression > make[1]: *** [hsccmd.lo] Error 1 > make[1]: Leaving directory `/hercules' > make: *** [install-recursive] Error 1 > linux-r1lz:/hercules # > > Any suggestions. The reason I tried to compile it is that with the RPM file I was getting device type 3270 3505 3525 etc as Unknown devices. > This usually because the shared libraries that contain the device driver code can't be found. The code may need to be installed to a particular place of the LD_LIBRARY_PATH (or the 64 bit equivalents) may need setting, although I understand that this latter course of action is "depreciated" > Very confused, Andy > > I am slowing catching up with you, but at present only "mildly confused" > Dave |
|
|
Re: Problem with HerculesHi again Dave, Stuck in bed with a bad chest infection and having had my laptop and desktop motherboards crash I am running linux on my netbook so it is a bit slop.
The RPM I used was from the hercules web sit and was installed via RPM. That gets the device not recognised error. I did go to snapshots/snapshots at Ivans site and downloaded the latest and it compiled OK but still get the same problem. The start of hercules is as follows Hercules Version 3.06 (c)Copyright 1999-2007 by Roger Bowler, Jan Jaeger, and others Built on Jan 10 2009 at 01:23:19 Build information: Modes: S/370 ESA/390 z/Arch Max CPU Engines: 8 Using setresuid() for setting privileges Dynamic loading support Loadable module default base directory is /usr/lib/hercules Using shared libraries No External GUI support HTTP Server support Regular Expressions support Automatic Operator support National Language Support Machine dependent assists: cmpxchg1 cmpxchg4 cmpxchg8 fetch_dw store_dw multi_byte Running on linux-r1lz Linux-2.6.31-10-desktop.#1 SMP PREEMPT 2009-09-29 11:18:23 +0200 x86_64 MP=2 Crypto module loaded (c) Copyright Bernard van der Helm, 2003-2008 Active: Message Security Assist Message Security Assist Extension 1 Message Security Assist Extension 2 HHCHD018I Loadable module directory is /usr/local/lib/hercules HHCHD007E unable to open DLL dyninst: dyninst: cannot open shared object file: No such file or directory HHCHD007E unable to open DLL dyn75: dyn75: cannot open shared object file: No such file or directory HHCCF065I Hercules: tid=F78616C0, pid=25469, pgid=25469, priority=8 HHCCF042E Device type 3505 not recognized HHCCF042E Device type 3525 not recognized HHCCF042E Device type 1403 not recognized HHCCF042E Device type 1403 not recognized HHCCF042E Device type 3270 not recognized HHCCF042E Device type 3270 not recognized HHCCF042E Device type 3270 not recognized HHCCF042E Device type 3270 not recognized HHCCF042E Device type 3270 not recognized HHCCF042E Device type 3270 not recognized HHCCF042E Device type 3270 not recognized HHCCF042E Device type 3270 not recognized HHCCF042E Device type 3270 not recognized HHCCF042E Device type 3270 not recognized HHCCF042E Device type 3420 not recognized HHCCF042E Device type 3420 not recognized HHCCF042E Device type 3420 not recognized HHCCF042E Device type 3420 not recognized HHCDA020I /herc370/vm/vm3350-1.141.ckd cyls=555 heads=30 tracks=16650 trklen=19456 I checked /usr/lib/hercules and it looks as if the modules are all there. Even more confused now.... |
|
|
Re: Problem with HerculesThe message says: "HHCHD018I Loadable module directory is /usr/local/lib/hercules"
This means that this is how Hercules was configured. You should either configure it differently (e.g., using the MODPATH configuration parameter), or copy the files over from where they are. Jacob. http://www.mvsdasd.org/hercstudio --- In hercules-390@..., "gm1mqe" <GM1MQE@...> wrote: > > Hi again Dave, Stuck in bed with a bad chest infection and having had my laptop and desktop motherboards crash I am running linux on my netbook so it is a bit slop. > > The RPM I used was from the hercules web sit and was installed via RPM. That gets the device not recognised error. I did go to snapshots/snapshots at Ivans site and downloaded the latest and it compiled OK but still get the same problem. The start of hercules is as follows > > Hercules Version 3.06 > (c)Copyright 1999-2007 by Roger Bowler, Jan Jaeger, and others > Built on Jan 10 2009 at 01:23:19 > Build information: > Modes: S/370 ESA/390 z/Arch > Max CPU Engines: 8 > Using setresuid() for setting privileges > Dynamic loading support > Loadable module default base directory is /usr/lib/hercules > Using shared libraries > No External GUI support > HTTP Server support > Regular Expressions support > Automatic Operator support > National Language Support > Machine dependent assists: cmpxchg1 cmpxchg4 cmpxchg8 fetch_dw store_dw multi_byte > Running on linux-r1lz Linux-2.6.31-10-desktop.#1 SMP PREEMPT 2009-09-29 11:18:23 +0200 x86_64 MP=2 > Crypto module loaded (c) Copyright Bernard van der Helm, 2003-2008 > Active: Message Security Assist > Message Security Assist Extension 1 > Message Security Assist Extension 2 > HHCHD018I Loadable module directory is /usr/local/lib/hercules > HHCHD007E unable to open DLL dyninst: dyninst: cannot open shared object file: No such file or directory > HHCHD007E unable to open DLL dyn75: dyn75: cannot open shared object file: No such file or directory > HHCCF065I Hercules: tid=F78616C0, pid=25469, pgid=25469, priority=8 > HHCCF042E Device type 3505 not recognized > HHCCF042E Device type 3525 not recognized > HHCCF042E Device type 1403 not recognized > HHCCF042E Device type 1403 not recognized > HHCCF042E Device type 3270 not recognized > HHCCF042E Device type 3270 not recognized > HHCCF042E Device type 3270 not recognized > HHCCF042E Device type 3270 not recognized > HHCCF042E Device type 3270 not recognized > HHCCF042E Device type 3270 not recognized > HHCCF042E Device type 3270 not recognized > HHCCF042E Device type 3270 not recognized > HHCCF042E Device type 3270 not recognized > HHCCF042E Device type 3270 not recognized > HHCCF042E Device type 3420 not recognized > HHCCF042E Device type 3420 not recognized > HHCCF042E Device type 3420 not recognized > HHCCF042E Device type 3420 not recognized > HHCDA020I /herc370/vm/vm3350-1.141.ckd cyls=555 heads=30 tracks=16650 trklen=19456 > > I checked /usr/lib/hercules and it looks as if the modules are all there. > > Even more confused now.... > |
|
|
Re: Problem with HerculesThe files are in /usr/local/lib/hercules OK assuming they are the files with .la and .so extensions...
Andy --- In hercules-390@..., "dekel35" <jacob@...> wrote: > > The message says: "HHCHD018I Loadable module directory is /usr/local/lib/hercules" > This means that this is how Hercules was configured. > > You should either configure it differently (e.g., using the MODPATH configuration parameter), or copy the files over from where they are. > > Jacob. > http://www.mvsdasd.org/hercstudio > > --- In hercules-390@..., "gm1mqe" <GM1MQE@> wrote: > > > > Hi again Dave, Stuck in bed with a bad chest infection and having had my laptop and desktop motherboards crash I am running linux on my netbook so it is a bit slop. > > > > The RPM I used was from the hercules web sit and was installed via RPM. That gets the device not recognised error. I did go to snapshots/snapshots at Ivans site and downloaded the latest and it compiled OK but still get the same problem. The start of hercules is as follows > > > > Hercules Version 3.06 > > (c)Copyright 1999-2007 by Roger Bowler, Jan Jaeger, and others > > Built on Jan 10 2009 at 01:23:19 > > Build information: > > Modes: S/370 ESA/390 z/Arch > > Max CPU Engines: 8 > > Using setresuid() for setting privileges > > Dynamic loading support > > Loadable module default base directory is /usr/lib/hercules > > Using shared libraries > > No External GUI support > > HTTP Server support > > Regular Expressions support > > Automatic Operator support > > National Language Support > > Machine dependent assists: cmpxchg1 cmpxchg4 cmpxchg8 fetch_dw store_dw multi_byte > > Running on linux-r1lz Linux-2.6.31-10-desktop.#1 SMP PREEMPT 2009-09-29 11:18:23 +0200 x86_64 MP=2 > > Crypto module loaded (c) Copyright Bernard van der Helm, 2003-2008 > > Active: Message Security Assist > > Message Security Assist Extension 1 > > Message Security Assist Extension 2 > > HHCHD018I Loadable module directory is /usr/local/lib/hercules > > HHCHD007E unable to open DLL dyninst: dyninst: cannot open shared object file: No such file or directory > > HHCHD007E unable to open DLL dyn75: dyn75: cannot open shared object file: No such file or directory > > HHCCF065I Hercules: tid=F78616C0, pid=25469, pgid=25469, priority=8 > > HHCCF042E Device type 3505 not recognized > > HHCCF042E Device type 3525 not recognized > > HHCCF042E Device type 1403 not recognized > > HHCCF042E Device type 1403 not recognized > > HHCCF042E Device type 3270 not recognized > > HHCCF042E Device type 3270 not recognized > > HHCCF042E Device type 3270 not recognized > > HHCCF042E Device type 3270 not recognized > > HHCCF042E Device type 3270 not recognized > > HHCCF042E Device type 3270 not recognized > > HHCCF042E Device type 3270 not recognized > > HHCCF042E Device type 3270 not recognized > > HHCCF042E Device type 3270 not recognized > > HHCCF042E Device type 3270 not recognized > > HHCCF042E Device type 3420 not recognized > > HHCCF042E Device type 3420 not recognized > > HHCCF042E Device type 3420 not recognized > > HHCCF042E Device type 3420 not recognized > > HHCDA020I /herc370/vm/vm3350-1.141.ckd cyls=555 heads=30 tracks=16650 trklen=19456 > > > > I checked /usr/lib/hercules and it looks as if the modules are all there. > > > > Even more confused now.... > > > |
|
|
Re: Problem with HerculesThanks. Found it. The config file I was using had a MODPATH in it. Removing it cured the problem.
Thanks all, Andy |
|
|
RE: Re: Problem with Hercules> -----Original Message-----
> From: hercules-390@... > [mailto:hercules-390@...] On Behalf Of gm1mqe > Sent: 19 October 2009 13:32 > To: hercules-390@... > Subject: [hercules-390] Re: Problem with Hercules > > > Hi again Dave, Stuck in bed with a bad chest infection and > having had my laptop and desktop motherboards crash I am > running linux on my netbook so it is a bit slop. > > The RPM I used was from the hercules web sit and was > installed via RPM. That gets the device not recognised error. > I did go to snapshots/snapshots at Ivans site and downloaded > the latest and it compiled OK but still get the same problem. > The start of hercules is as follows > > Hercules Version 3.06 > (c)Copyright 1999-2007 by Roger Bowler, Jan Jaeger, and others > Built on Jan 10 2009 at 01:23:19 > Build information: > Modes: S/370 ESA/390 z/Arch > Max CPU Engines: 8 > Using setresuid() for setting privileges > Dynamic loading support > Loadable module default base directory is /usr/lib/hercules > Using shared libraries > No External GUI support > HTTP Server support > Regular Expressions support > Automatic Operator support > National Language Support > Machine dependent assists: cmpxchg1 cmpxchg4 cmpxchg8 > fetch_dw store_dw multi_byte Running on linux-r1lz > Linux-2.6.31-10-desktop.#1 SMP PREEMPT 2009-09-29 11:18:23 > +0200 x86_64 MP=2 > Crypto module loaded (c) Copyright Bernard van der Helm, > 2003-2008 > Active: Message Security Assist > > Message Security Assist Extension 1 > > Message Security Assist Extension 2 > > HHCHD018I Loadable module directory is > /usr/local/lib/hercules So its looking here ^^^^^ > HHCHD007E unable to open DLL dyninst: dyninst: cannot open > shared object file: No such file or directory > HHCHD007E unable to open DLL dyn75: dyn75: cannot open shared > object file: No such file or directory > HHCCF065I Hercules: tid=F78616C0, pid=25469, pgid=25469, > priority=8 > HHCCF042E Device type 3505 not recognized > > HHCCF042E Device type 3525 not recognized > > HHCCF042E Device type 1403 not recognized > > HHCCF042E Device type 1403 not recognized > > HHCCF042E Device type 3270 not recognized > > HHCCF042E Device type 3270 not recognized > > HHCCF042E Device type 3270 not recognized > > HHCCF042E Device type 3270 not recognized > > HHCCF042E Device type 3270 not recognized > > HHCCF042E Device type 3270 not recognized > > HHCCF042E Device type 3270 not recognized > > HHCCF042E Device type 3270 not recognized > > HHCCF042E Device type 3270 not recognized > > HHCCF042E Device type 3270 not recognized > > HHCCF042E Device type 3420 not recognized > > HHCCF042E Device type 3420 not recognized > > HHCCF042E Device type 3420 not recognized > > HHCCF042E Device type 3420 not recognized > > HHCDA020I /herc370/vm/vm3350-1.141.ckd cyls=555 heads=30 > tracks=16650 trklen=19456 > > I checked /usr/lib/hercules and it looks as if the modules Which is not the same as here ^^^^^^ > are all there. Or is this a typo? > > Even more confused now.... |
|
|
Re: Problem with HerculesHi,
Have you tried the following commands: sh autogen.sh ./configure <whatever options you need> make -j<#cpu> It took me a while in the past to discover this one. Hopefully it works. Bernard --- In hercules-390@..., "gm1mqe" <GM1MQE@...> wrote: > > I have tried to compile both the 3.06 version and also the latest snapshot under Suse 11.2 beta and get the following errors. > > md.Tpo"; exit 1; fi > gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./decNumber -W -Wall -O3 -march=k8 -fomit-frame-pointer -MT hsccmd.lo -MD -MP -MF .deps/hsccmd.Tpo -c hsccmd.c -fPIC -DPIC -o .libs/hsccmd.o > hsccmd.c: In function `test_thread': > hsccmd.c:326: warning: unused parameter `parg' > hsccmd.c: In function `automount_cmd': > hsccmd.c:1360: warning: unused variable `was_empty' > hsccmd.c:1465: warning: unused variable `was_empty' > hsccmd.c:1320: warning: unused parameter `cmdline' > hsccmd.c:7679:23: error: #elif with no expression > make[1]: *** [hsccmd.lo] Error 1 > make[1]: Leaving directory `/hercules' > make: *** [install-recursive] Error 1 > linux-r1lz:/hercules # > > Any suggestions. The reason I tried to compile it is that with the RPM file I was getting device type 3270 3505 3525 etc as Unknown devices. > > Very confused, Andy > |
|
|
RE: Re: Problem with Hercules-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 gm1mqe wrote: [...] > I did go to snapshots/snapshots at Ivans site and downloaded > the latest and it compiled OK but still get the same problem. > The start of hercules is as follows > > Hercules Version 3.06 > (c)Copyright 1999-2007 by Roger Bowler, Jan Jaeger, and others > Built on Jan 10 2009 at 01:23:19 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Even though it appears others have already helped you identify your actual(?) problem (and thus the following issue may now be moot), I feel it's important to point out that while you may have BUILT the latest snapshot version, it was apparently not the version you were actually executing. - -- "Fish" (David B. Trout) - fish@... Fight Spam! Join CAUCE! <http://www.cauce.org/> 7 reasons why HTML email is a bad thing http://www.georgedillon.com/web/html_email_is_evil.shtml PGP key fingerprints: DH/DSS: 9F9B BAB0 BA7F C458 1A89 FE26 48F5 D7F4 C4EE 3E2A RSA: 6B37 7110 7201 9917 9B0D 99E3 55DB 5D58 FADE 4A52 -----BEGIN PGP SIGNATURE----- Version: PGP Desktop 9.8.0 (Build 2158) Charset: us-ascii wj8DBQFK3nfTSPXX9MTuPioRAktiAKDN8tT7uvVVtN878FXIV8i9sKf4JACeMwEL Gt/P8y6kUdd4AI23oUmq+q8= =K1YH -----END PGP SIGNATURE----- |
| Free embeddable forum powered by Nabble | Forum Help |