forked from numactl/numactl
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/prefered: fix compiling problem
There is problem when running "make test/prefered": " CCLD test/prefered /usr/bin/ld: ./.libs/libnuma.so: undefined reference to `find_first' collect2: error: ld returned 1 exit status make: *** [Makefile:979: test/prefered] Error 1 " Fixing it by modifying Makefile and perfered.c Signed-off-by: Feng Tang <feng.tang@intel.com>
- Loading branch information
Showing
2 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,10 @@ | |
|
||
#define err(x) perror(x),exit(1) | ||
|
||
void usage(void) | ||
{ | ||
} | ||
|
||
int main(void) | ||
{ | ||
int max = numa_max_node(); | ||
|