Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

error: structure has no member named `d_type'
error: `DT_DIR' undeclared (first use in this function)

# error: 'struct msghdr' has no member named 'msg_control'
-D_XPG4_2


# error: 'TIOCGWINSZ' was not declared in this scope
#include <termios.h>


How to run an old binary file

If a process uses localtime or similar time functions which use "struct tm", you sould set an environment variable OLDER_COMPAT wich some value (the value does not matter).

Example of Communigate Pro:

Code Block
titlestarting CGP in an old compatible mode
server# OLDER_COMPAT=yes /opt/CommuniGate/CGServer --Base /var/CommuniGate --Daemon

We have two extended fields in this structure. The variable forces ignoring them.