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

fixed linker error #24

Open
wants to merge 2 commits into
base: debian
Choose a base branch
from
Open

fixed linker error #24

wants to merge 2 commits into from

Conversation

rolffokkens
Copy link
Contributor

gcc 5.1.1 rightfully complains about this:
[rolf.fokkens@home07 bcache-tools-1.0.8.orig]$ make
cc -O2 -Wall -gpkg-config --cflags uuid blkid-c -o bcache.o bcache.c
bcache.c:125:9: warning: ‘crc_table’ is static but used in inline function ‘crc64’ which is not static
crc = crc_table[i] ^ (crc << 8);
^
cc -O2 -Wall -gpkg-config --cflags uuid blkidmake-bcache.c bcache.opkg-config --libs uuid blkid-o make-bcache
/tmp/cchVVBrJ.o: In functionwrite_sb': /tmp/bcache-tools-1.0.8.orig/make-bcache.c:277: undefined reference to crc64'
collect2: error: ld returned 1 exit status
<builtin>: recipe for target 'make-bcache' failed
make: *** [make-bcache] Error 1
[rolf.fokkens@home07 bcache-tools-1.0.8.orig]$

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