Re: [Oorexx-devel] Build Open ObjectRexx 4.2.0 on IBM i PASE

2018-12-05 Thread Rick McGuire
Google is your friend...here's the first hit I found and there's a lot more out there. https://stackoverflow.com/questions/6077414/how-to-set-the-ldflags-in-cmakelists-txt There are also a few places in the oorexx CMakeList.txt file where linker flags are set for different configurations. Rick

Re: [Oorexx-devel] Build Open ObjectRexx 4.2.0 on IBM i PASE

2018-12-05 Thread Jack Woehr
On Wed, Dec 5, 2018 at 1:40 PM Rick McGuire wrote: > I have to be frank here, this is not going to be a problem of just dumping > an error log into an email and expecting us to fix the problems. You have > going to have to diagnose any problems involving this environment on your > own. You are th

Re: [Oorexx-devel] Build Open ObjectRexx 4.2.0 on IBM i PASE

2018-12-05 Thread Rick McGuire
I have to be frank here, this is not going to be a problem of just dumping an error log into an email and expecting us to fix the problems. You have going to have to diagnose any problems involving this environment on your own. You are the first person to try this and nobody on this list (that I'm

Re: [Oorexx-devel] Build Open ObjectRexx 4.2.0 on IBM i PASE

2018-12-05 Thread Jack Woehr
On Wed, Dec 5, 2018 at 11:01 AM Jack Woehr wrote: > Okay, we get pretty far, and then: > > > > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more > information. > ld: 0711-781 ERROR: TOC overflow. TOC size: 85080 Maximum size: 65536 > collect2: error: ld returned 12 ex

Re: [Oorexx-devel] Build Open ObjectRexx 4.2.0 on IBM i PASE

2018-12-05 Thread Jack Woehr
Okay, we get pretty far, and then: [ 67%] Linking CXX shared library bin/librexx.so ld: 0711-224 WARNING: Duplicate symbol: .SysMutex::create(bool) ld: 0711-224 WARNING: Duplicate symbol: .SysSemaphore::SysSemaphore(bool) ld: 0711-224 WARNING: Duplicate symbol: .SysSemaphore::SysSemaphore(bool) ld

Re: [Oorexx-devel] Build Open ObjectRexx 4.2.0 on IBM i PASE

2018-12-05 Thread Jack Woehr
Well, that was fast :) I'll check out and try again later this morning. Thank ou. On Wed, Dec 5, 2018 at 8:31 AM Rick McGuire wrote: > I already committed the fix. > > -- Jack Woehr Absolute Performance, Inc. 12303 Airport Way, Suite 100 Broomfield, CO 80021 NON-DISCLOSURE NOTICE: This comm

Re: [Oorexx-devel] Build Open ObjectRexx 4.2.0 on IBM i PASE

2018-12-05 Thread Rick McGuire
I already committed the fix. On Wed, Dec 5, 2018 at 10:26 AM Jack Woehr wrote: > Should I file a bug report? > > > On Wed, Dec 5, 2018 at 7:51 AM Rick McGuire wrote: > >> And this is exactly the reason to use 5.0.0, to give us a chance to fix >> these sort of issues before we go gold. >> >> On

Re: [Oorexx-devel] Build Open ObjectRexx 4.2.0 on IBM i PASE

2018-12-05 Thread Jack Woehr
Should I file a bug report? On Wed, Dec 5, 2018 at 7:51 AM Rick McGuire wrote: > And this is exactly the reason to use 5.0.0, to give us a chance to fix > these sort of issues before we go gold. > > On Wed, Dec 5, 2018 at 9:47 AM Jack Woehr > wrote: > >> Rick, Erich: >> >> Had the same idea abo

Re: [Oorexx-devel] Build Open ObjectRexx 4.2.0 on IBM i PASE

2018-12-05 Thread Rick McGuire
And this is exactly the reason to use 5.0.0, to give us a chance to fix these sort of issues before we go gold. On Wed, Dec 5, 2018 at 9:47 AM Jack Woehr wrote: > Rick, Erich: > > Had the same idea about 5.0.0 ... So I tried that ... it bombs looking for > AF_UNIX ... > *(In the following, note

Re: [Oorexx-devel] Build Open ObjectRexx 4.2.0 on IBM i PASE

2018-12-05 Thread Jack Woehr
Rick, Erich: Had the same idea about 5.0.0 ... So I tried that ... it bombs looking for AF_UNIX ... *(In the following, note that PASE is basically AIX-on-IBMi)* /home/JWOEHR/work/ooRexx-5/oorexx-code-0/rexxapi/common/platform/unix/SysCSStream.cpp:246:16: error: 'AF_LOCAL' was not declared in thi

Re: [Oorexx-devel] Build Open ObjectRexx 4.2.0 on IBM i PASE

2018-12-05 Thread Rick McGuire
Jack, I looks like the ARGUMENT_TYPE issue is also fixed in the 4.2 branch that Erich pointed out too, but I still recommend you switch to 5.0.0. Rick On Tue, Dec 4, 2018 at 9:01 PM Jack Woehr wrote: > Please excuse me for persisting :) I'd really like to build some version > of OORexx on IBM

Re: [Oorexx-devel] Build Open ObjectRexx 4.2.0 on IBM i PASE

2018-12-05 Thread Rick McGuire
This is an example where your assumption that starting with 4.2.0 would be easier is wrong. I believe this problem was encountered sometime ago and was fixed in the trunk. Truthfully, you would be better off skipping ahead to 5.0.0. We have revamped the build system to use CMake, so all of the tim

Re: [Oorexx-devel] Build Open ObjectRexx 4.2.0 on IBM i PASE

2018-12-04 Thread Erich Steinböck
Jack, my fault, I gave you the wrong URL The build issues are fixed in main/branches/4.2/trunk svn co https://svn.code.sf.net/p/oorexx/code-0/main/branches/4.2/trunk trunk Sorry for the mix-up.

Re: [Oorexx-devel] Build Open ObjectRexx 4.2.0 on IBM i PASE

2018-12-04 Thread Jack Woehr
Please excuse me for persisting :) I'd really like to build some version of OORexx on IBM i PASE. As I noted I'm doing 4.2.0 because I think it will be easier as a first try. First off, had to make two changes: Index: ThreadContextStubs.cpp ===

Re: [Oorexx-devel] Build Open ObjectRexx 4.2.0 on IBM i PASE

2018-12-04 Thread Jack Woehr
On Tue, Dec 4, 2018 at 4:47 AM Rick McGuire wrote: > We're not really making changes to 4.2.0 any more, but you can fix the > errors by changing those lines to > >return (RexxPackageObject *)NULL; > Hmmm ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxPackageObject* GetRouti

Re: [Oorexx-devel] Build Open ObjectRexx 4.2.0 on IBM i PASE

2018-12-04 Thread Jack Woehr
Thanks, Erich. I'll do that. Looking forward to later releases, but I think for my first try at building on PASE 4.2.0 is easier, perhaps. On Tue, Dec 4, 2018 at 8:34 AM Erich Steinböck wrote: > Jack, to check out main/releases/4.2.0/trunk you'd use the command > svn co https://svn.code.sf.net/p

Re: [Oorexx-devel] Build Open ObjectRexx 4.2.0 on IBM i PASE

2018-12-04 Thread Erich Steinböck
Jack, to check out main/releases/4.2.0/trunk you'd use the command svn co https://svn.code.sf.net/p/oorexx/code-0/main/releases/4.2.0/trunk trunk ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo

Re: [Oorexx-devel] Build Open ObjectRexx 4.2.0 on IBM i PASE

2018-12-04 Thread Jack Woehr
Rick, Erich, thanks for your comments. Erich, if you meant to include a URL for checkout, it did not appear in your message! On Tue, Dec 4, 2018 at 5:20 AM Erich Steinböck wrote: > Jack, I believe I fixed that (and one or two other build issues) some time > ago in main/releases/4.2.0/trunk > P

Re: [Oorexx-devel] Build Open ObjectRexx 4.2.0 on IBM i PASE

2018-12-04 Thread Erich Steinböck
Jack, I believe I fixed that (and one or two other build issues) some time ago in main/releases/4.2.0/trunk Please try checking out source from this location ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/li

Re: [Oorexx-devel] Build Open ObjectRexx 4.2.0 on IBM i PASE

2018-12-04 Thread Rick McGuire
We're not really making changes to 4.2.0 any more, but you can fix the errors by changing those lines to return (RexxPackageObject *)NULL; Rick On Mon, Dec 3, 2018 at 11:57 PM Jack Woehr wrote: > Trying to build on IBM i PASE. > Freshly downloaded 4.2.0 source from SourceForge. > OORexx con

[Oorexx-devel] Build Open ObjectRexx 4.2.0 on IBM i PASE

2018-12-03 Thread Jack Woehr
Trying to build on IBM i PASE. Freshly downloaded 4.2.0 source from SourceForge. OORexx configures, but the build ends as follows, any tips? Configure command: export OBJECT_MODE=64; export LDFLAGS=-Wl,-brtl; ./configure export OBJECT_MODE=64; export LDFLAGS=-Wl,-brtl; make # it's gmake ... libtoo