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

compile error:stream_copy_hook not defined #82

Open
miaojianxin opened this issue Jan 25, 2019 · 4 comments
Open

compile error:stream_copy_hook not defined #82

miaojianxin opened this issue Jan 25, 2019 · 4 comments

Comments

@miaojianxin
Copy link

when i compile the latest pipeline_kafka code ,the pipelinedb is1.0.0. ,postgresql is 10.3,
i got the compile error:
pipeline_kafka.c:1485:2: 错误:‘stream_copy_hook’未声明(在此函数内第一次使用)
stream_copy_hook = copy_iter_hook;

that means the stream_copy_hook not defined, how can i do , thank you

@derekjn
Copy link
Contributor

derekjn commented Feb 1, 2019

@miaojianxin can you make sure you have the latest PipelineDB package revision? stream_copy_hook was added in package revision 9 so you're probably using an earlier revision.

@miaojianxin
Copy link
Author

yes, iuse the latest master branch, get the code from download https://github.com/pipelinedb/pipeline_kafka.git

@derekjn
Copy link
Contributor

derekjn commented Feb 2, 2019

@miaojianxin I'm actually referring to PipelineDB, not pipeline_kafka. You need to install a PipelineDB package >= revision 9. For example, the latest package revision is 11, which you can download from our release archives:

https://github.com/pipelinedb/pipelinedb/releases/tag/1.0.0-11

You can also just install the latest package from our apt/yum repos which will pick up the latest revision.

The PipelineDB package revision you are running does not have stream_copy_hook.

@miaojianxin
Copy link
Author

ok, i got it ,thank you

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

No branches or pull requests

2 participants