[mosh-devel] Mosh 1.2.3 make error

George R. Kasica gkasica at netwrx1.com
Mon Jan 14 22:16:26 EST 2013


No better. Originally it was an old caldera box but over time it's become pretty generic

Kernel is 3.3.7
gcc is 4.6.2


Here's the make failure now after the configure change:

Making all in util
make[3]: Entering directory `/mnt/scsi-1/Linux/mosh/mosh-1.2.3/src/util'
  CXX    locale_utils.o
  CXX    swrite.o
  CXX    select.o
In file included from /usr/local/include/asm/sigcontext.h:5:0,
                 from /usr/local/include/bits/sigcontext.h:28,
                 from /usr/local/include/signal.h:307,
                 from select.h:38,
                 from select.cc:33:
  CXX    timestamp.o
timestamp.cc: In function 'void freeze_timestamp()':
timestamp.cc:86:26: error: 'NULL' was not declared in this scope
timestamp.cc:87:28: error: 'perror' was not declared in this scope
make[3]: *** [timestamp.o] Error 1
make[3]: Leaving directory `/mnt/scsi-1/Linux/mosh/mosh-1.2.3/src/util'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/scsi-1/Linux/mosh/mosh-1.2.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/scsi-1/Linux/mosh/mosh-1.2.3'
make: *** [all] Error 2


---
George R. Kasica
Sent from my iPadHD

On Jan 14, 2013, at 21:07, "Keith Winstein" <keithw at mit.edu> wrote:

> Interesting -- what kind of Linux (what version) is this? You appear
> to have a clock_gettime() but no CLOCK_MONOTONIC device.
> 
> Please try configuring with:
> 
> $ ./configure ac_cv_search_clock_gettime=no
> 
> That will tell it to use a fallback clock (gettimeofday()) instead.
> 
> Please let us know if that doesn't work. Good luck,
> Keith
> 
> On Mon, Jan 14, 2013 at 9:58 PM, George R. Kasica <gkasica at netwrx1.com> wrote:
>> Running into the below error trying to make mosh 1.2.3 from Linux source
>> file all the dependencies seem to have built correctly and I put the pearl
>> module in with the perl -e CPAN method. Should I also build that from it's
>> source instead?
>> 
>> Any ideas how to fix this? The 1.2.3 RPM works beautifully on a FC17 box
>> here but this older system is not RPM based.
>> 
>> CXX timestamp.o timestamp.cc: In function 'void freeze_timestamp()':
>> timestamp.cc:63:23: error: 'CLOCK_MONOTONIC' was not declared in this scope
>> make[3]: *** [timestamp.o] Error 1 make[3]: Leaving directory
>> `/mnt/scsi-1/Linux/mosh/mosh-1.2.3/src/util' make[2]: *** [all-recursive]
>> Error 1 make[2]: Leaving directory `/mnt/scsi-1/Linux/mosh/mosh-1.2.3/src'
>> make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
>> `/mnt/scsi-1/Linux/mosh/mosh-1.2.3' make: *** [all] Error 2
>> 
>> ---
>> George R. Kasica
>> Sent from my iPadHD
>> 
>> _______________________________________________
>> mosh-devel mailing list
>> mosh-devel at mit.edu
>> http://mailman.mit.edu/mailman/listinfo/mosh-devel
>> 




More information about the mosh-devel mailing list