I think you're going to need to investigate this one from your end. I
suspect there are some setup problems in the config.h generated by the
CMake build. This code was not changed from the original, so it should
compile. The first thing you need to check is to see if maybe the AIX
#define is somehow getting set, which would prevent <sys/time.h> from
getting included. According to this:
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man2/gettimeofday.2.html
that function should be there.
Rick
On Sun, Sep 21, 2014 at 6:07 PM, René Jansen <rvjan...@xs4all.nl> wrote:
> It did, but further down there is a new problem:
>
> [ 76%] Building CXX object
> CMakeFiles/rexx.dir/interpreter/platform/unix/TimeSupport.cpp.o
> */Users/rvjansen/apps/oorexx/oorexx-code-0/interpreter/platform/unix/TimeSupport.cpp:62:5:
> **error: **use of undeclared*
> * identifier 'gettimeofday'*
> gettimeofday(&tv, NULL);
> * ^*
> 1 error generated.
> make[2]: ***
> [CMakeFiles/rexx.dir/interpreter/platform/unix/TimeSupport.cpp.o] Error 1
> make[1]: *** [CMakeFiles/rexx.dir/all] Error 2
>
> René.
>
> On 21 sep. 2014, at 21:15, Rick McGuire <object.r...@gmail.com> wrote:
>
> I just checked in a new ErrorMessages.cpp file. See if that fixes the
> problem.
>
> Rick
>
> On Sun, Sep 21, 2014 at 2:55 PM, René Jansen <rvjan...@xs4all.nl> wrote:
>
>> Generated with Cmake, now previous error gone, and I reach 70% of build.
>> But then:
>>
>> */Users/rvjansen/apps/oorexx/oorexx-code-0/interpreter/platform/unix/ErrorMessages.cpp:119:81:
>> **error: **use of*
>> * undeclared identifier 'CATD_ERR'*
>> if ((catd = catopen(REXXMESSAGEFILE, SECOND_PARAMETER)) ==
>> (nl_catd)CATD_ERR)
>> *
>> ^*
>> */Users/rvjansen/apps/oorexx/oorexx-code-0/interpreter/platform/unix/ErrorMessages.cpp:122:78:
>> **error: **use of*
>> * undeclared identifier 'CATD_ERR'*
>> if ((catd = catopen(DataArea, SECOND_PARAMETER)) ==
>> (nl_catd)CATD_ERR)
>> *
>> ^*
>> 2 errors generated.
>> make[2]: ***
>> [CMakeFiles/rexx.dir/interpreter/platform/unix/ErrorMessages.cpp.o] Error 1
>> make[1]: *** [CMakeFiles/rexx.dir/all] Error 2
>> make: *** [all] Error 2
>>
>> best regards,
>>
>> René.
>>
>>
>> On 21 sep. 2014, at 13:03, Rick McGuire <object.r...@gmail.com> wrote:
>>
>> That's supposed to happen automatically when the list updates, but it
>> might be a good idea to start from a clean state.
>>
>> Rick
>>
>> On Sun, Sep 21, 2014 at 6:59 AM, René Jansen <rvjan...@xs4all.nl> wrote:
>>
>>> now you mention Cmake .... I might have to refresh my makefile from this
>>> cmake txt list.
>>> I'll try that later today.
>>>
>>> best regards,
>>>
>>> René.
>>>
>>>
>>> On 21 sep. 2014, at 00:43, Rick McGuire <object.r...@gmail.com> wrote:
>>>
>>> Well, you got me. There are no references to a StackClass in the
>>> CmakeList.txt file nor anywhere in the build tree. I have no idea where
>>> this comes from.
>>>
>>> Rick
>>>
>>> On Sat, Sep 20, 2014 at 6:38 PM, René Jansen <rvjan...@xs4all.nl> wrote:
>>>
>>>> Now it comes a lot further, but it stops at:
>>>>
>>>> make: *** No rule to make target `interpreter/classes/StackClass.cpp',
>>>> needed by `librexx_la-StackClass.lo'. Stop.
>>>>
>>>> best regards,
>>>>
>>>> René.
>>>>
>>>>
>>>>
>>>> On 20 sep. 2014, at 22:48, Rick McGuire <object.r...@gmail.com> wrote:
>>>>
>>>> I also discovered that my fix will have the same problem because there
>>>> is also a PACKAGE_STRING define in the config.h. It looks like there is
>>>> something strange going on the the Mac build. On linux, the define is
>>>>
>>>> #define PACKAGE ooRexx
>>>>
>>>> Which didn't cause a syntax error. On your build, the ooRexx was
>>>> surrounded by quotes, which caused the syntax error. I'm not sure if this
>>>> additional quoting will cause issues with its intended purpose or not.
>>>> I'll check a new fix in just as soon as everything finishes compiling.
>>>>
>>>> Rick
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Slashdot TV. Video for Nerds. Stuff that Matters.
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Oorexx-devel mailing list
>>>> Oorexx-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>>>
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Slashdot TV. Video for Nerds. Stuff that Matters.
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk_______________________________________________
>>> Oorexx-devel mailing list
>>> Oorexx-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Slashdot TV. Video for Nerds. Stuff that Matters.
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Oorexx-devel mailing list
>>> Oorexx-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Slashdot TV. Video for Nerds. Stuff that Matters.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk_______________________________________________
>> Oorexx-devel mailing list
>> Oorexx-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Slashdot TV. Video for Nerds. Stuff that Matters.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Oorexx-devel mailing list
>> Oorexx-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>
>>
>
> ------------------------------------------------------------------------------
> Slashdot TV. Video for Nerds. Stuff that Matters.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk_______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>
>
>
> ------------------------------------------------------------------------------
> Slashdot TV. Video for Nerds. Stuff that Matters.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>
------------------------------------------------------------------------------
Slashdot TV. Video for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel