Skip to content

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

Open
chensong2000 wants to merge 20 commits intolinuxep:masterfrom
chensong2000:master
Open

add -lrt to solve undefined reference of clock_gettime in ev.c#1
chensong2000 wants to merge 20 commits intolinuxep:masterfrom
chensong2000:master

Conversation

@chensong2000
Copy link
Copy Markdown
Collaborator

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
Copy link
Copy Markdown
Collaborator Author

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
Copy link
Copy Markdown
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant