-
Notifications
You must be signed in to change notification settings - Fork 7
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
Error compiling on OSX #24
Comments
adding
in the header of ReadSequence.c solve the problem but now I have another problem
|
From what I remember, OSX should be recognized and Affinity deactivated. I will have a look at this and come back to you.
Thierry
Sent from MailDroid
…-----Original Message-----
From: Jacques Dainat ***@***.***>
To: sib-swiss/pftools3 ***@***.***>
Cc: Subscribed ***@***.***>
Sent: Tue, 12 Oct 2021 10:50 AM
Subject: Re: [sib-swiss/pftools3] Error compiling on OSX (#24)
adding
```
#if defined(__APPLE__) || defined(__NetBSD__)
#define st_atim st_atimespec
#define st_ctim st_ctimespec
#define st_mtim st_mtimespec
#endif
```
in the header of ReadSequence.c solve the problem but now I have another problem
```
Consolidate compiler generated dependencies of target SYSTEM
[ 36%] Building C object src/C/utils/CMakeFiles/SYSTEM.dir/system.c.o
In file included from /Users/jacda119/git/pftools3/src/C/utils/system.c:11:
/Users/jacda119/git/pftools3/src/C/include/system.h:90:32: error: unknown type name 'cpu_set_t'
typedef struct Affinity_Mask { cpu_set_t data; } Affinity_Mask_t;
^
1 error generated.
make[2]: *** [src/C/utils/CMakeFiles/SYSTEM.dir/system.c.o] Error 1
make[1]: *** [src/C/utils/CMakeFiles/SYSTEM.dir/all] Error 2
make: *** [all] Error 2
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#24 (comment)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
building info:
compiling with make:
The text was updated successfully, but these errors were encountered: