-
Notifications
You must be signed in to change notification settings - Fork 14
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
Cannot install on Mac M2 #74
Comments
same problem
|
Same problem on Mac M1.... make |
I am also not able to install on M1. however, I got the slightly different error: cd src; make; cd ..
gcc -c -g -w -O2 -fPIC -D_FILE_OFFSET_BITS=64 -D_USE_KNETFILE -DBGZF_CACHE index.c -o index.o
index.c:1417:24: error: incompatible pointer to integer conversion returning 'ti_iter_t' (aka 'struct __ti_iter_t *') from a function with result type 'int' [-Wint-conversion]
if (name == 0) return ti_iter_first();
^~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [index.o] Error 1
make[1]: *** [all-recur] Error 1```
Any update? |
Hi,
I am using Apple silicon (M2). When trying to compile I get the following error:
cd src; make; cd ..
gcc -g -w -O2 -fPIC -o pairix main.o -L. -lpairix -lm -lz
gcc -c -g -w -O2 -fPIC -D_FILE_OFFSET_BITS=64 -D_USE_KNETFILE -DBGZF_CACHE pairs_merger.c -o pairs_merger.o
pairs_merger.c:41:15: error: call to undeclared function 'pairs_merger'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
int res = pairs_merger(fn_list, num_fn, NULL);
^
1 error generated.
make[2]: *** [pairs_merger.o] Error 1
make[1]: *** [all-recur] Error 1
Does this look familiar at all?
The text was updated successfully, but these errors were encountered: