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

On Wed, Dec 5, 2018 at 4:24 PM Jack Woehr 
wrote:

>
>
> 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 the first person to try this and nobody on this list
>> (that I'm aware of) has experience with or access to that environment.
>>
>
> Oh, I thought I'd turn you upside down and shake you and see if anything
> fell out of your pockets. I mean, it did with the first error! :)
>
> That said, the thing that sticks out to me is all of the reported
>> duplicates are from source files that are used for both the rexx and
>> rexxapi libraries. Is it possible that these libraries are getting linked
>> together statically rather than dynamically?
>>
>
> I'm less puzzled by the compilation and linking than I am by Cmake. How do
> I add an LDFLAG?
>
> --
> Jack Woehr
> Absolute Performance, Inc.
> 12303 Airport Way, Suite 100
> Broomfield, CO 80021
>
> NON-DISCLOSURE NOTICE:  This communication including any and all
> attachments is for the intended recipient(s) only and may contain
> confidential and privileged information.  If you are not the intended
> recipient of this communication, any disclosure, copying further
> distribution or use of this communication is prohibited.  If you received
> this communication in error, please contact the sender and delete/destroy
> all copies of this communication immediately.
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


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 the first person to try this and nobody on this list (that I'm
> aware of) has experience with or access to that environment.
>

Oh, I thought I'd turn you upside down and shake you and see if anything
fell out of your pockets. I mean, it did with the first error! :)

That said, the thing that sticks out to me is all of the reported
> duplicates are from source files that are used for both the rexx and
> rexxapi libraries. Is it possible that these libraries are getting linked
> together statically rather than dynamically?
>

I'm less puzzled by the compilation and linking than I am by Cmake. How do
I add an LDFLAG?

-- 
Jack Woehr
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021

NON-DISCLOSURE NOTICE:  This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information.  If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited.  If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


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
aware of) has experience with or access to that environment.

That said, the thing that sticks out to me is all of the reported
duplicates are from source files that are used for both the rexx and
rexxapi libraries. Is it possible that these libraries are getting linked
together statically rather than dynamically?

Rick

On Wed, Dec 5, 2018 at 1:15 PM Jack Woehr 
wrote:

> On Wed, Dec 5, 2018 at 11:01 AM Jack Woehr <
> jwo...@absolute-performance.com> 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 exit status
>> make[2]: *** [CMakeFiles/rexx.dir/build.make:5556: bin/librexx.so] Error 1
>> make[1]: *** [CMakeFiles/Makefile2:659: CMakeFiles/rexx.dir/all] Error 2
>> make: *** [Makefile:150: all] Error 2
>>
>
> Dunno if this helps, but when I build "usual stuff" on IBM i PASE I prefix
> configure and make with export OBJECT_MODE=64; export LDFLAGS=-Wl,-brtl;
>
> --
> Jack Woehr
> Absolute Performance, Inc.
> 12303 Airport Way, Suite 100
> Broomfield, CO 80021
>
> NON-DISCLOSURE NOTICE:  This communication including any and all
> attachments is for the intended recipient(s) only and may contain
> confidential and privileged information.  If you are not the intended
> recipient of this communication, any disclosure, copying further
> distribution or use of this communication is prohibited.  If you received
> this communication in error, please contact the sender and delete/destroy
> all copies of this communication immediately.
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


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 exit status
> make[2]: *** [CMakeFiles/rexx.dir/build.make:5556: bin/librexx.so] Error 1
> make[1]: *** [CMakeFiles/Makefile2:659: CMakeFiles/rexx.dir/all] Error 2
> make: *** [Makefile:150: all] Error 2
>

Dunno if this helps, but when I build "usual stuff" on IBM i PASE I prefix
configure and make with export OBJECT_MODE=64; export LDFLAGS=-Wl,-brtl;

-- 
Jack Woehr
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021

