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

TimeSeriesExporter compile Error on version 3.4 #1833

Closed
ummeegge opened this Issue Jun 25, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@ummeegge

ummeegge commented Jun 25, 2018

Hello,
i do have currently a problem to compile the new 3.4 version (tested with stable and version from dev branch from today). The build process throws an error on TimeSeriesExporter and stops at this point.

^ In file included from /usr/include/fcntl.h:313:0, from /usr/src/ntopng/include/ntop_includes.h:84, from src/TimeSeriesExporter.cpp:22: In function 'int open(const char*, int, ...)', inlined from 'void TimeSeriesExporter::createDump()' at src/TimeSeriesExporter.cpp:77:12: /usr/include/bits/fcntl2.h:50:24: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments __open_missing_mode (); ~~~~~~~~~~~~~~~~~~~~^~ make[1]: *** [Makefile:167: src/TimeSeriesExporter.o] Error 1 make[1]: Leaving directory '/usr/src/ntopng' make: *** [ntopng:93: /usr/src/log/ntopng-3.4.220618] Error 2

You can find the complete build log in here --> https://people.ipfire.org/~ummeegge/ntopng/build_logs/TimeSeriesExporter_compile_error.txt .

My system is an IPFire system based on LFS Linux.

Best regards,

Erik

@emanuele-f

This comment has been minimized.

Show comment
Hide comment
@emanuele-f

emanuele-f Jun 26, 2018

Contributor

By searching the issue on the web, it seems like the open function (in TimeSeriesExporter::createDump) on your system requires three arguments. Please check out pantheon-systems/fusedav#204 .

Contributor

emanuele-f commented Jun 26, 2018

By searching the issue on the web, it seems like the open function (in TimeSeriesExporter::createDump) on your system requires three arguments. Please check out pantheon-systems/fusedav#204 .

@ummeegge

This comment has been minimized.

Show comment
Hide comment
@ummeegge

ummeegge Jun 26, 2018

Hello emanuele-f,
this fixed the problem thanks for providing the link to this solution.

Best regards,

Erik

ummeegge commented Jun 26, 2018

Hello emanuele-f,
this fixed the problem thanks for providing the link to this solution.

Best regards,

Erik

@emanuele-f

This comment has been minimized.

Show comment
Hide comment
@emanuele-f

emanuele-f Jun 27, 2018

Contributor

Glad it helped.

Contributor

emanuele-f commented Jun 27, 2018

Glad it helped.

@emanuele-f emanuele-f closed this Jun 27, 2018

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