Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open

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

wants to merge 20 commits into from

Conversation

chensong2000
Copy link
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
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
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