NON-DISCLOSURE NOTICE:  This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information.  If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited.  If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


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: 0711-224 WARNING: Duplicate symbol: .SysSemaphore::create()
ld: 0711-224 WARNING: Duplicate symbol: .SysSemaphore::close()
ld: 0711-224 WARNING: Duplicate symbol: .SysSemaphore::post()
ld: 0711-224 WARNING: Duplicate symbol: .SysSemaphore::wait()
ld: 0711-224 WARNING: Duplicate symbol: .SysSemaphore::wait(unsigned int)
ld: 0711-224 WARNING: Duplicate symbol: .SysSemaphore::reset()
ld: 0711-224 WARNING: Duplicate symbol: .SysMutex::SysMutex(bool, bool)
ld: 0711-224 WARNING: Duplicate symbol: .SysMutex::SysMutex(bool, bool)
ld: 0711-224 WARNING: Duplicate symbol: .SysMutex::close()
ld: 0711-224 WARNING: Duplicate symbol: .Utilities::strCaselessCompare(char
const*, char const*)
ld: 0711-224 WARNING: Duplicate symbol: .Utilities::locateCharacter(char
const*, char const*, unsigned long)
ld: 0711-224 WARNING: Duplicate symbol: .Utilities::memicmp(void const*,
void const*, unsigned long)
ld: 0711-224 WARNING: Duplicate symbol: .Utilities::strupper(char*)
ld: 0711-224 WARNING: Duplicate symbol: .Utilities::strlower(char*)
ld: 0711-224 WARNING: Duplicate symbol: .Utilities::strnchr(char const*,
unsigned long, char)
ld: 0711-224 WARNING: Duplicate symbol: .SysLibrary::SysLibrary()
ld: 0711-224 WARNING: Duplicate symbol: .SysLibrary::SysLibrary()
ld: 0711-224 WARNING: Duplicate symbol: .SysLibrary::getProcedure(char
const*)
ld: 0711-224 WARNING: Duplicate symbol: .SysLibrary::load(char const*)
ld: 0711-224 WARNING: Duplicate symbol: .SysLibrary::unload()
ld: 0711-224 WARNING: Duplicate symbol: SysThread::attachThread()
ld: 0711-224 WARNING: Duplicate symbol: .SysThread::attachThread()
ld: 0711-224 WARNING: Duplicate symbol: .SysThread::dispatch()
ld: 0711-224 WARNING: Duplicate symbol: .SysThread::terminate()
ld: 0711-224 WARNING: Duplicate symbol: .SysThread::startup()
ld: 0711-224 WARNING: Duplicate symbol: .SysThread::shutdown()
ld: 0711-224 WARNING: Duplicate symbol: .SysThread::yield()
ld: 0711-224 WARNING: Duplicate symbol: .SysThread::equals(SysThread&)
ld: 0711-224 WARNING: Duplicate symbol: .SysThread::createThread()
ld: 0711-224 WARNING: Duplicate symbol: .SysThread::createThread(unsigned
int&, unsigned long, void* (*)(void*), void*)
ld: 0711-224 WARNING: Duplicate symbol: .SysThread::waitForTermination()
ld: 0711-224 WARNING: Duplicate symbol: .SysThread::sleep(int)
ld: 0711-224 WARNING: Duplicate symbol: SysThread::dispatch()
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::open(char const*, int,
int, int)
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::SysFile()
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::SysFile()
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::open(int)
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::reset()
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::setBuffering(bool,
unsigned long)
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::close()
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::flush()
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::read(char*, unsigned
long, unsigned long&)
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::write(char const*,
unsigned long, unsigned long&)
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::putChar(char)
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::ungetc(char)
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::puts(char const*,
unsigned long&)
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::putLine(char const*,
unsigned long, unsigned long&)
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::gets(char*, unsigned
long, unsigned long&)
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::countLines(long&)
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::countLines(long, long,
long&, long&)
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::nextLine(unsigned long&)
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::seekForwardLines(long,
long&, long&)
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::setPosition(long, long&)
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::seek(long, int, long&)
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::getPosition(long&)
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::getSize(long&)
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::getSize(char const*,
long&)
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::getTimeStamp(char const*&)
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::getTimeStamp(char const*,
char const*&)
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::getStreamTypeInfo()
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::setStdIn()
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::setStdOut()
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::setStdErr()
ld: 0711-224 WARNING: Duplicate symbol: .SysFile::hasData()
ld: 0711-224 WARNING: Duplicate symbol: SysFile::s

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 communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information.  If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited.  If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


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 Wed, Dec 5, 2018 at 9:47 AM Jack Woehr <
>> jwo...@absolute-performance.com> 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 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 this scope
>>>  c = socket(AF_LOCAL, SOCK_STREAM, 0);
>>> ^~~~
>>>
>>> On our IBMiOSS group on Ryver (self-enroll at
>>> https://ibmioss.ryver.com/application/signup/members/9tJsXDG7_iSSi1Q )
>>> the following help was offered:
>>>
>>> Calvin Buckley Wed 3:52am
>>> @JackWoehr AF_UNIX == AF_LOCAL
>>> AIX just doesn't define the latter
>>> why? AIX is the first maliciously POSIX compliant system
>>>
>>> On Wed, Dec 5, 2018 at 4:13 AM Rick McGuire 
>>> wrote:
>>>
>>> It 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.

>>>
>>> --
>>> Jack Woehr
>>> Absolute Performance, Inc.
>>> 12303 Airport Way, Suite 100
>>> Broomfield, CO 80021
>>>
>>> NON-DISCLOSURE NOTICE:  This communication including any and all
>>> attachments is for the intended recipient(s) only and may contain
>>> confidential and privileged information.  If you are not the intended
>>> recipient of this communication, any disclosure, copying further
>>> distribution or use of this communication is prohibited.  If you received
>>> this communication in error, please contact the sender and delete/destroy
>>> all copies of this communication immediately.
>>> ___
>>> Oorexx-devel mailing list
>>> Oorexx-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>>
>> ___
>> Oorexx-devel mailing list
>> Oorexx-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>
>
>
> --
> Jack Woehr
> Absolute Performance, Inc.
> 12303 Airport Way, Suite 100
> Broomfield, CO 80021
>
> NON-DISCLOSURE NOTICE:  This communication including any and all
> attachments is for the intended recipient(s) only and may contain
> confidential and privileged information.  If you are not the intended
> recipient of this communication, any disclosure, copying further
> distribution or use of this communication is prohibited.  If you received
> this communication in error, please contact the sender and delete/destroy
> all copies of this communication immediately.
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


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 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 this scope
>>  c = socket(AF_LOCAL, SOCK_STREAM, 0);
>> ^~~~
>>
>> On our IBMiOSS group on Ryver (self-enroll at
>> https://ibmioss.ryver.com/application/signup/members/9tJsXDG7_iSSi1Q )
>> the following help was offered:
>>
>> Calvin Buckley Wed 3:52am
>> @JackWoehr AF_UNIX == AF_LOCAL
>> AIX just doesn't define the latter
>> why? AIX is the first maliciously POSIX compliant system
>>
>> On Wed, Dec 5, 2018 at 4:13 AM Rick McGuire 
>> wrote:
>>
>> It 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.
>>>
>>
>> --
>> Jack Woehr
>> Absolute Performance, Inc.
>> 12303 Airport Way, Suite 100
>> Broomfield, CO 80021
>>
>> NON-DISCLOSURE NOTICE:  This communication including any and all
>> attachments is for the intended recipient(s) only and may contain
>> confidential and privileged information.  If you are not the intended
>> recipient of this communication, any disclosure, copying further
>> distribution or use of this communication is prohibited.  If you received
>> this communication in error, please contact the sender and delete/destroy
>> all copies of this communication immediately.
>> ___
>> Oorexx-devel mailing list
>> Oorexx-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>


-- 
Jack Woehr
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021

NON-DISCLOSURE NOTICE:  This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information.  If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited.  If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


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 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 this scope
>  c = socket(AF_LOCAL, SOCK_STREAM, 0);
> ^~~~
>
> On our IBMiOSS group on Ryver (self-enroll at
> https://ibmioss.ryver.com/application/signup/members/9tJsXDG7_iSSi1Q )
> the following help was offered:
>
> Calvin Buckley Wed 3:52am
> @JackWoehr AF_UNIX == AF_LOCAL
> AIX just doesn't define the latter
> why? AIX is the first maliciously POSIX compliant system
>
> On Wed, Dec 5, 2018 at 4:13 AM Rick McGuire  wrote:
>
> It 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.
>>
>
> --
> Jack Woehr
> Absolute Performance, Inc.
> 12303 Airport Way, Suite 100
> Broomfield, CO 80021
>
> NON-DISCLOSURE NOTICE:  This communication including any and all
> attachments is for the intended recipient(s) only and may contain
> confidential and privileged information.  If you are not the intended
> recipient of this communication, any disclosure, copying further
> distribution or use of this communication is prohibited.  If you received
> this communication in error, please contact the sender and delete/destroy
> all copies of this communication immediately.
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


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 this scope
 c = socket(AF_LOCAL, SOCK_STREAM, 0);
^~~~

On our IBMiOSS group on Ryver (self-enroll at
https://ibmioss.ryver.com/application/signup/members/9tJsXDG7_iSSi1Q ) the
following help was offered:

Calvin Buckley Wed 3:52am
@JackWoehr AF_UNIX == AF_LOCAL
AIX just doesn't define the latter
why? AIX is the first maliciously POSIX compliant system

On Wed, Dec 5, 2018 at 4:13 AM Rick McGuire  wrote:

It 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.
>

-- 
Jack Woehr
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021

NON-DISCLOSURE NOTICE:  This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information.  If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited.  If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


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 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
> ===
> --- ThreadContextStubs.cpp(revision 11567)
> +++ ThreadContextStubs.cpp(working copy)
> @@ -576,7 +576,8 @@
>  catch (RexxNativeActivation *)
>  {
>  }
> -return false;
> +// return false;
> +return NULL;
>  }
>
>
> @@ -591,7 +592,8 @@
>  catch (RexxNativeActivation *)
>  {
>  }
> -return false;
> +// return false;
> +return NULL;
>  }
>
> Now it's not happy with some PASE gcc/g++ includes:
>
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2
> -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\"
> -DORX_SYS_STR=\"unknown\" -DORX_CATDIR=\"/usr/bin\"
> -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix
> -I./common -I./common/platform/unix -I./interpreter
> -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory
> -I./interpreter/package -I./interpreter/concurrency
> -I./interpreter/expression -I./interpreter/instructions
> -I./interpreter/classes -I./interpreter/classes/support
> -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages
> -I./interpreter/streamLibrary -I./interpreter/platform/common
> -I./interpreter/platform/unix -g -O2 -g -O2 -DNOOPT -DPTHREAD_KERNEL
> -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -MT
> librexx_la-RexxNativeActivation.lo -MD -MP -MF
> .deps/librexx_la-RexxNativeActivation.Tpo -c
> ./interpreter/execution/RexxNativeActivation.cpp  -fPIC -DPIC -o
> .libs/librexx_la-RexxNativeActivation.o
> In file included from ./interpreter/runtime/RexxCore.h:50:0,
>  from ./interpreter/execution/RexxNativeActivation.cpp:44:
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type
> std::atan2(_Tp, _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>  ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>  ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type
> std::fmod(_Tp, _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>  ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>  ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type
> std::pow(_Tp, _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>  ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>  ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename
> __gnu_cxx::__enable_if<(std::__is_arithmetic<_Tp>::__value &&
> std::__is_arithmetic<_Up>::__value), bool>::__type std::isgreater(_Tp,
> _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>  ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>  ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename
> __gnu_cxx::__enable_if<(std::__is_arithmetic<_Tp>::__value &&
> std::__is_arithmetic<_Up>::__value), bool>::__type std::isgreaterequal(_Tp,
> _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>  ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>  ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename
> __gnu_cxx::__enable_if<(std::__is_arithmetic<_Tp>::__value &&
> std::__is_arithmetic<_Up>::__value), bool>::__type std::isless(_Tp, _Up)':
> ./a

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 time spent trying to
get 4.2.0 to build would be wasted because the build is different. And,
you'd be more likely to get fixes for any problems you encounter.

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 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
> ===
> --- ThreadContextStubs.cpp(revision 11567)
> +++ ThreadContextStubs.cpp(working copy)
> @@ -576,7 +576,8 @@
>  catch (RexxNativeActivation *)
>  {
>  }
> -return false;
> +// return false;
> +return NULL;
>  }
>
>
> @@ -591,7 +592,8 @@
>  catch (RexxNativeActivation *)
>  {
>  }
> -return false;
> +// return false;
> +return NULL;
>  }
>
> Now it's not happy with some PASE gcc/g++ includes:
>
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2
> -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\"
> -DORX_SYS_STR=\"unknown\" -DORX_CATDIR=\"/usr/bin\"
> -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix
> -I./common -I./common/platform/unix -I./interpreter
> -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory
> -I./interpreter/package -I./interpreter/concurrency
> -I./interpreter/expression -I./interpreter/instructions
> -I./interpreter/classes -I./interpreter/classes/support
> -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages
> -I./interpreter/streamLibrary -I./interpreter/platform/common
> -I./interpreter/platform/unix -g -O2 -g -O2 -DNOOPT -DPTHREAD_KERNEL
> -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -MT
> librexx_la-RexxNativeActivation.lo -MD -MP -MF
> .deps/librexx_la-RexxNativeActivation.Tpo -c
> ./interpreter/execution/RexxNativeActivation.cpp  -fPIC -DPIC -o
> .libs/librexx_la-RexxNativeActivation.o
> In file included from ./interpreter/runtime/RexxCore.h:50:0,
>  from ./interpreter/execution/RexxNativeActivation.cpp:44:
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type
> std::atan2(_Tp, _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>  ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>  ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type
> std::fmod(_Tp, _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>  ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>  ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type
> std::pow(_Tp, _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>  ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>  ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename
> __gnu_cxx::__enable_if<(std::__is_arithmetic<_Tp>::__value &&
> std::__is_arithmetic<_Up>::__value), bool>::__type std::isgreater(_Tp,
> _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>  ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>  ^
> /QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
> function 'constexpr typename
> __gnu_cxx::__enable_if<(std::__is_arithmetic<_Tp>::__value &&
> std::__is_arithmetic<_Up>::__value), bool>::__type std::isgreaterequal(_Tp,
> _Up)':
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
> this scope
>  #define __type(t)   ARGUMENT_TYPE_##t
>  ^
> ./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
> this scope
>  #define 

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.
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


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
===
--- ThreadContextStubs.cpp(revision 11567)
+++ ThreadContextStubs.cpp(working copy)
@@ -576,7 +576,8 @@
 catch (RexxNativeActivation *)
 {
 }
-return false;
+// return false;
+return NULL;
 }


@@ -591,7 +592,8 @@
 catch (RexxNativeActivation *)
 {
 }
-return false;
+// return false;
+return NULL;
 }

Now it's not happy with some PASE gcc/g++ includes:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2
-DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\"
-DORX_SYS_STR=\"unknown\" -DORX_CATDIR=\"/usr/bin\"
-DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix
-I./common -I./common/platform/unix -I./interpreter
-I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory
-I./interpreter/package -I./interpreter/concurrency
-I./interpreter/expression -I./interpreter/instructions
-I./interpreter/classes -I./interpreter/classes/support
-I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages
-I./interpreter/streamLibrary -I./interpreter/platform/common
-I./interpreter/platform/unix -g -O2 -g -O2 -DNOOPT -DPTHREAD_KERNEL
-D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -MT
librexx_la-RexxNativeActivation.lo -MD -MP -MF
.deps/librexx_la-RexxNativeActivation.Tpo -c
./interpreter/execution/RexxNativeActivation.cpp  -fPIC -DPIC -o
.libs/librexx_la-RexxNativeActivation.o
In file included from ./interpreter/runtime/RexxCore.h:50:0,
 from ./interpreter/execution/RexxNativeActivation.cpp:44:
/QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
function 'constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type
std::atan2(_Tp, _Up)':
./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
this scope
 #define __type(t)   ARGUMENT_TYPE_##t
 ^
./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
this scope
 #define __type(t)   ARGUMENT_TYPE_##t
 ^
/QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
function 'constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type
std::fmod(_Tp, _Up)':
./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
this scope
 #define __type(t)   ARGUMENT_TYPE_##t
 ^
./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
this scope
 #define __type(t)   ARGUMENT_TYPE_##t
 ^
/QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
function 'constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type
std::pow(_Tp, _Up)':
./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
this scope
 #define __type(t)   ARGUMENT_TYPE_##t
 ^
./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
this scope
 #define __type(t)   ARGUMENT_TYPE_##t
 ^
/QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
function 'constexpr typename
__gnu_cxx::__enable_if<(std::__is_arithmetic<_Tp>::__value &&
std::__is_arithmetic<_Up>::__value), bool>::__type std::isgreater(_Tp,
_Up)':
./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
this scope
 #define __type(t)   ARGUMENT_TYPE_##t
 ^
./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
this scope
 #define __type(t)   ARGUMENT_TYPE_##t
 ^
/QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
function 'constexpr typename
__gnu_cxx::__enable_if<(std::__is_arithmetic<_Tp>::__value &&
std::__is_arithmetic<_Up>::__value), bool>::__type std::isgreaterequal(_Tp,
_Up)':
./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
this scope
 #define __type(t)   ARGUMENT_TYPE_##t
 ^
./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
this scope
 #define __type(t)   ARGUMENT_TYPE_##t
 ^
/QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
function 'constexpr typename
__gnu_cxx::__enable_if<(std::__is_arithmetic<_Tp>::__value &&
std::__is_arithmetic<_Up>::__value), bool>::__type std::isless(_Tp, _Up)':
./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___x' was not declared in
this scope
 #define __type(t)   ARGUMENT_TYPE_##t
 ^
./api/oorexxapi.h:3697:21: error: 'ARGUMENT_TYPE___y' was not declared in
this scope
 #define __type(t)   ARGUMENT_TYPE_##t
 ^
/QOpenSys/pkgs/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include/c++/cmath: In
function 'constexpr typename
__gnu_cxx::__enable_if<(std::__is_ar

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*
GetRoutinePackage(RexxThreadContext*, RexxRoutineObject)':
./interpreter/api/ThreadContextStubs.cpp:579:12: error: cannot convert
'bool' to 'RexxPackageObject {aka _RexxPackageObject*}' in return
  return false;
^
-- 
Jack Woehr
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021

NON-DISCLOSURE NOTICE:  This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information.  If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited.  If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


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/oorexx/code-0/main/releases/4.2.0/trunk
> trunk
>
>
-- 
Jack Woehr
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021

NON-DISCLOSURE NOTICE:  This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information.  If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited.  If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


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/oorexx-devel


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
> Please try checking out source from this location
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>


-- 
Jack Woehr
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021

NON-DISCLOSURE NOTICE:  This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information.  If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited.  If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


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/lists/listinfo/oorexx-devel


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 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
> ...
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2
> -DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\"
> -DORX_SYS_STR=\"unknown\" -DORX_CATDIR=\"/usr/bin\"
> -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix
> -I./common -I./common/platform/unix -I./interpreter
> -I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory
> -I./interpreter/package -I./interpreter/concurrency
> -I./interpreter/expression -I./interpreter/instructions
> -I./interpreter/classes -I./interpreter/classes/support
> -I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages
> -I./interpreter/streamLibrary -I./interpreter/platform/common
> -I./interpreter/platform/unix -g -O2 -g -O2 -DNOOPT -DPTHREAD_KERNEL
> -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -MT
> librexx_la-ThreadContextStubs.lo -MD -MP -MF
> .deps/librexx_la-ThreadContextStubs.Tpo -c
> ./interpreter/api/ThreadContextStubs.cpp -o librexx_la-ThreadContextStubs.o
> ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxPackageObject*
> GetRoutinePackage(RexxThreadContext*, RexxRoutineObject)':
> ./interpreter/api/ThreadContextStubs.cpp:579:12: error: cannot convert
> 'bool' to 'RexxPackageObject {aka _RexxPackageObject*}' in return
>  return false;
> ^
> ./interpreter/api/ThreadContextStubs.cpp: In function '_RexxPackageObject*
> GetMethodPackage(RexxThreadContext*, RexxMethodObject)':
> ./interpreter/api/ThreadContextStubs.cpp:594:12: error: cannot convert
> 'bool' to 'RexxPackageObject {aka _RexxPackageObject*}' in return
>  return false;
> ^
> make: *** [Makefile:2566: librexx_la-ThreadContextStubs.lo] Error 1
> --
> Jack Woehr
> Absolute Performance, Inc.
> 12303 Airport Way, Suite 100
> Broomfield, CO 80021
>
> NON-DISCLOSURE NOTICE:  This communication including any and all
> attachments is for the intended recipient(s) only and may contain
> confidential and privileged information.  If you are not the intended
> recipient of this communication, any disclosure, copying further
> distribution or use of this communication is prohibited.  If you received
> this communication in error, please contact the sender and delete/destroy
> all copies of this communication immediately.
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


[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
...
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=2
-DORX_MOD=0 -DORX_FIX=0 -DOOREXX_COPY_YEAR=\"2005-2013\"
-DORX_SYS_STR=\"unknown\" -DORX_CATDIR=\"/usr/bin\"
-DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix
-I./common -I./common/platform/unix -I./interpreter
-I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory
-I./interpreter/package -I./interpreter/concurrency
-I./interpreter/expression -I./interpreter/instructions
-I./interpreter/classes -I./interpreter/classes/support
-I./interpreter/runtime -I./interpreter/parser -I./interpreter/messages
-I./interpreter/streamLibrary -I./interpreter/platform/common
-I./interpreter/platform/unix -g -O2 -g -O2 -DNOOPT -DPTHREAD_KERNEL
-D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -MT
librexx_la-ThreadContextStubs.lo -MD -MP -MF
.deps/librexx_la-ThreadContextStubs.Tpo -c
./interpreter/api/ThreadContextStubs.cpp -o librexx_la-ThreadContextStubs.o
./interpreter/api/ThreadContextStubs.cpp: In function '_RexxPackageObject*
GetRoutinePackage(RexxThreadContext*, RexxRoutineObject)':
./interpreter/api/ThreadContextStubs.cpp:579:12: error: cannot convert
'bool' to 'RexxPackageObject {aka _RexxPackageObject*}' in return
 return false;
^
./interpreter/api/ThreadContextStubs.cpp: In function '_RexxPackageObject*
GetMethodPackage(RexxThreadContext*, RexxMethodObject)':
./interpreter/api/ThreadContextStubs.cpp:594:12: error: cannot convert
'bool' to 'RexxPackageObject {aka _RexxPackageObject*}' in return
 return false;
^
make: *** [Makefile:2566: librexx_la-ThreadContextStubs.lo] Error 1
-- 
Jack Woehr
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021

NON-DISCLOSURE NOTICE:  This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information.  If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited.  If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel