[gambit-list] Anything particular needed to compile on FreeBSD? 'make' on the compilation of the ~fourth file gives: error: 'openpty' was not declared in this scope

Adrien Piérard pierarda at iro.umontreal.ca
Wed Mar 6 16:59:26 EST 2013


Hum, I haven't had time to spend on it rencently, and I currently
don't have access to a FreeBSD machine, but the latest version of
Gambit that I put in the ports compiled properly…
Can you not use it?

P!

On 22 February 2013 05:46, Marc Feeley <feeley at iro.umontreal.ca> wrote:
>
> On 2013-02-21, at 11:26 PM, Mikael <mikael.rcv at gmail.com> wrote:
>
>> The compilation error is:
>>
>> error: 'openpty' was not declared in this scope
>>
>>
>> This was tried on latest FreeBSD 9.0 AMD64 with the gcc46 package installed, i.e., pkg_add -r gcc46; CXX=/usr/local/bin/g++46 ./configure --enable-cplusplus --enable-single-host; make .
>>
>> I tried with both the source for 4.6.6 and 4.6.7 as found on the repo today.
>>
>>
>> This entire prob made me think maybe there's some operating system headers file package or alike that I missed, though I would guess not as Gambit not has any dependencies apart from what's really core to a C compiler and standard OS and the configure step should have failed if there's any issues with those.
>>
>> Also, googling for it does not make me anywiser - apparently lots of people speak about crosscompat issues, which is unrelated to the question of it being defined at all, which this error seems to regard.
>>
>>
>> Can anyone else reproduce this problem?
>>
>> Any clue what it might be / how to resolve it?
>>
>
> Try to add
>
> #include <sys/types.h>
> #include <sys/ioctl.h>
> #include <termios.h>
> #include <libutil.h>
>
> at the top of os.h .  If that works, then some of the header file dependencies in os.h need to be fixed.
>
> Marc
>
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list



-- 
Français, English, 日本語, 한국어


More information about the Gambit-list mailing list