open-hpi / openhpi

Other
6 stars 10 forks source link

Compile fails on glib < 2.32 version #1978

Closed mohandev2 closed 6 years ago

mohandev2 commented 6 years ago

There are errors while compiling on an older version of linux system (glib < 2.32) like RHEL 6.5 etc. The following are some of the errors.

timers.cpp: In member function ‘void TA::cTimers::ThreadFunc()’: timers.cpp:201: error: 'no' was not declared in this scope timers.cpp:201: error: expected ';' before ')' token timers.cpp:219: error: cannot convert ‘GTimeVal’ to ‘GTimeVal’ for argument ‘3’ to ‘gboolean wrap_g_cond_timed_wait(GCond, GMutex, GTimeVal)’ make: *** [timers.lo] Error 1

Check building all packages other than ov_rest package also.

Reported by: mohandev2

Original Ticket: openhpi/bugs/1978

mohandev2 commented 6 years ago

This is related to #1974

Original comment by: mohandev2

mohandev2 commented 6 years ago

Original comment by: mohandev2

mohandev2 commented 6 years ago

Fixed with checkin #7726.

Original comment by: mohandev2