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

Broken build on RHEL/CentOS 5 #505

Closed
remicollet opened this issue Jan 9, 2016 · 2 comments
Closed

Broken build on RHEL/CentOS 5 #505

remicollet opened this issue Jan 9, 2016 · 2 comments

Comments

@remicollet
Copy link

Mostly for information, or if you have spare time to spend on this.

EL-5 is ~9 years old and will be EOL on 31 March, 2017 (soon)

Compile:

snappy.c: In function 'emit_copy_less_than64':
snappy.c:652: warning: implicit declaration of function 'htole16'
snappy.c: In function 'decompress_all_tags':
snappy.c:1208: warning: implicit declaration of function 'le32toh'

And of course, link:

 /builddir/build/BUILD/librdkafka-0c15023708302c41a36e95f9650d69c453dfabba/src/snappy.c:1234: undefined reference to `le32toh'
 /builddir/build/BUILD/librdkafka-0c15023708302c41a36e95f9650d69c453dfabba/src/snappy.c:652: undefined reference to `htole16'
@edenhill
Copy link
Contributor

Fixed now (verified on CentOS 5.11)

@remicollet
Copy link
Author

I confirm, fix ok.

Built on Fedora 20-23 and RHEL 5-7 (i686, x86_64).

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants