Ask Your Question
0

Wireshark 3.0 on CentOS 6 make error

asked 2019-08-13 15:23:48 +0000

werner gravatar image

updated 2019-08-14 11:14:52 +0000

Hello,

i want to install Wireshark 3.0.1 on CentOS 6.10.

I use :

-gcc /g++ 4.8.5

-glibc 2.17

I had installed all the dependencies and the cmake3 command is OK :

-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/local/bin/gcc
-- Check for working C compiler: /usr/local/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/local/bin/g++
-- Check for working CXX compiler: /usr/local/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Generating build using CMake 3.6.1
-- CMake build type: RelWithDebInfo
-- V: 3.0.1, MaV: 3, MiV: 0, PL: 1, EV: .
-- Performing Test C_fexcess_precision_fast_VALID
-- Performing Test C_fexcess_precision_fast_VALID - Success
-- Performing Test C_Wall_VALID
-- Performing Test C_Wall_VALID - Success
-- Performing Test C_Wextra_VALID
-- Performing Test C_Wextra_VALID - Success
-- Performing Test C_Wendif_labels_VALID
-- Performing Test C_Wendif_labels_VALID - Success
-- Performing Test C_Wpointer_arith_VALID
-- Performing Test C_Wpointer_arith_VALID - Success
-- Performing Test C_Wformat_security_VALID
-- Performing Test C_Wformat_security_VALID - Success
-- Performing Test C_fwrapv_VALID
-- Performing Test C_fwrapv_VALID - Success
-- Performing Test C_fno_strict_overflow_VALID
-- Performing Test C_fno_strict_overflow_VALID - Success
-- Performing Test C_Wvla_VALID
-- Performing Test C_Wvla_VALID - Success
-- Performing Test C_Waddress_VALID
-- Performing Test C_Waddress_VALID - Success
-- Performing Test C_Wattributes_VALID
-- Performing Test C_Wattributes_VALID - Success
-- Performing Test C_Wdiv_by_zero_VALID
-- Performing Test C_Wdiv_by_zero_VALID - Success
-- Performing Test C_Wignored_qualifiers_VALID
-- Performing Test C_Wignored_qualifiers_VALID - Success
-- Performing Test C_Wpragmas_VALID
-- Performing Test C_Wpragmas_VALID - Success
-- Performing Test C_Wno_overlength_strings_VALID
-- Performing Test C_Wno_overlength_strings_VALID - Success
-- Performing Test C_Wno_long_long_VALID
-- Performing Test C_Wno_long_long_VALID - Success
-- Performing Test C_Wheader_guard_VALID
-- Performing Test C_Wheader_guard_VALID - Failed
-- Performing Test C_Wcomma_VALID
-- Performing Test C_Wcomma_VALID - Failed
-- Performing Test C_Wshorten_64_to_32_VALID
-- Performing Test C_Wshorten_64_to_32_VALID - Failed
-- Performing Test C_Wframe_larger_than_32768_VALID
-- Performing Test C_Wframe_larger_than_32768_VALID - Success
-- Performing Test C_Wc___compat_VALID
-- Performing Test C_Wc___compat_VALID - Success
-- Performing Test C_Wunused_const_variable_VALID
-- Performing Test C_Wunused_const_variable_VALID - Failed
-- Performing Test C_Wshadow_VALID
-- Performing Test C_Wshadow_VALID - Success
-- Performing Test C_Wno_pointer_sign_VALID
-- Performing Test C_Wno_pointer_sign_VALID - Success
-- Performing Test C_Wold_style_definition_VALID
-- Performing Test C_Wold_style_definition_VALID - Success
-- Performing Test C_Wstrict_prototypes_VALID
-- Performing Test C_Wstrict_prototypes_VALID - Success
-- Performing Test C_Wlogical_op_VALID
-- Performing Test C_Wlogical_op_VALID - Success
-- Performing Test C_Wjump_misses_init_VALID
-- Performing Test C_Wjump_misses_init_VALID - Success
-- Performing Test C_Werror_implicit_VALID
-- Performing Test C_Werror_implicit_VALID - Success
-- Performing Test C_Wno_missing_braces_VALID
-- Performing Test C_Wno_missing_braces_VALID - Success
-- Performing Test CXX_fexcess_precision_fast_VALID
-- Performing Test CXX_fexcess_precision_fast_VALID - Success
-- Performing Test CXX_Wall_VALID
-- Performing Test CXX_Wall_VALID - Success
-- Performing Test CXX_Wextra_VALID
-- Performing Test CXX_Wextra_VALID - Success
-- Performing Test CXX_Wendif_labels_VALID
-- Performing Test CXX_Wendif_labels_VALID - Success
-- Performing Test CXX_Wpointer_arith_VALID
-- Performing Test CXX_Wpointer_arith_VALID - Success
-- Performing Test CXX_Wformat_security_VALID
-- Performing Test CXX_Wformat_security_VALID - Success
-- Performing Test CXX_fwrapv_VALID
-- Performing Test CXX_fwrapv_VALID - Success
-- Performing Test CXX_fno_strict_overflow_VALID
-- Performing Test CXX_fno_strict_overflow_VALID - Success
-- Performing Test CXX_Wvla_VALID
-- Performing Test CXX_Wvla_VALID - Success
-- Performing Test CXX_Waddress_VALID
-- Performing Test CXX_Waddress_VALID - Success
-- Performing Test CXX_Wattributes_VALID
-- Performing Test CXX_Wattributes_VALID - Success
-- Performing Test CXX_Wdiv_by_zero_VALID
-- Performing Test CXX_Wdiv_by_zero_VALID - Success
-- Performing Test CXX_Wignored_qualifiers_VALID
-- Performing Test CXX_Wignored_qualifiers_VALID - Success
-- Performing Test CXX_Wpragmas_VALID
-- Performing Test CXX_Wpragmas_VALID - Success
-- Performing Test CXX_Wno_overlength_strings_VALID
-- Performing Test CXX_Wno_overlength_strings_VALID - Success
-- Performing Test CXX_Wno_long_long_VALID
-- Performing Test CXX_Wno_long_long_VALID - Success
-- Performing Test CXX_Wheader_guard_VALID
-- Performing Test CXX_Wheader_guard_VALID - Failed
-- Performing Test CXX_Wcomma_VALID
-- Performing Test CXX_Wcomma_VALID - Failed
-- Performing Test CXX_Wshorten_64_to_32_VALID
-- Performing Test CXX_Wshorten_64_to_32_VALID - Failed
-- Performing Test CXX_Wframe_larger_than_32768_VALID
-- Performing ...
(more)
edit retag flag offensive close merge delete

Comments

Those types don't come from glibc, they come from GLib. What versions of GLib are on the CentOS 6 and CentOS 7 systems?

Guy Harris gravatar imageGuy Harris ( 2019-08-13 18:38:57 +0000 )edit

Hello, on CentOS 7 it's glib2-2.54 and on CentOS 6 it's glib2-2.28.

I tried to upgrade the version on CentOS 6 but newer versions of glib are specific to CentOS 7 (require filesystem version > 3.0, CentOS 6 is 2.4).

Is there a way to compile without upgrading glib or it is simply impossible to have Wireshark 3.0 on CentOS 6 ?

werner gravatar imagewerner ( 2019-08-14 08:10:18 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-08-14 11:22:48 +0000

werner gravatar image

updated 2019-08-14 11:24:38 +0000

I finally succeed to compile Wireshark 3.0.1 on CentOS 6.10.

Final solution from scratch is :

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2019-08-13 15:23:48 +0000

Seen: 72 times

Last updated: Aug 14