Compile D-ITG 2.7.0 Beta version in gcc version 4.3.2 with X86_64 bit you will get errors like this.

g++  -DLINUX_OS -Wall -Wno-deprecated   -c -o common/serial.o 
common/serial.cpp:87:21: error: stropts.h: No such file or directory 
make: *** [common/serial.o] Error 1

The solution is

```diff -r a/src/common/serial.cpp b/src/common/serial.cpp 87c87,88 < #include ---

//#include #include diff -r a/src/Makefile b/src/Makefile 42,43c42,44 < cxxflags =" $(CXXOPT)" ldflags =" -lpthread"> export CXX = g++34 export CXXFLAGS = $(CXXOPT) -D$(OS) -Wall -Wno-deprecated -fPIC export LDFLAGS = -lpthread $(LDOPT) -g ```

The reason for this is missing of stopts.h and gcc compatibly. you can change that include to unistd.h. And change CXX compiler to g++34.