linuxep / lepd

server daemon of LEP
45 stars 40 forks source link

add -lrt to solve undefined reference of clock_gettime in ev.c #1

Open chensong2000 opened 7 years ago

chensong2000 commented 7 years ago

building arm lepd acts different in my PC, it fails without -lrt due to undefined reference of clock_gettime in libev. i guess its harmless to have it in the script. please merge , thanks.

chensong2000 commented 7 years ago

Talked to liuping and merry, we will build sysstat, busybox, procrank and perf as internal modules in lepd. I tried sysstat, now iostat is already built in libsysstat.a and well linked with lepd.

Please review if it's the correct idea to go, if it is, i will continue to build another modules.

chensong2000 commented 7 years ago

commit -- Makefile and arm tools: 1,create a Makefile make ARCH=arm for arm make ARCH=X86 fro x86 2,reorganize source files to their folders, ./src, ./inc, ./obj, ./bin 3,build arm images of ps, top, perf ... from busybox or linux source code 4,add a macro in Makefile to make lepd adapt path of commands in either ARM or X86 devices