thanks,kaven.Your help is very useful for me.But when I you way to make ptpd,I face another problem: it can't compile ptptd's src/dep directory.
It shows:[root@localhost src]# can't find "ptpd.h",then show many grammar faults,such as
[msg.c] undefine TRUE (it is first use in this function).
I'm not familiar with Linux,is it my gcc compiler's setting fault? how to solve this problem?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's hard to say what could be the problem. The makefile should take care of everything. If you haven't already, try starting with a clean copy of the downloaded code.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's my first time use the program,but I can not compile the ptpd on the RedHat linux with the order"gcc ptpd.c -o ptd". Thanks,kaven.
PTPd comprises a few source files. You should use the makefile to build ptpd by running 'make' in ptpd's src/ directory.
thanks,kaven.Your help is very useful for me.But when I you way to make ptpd,I face another problem: it can't compile ptptd's src/dep directory.
It shows:[root@localhost src]# can't find "ptpd.h",then show many grammar faults,such as
[msg.c] undefine TRUE (it is first use in this function).
I'm not familiar with Linux,is it my gcc compiler's setting fault? how to solve this problem?
It's hard to say what could be the problem. The makefile should take care of everything. If you haven't already, try starting with a clean copy of the downloaded code.