Wireshark-bugs: [Wireshark-bugs] [Bug 10321] build error lcodec. can not find lcodec

Date: Tue, 05 Aug 2014 19:50:13 +0000

Comment # 4 on bug 10321 from
Created attachment 12965 [details]
Make output after editing qshark.pro and running qmake for making changes

because of qt5 i think you must insert this line in the beginning.

QT+=Qt5Widgets


And then run a qmake in ui/qt path to apply change.
After it previous make error get vanish but the latter comes (cannot find
lcodec):

g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DINET6 -DREENTRANT
-D_U_="__attribute__((unused))" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
-DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore
-I/usr/include/QtGui -I/usr/include -I../.. -I../../wiretap
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I. -I. -o qrc_welcome.o
qrc_welcome.cpp
g++ -Wl,-O1 -o ../../wireshark-qt-release/qtshark airpcap_loader.o
capture-pcap-util.o capture.o capture_ifinfo.o capture_info.o capture_opts.o
capture_sync.o capture_ui_utils.o cfile.o cfutils.o clopts_common.o
color_filters.o file.o fileset.o filters.o frame_tvbuff.o proto_hier_stats.o
summary.o sync_pipe_write.o version_info.o capture-pcap-util-unix.o
about_dialog.o accordion_frame.o byte_view_tab.o byte_view_text.o
capture_file_dialog.o capture_filter_combo.o capture_filter_edit.o
capture_filter_syntax_worker.o capture_info_dialog.o capture_interface_dialog.o
capture_interfaces_dialog.o capture_preferences_frame.o color_dialog.o
color_utils.o column_preferences_frame.o decode_as_dialog.o
display_filter_combo.o display_filter_edit.o elided_label.o
export_dissection_dialog.o export_object_dialog.o export_pdu_dialog.o
file_set_dialog.o filter_expressions_preferences_frame.o follow_stream_dialog.o
follow_stream_text.o font_color_preferences_frame.o import_text_dialog.o
interface_tree.o io_graph_dialog.o label_stack.o layout_preferences_frame.o
lbm_lbtrm_transport_dialog.o lbm_lbtru_transport_dialog.o lbm_stream_dialog.o
lbm_uimflow_dialog.o main.o main_status_bar.o main_welcome.o main_window.o
main_window_preferences_frame.o main_window_slots.o
module_preferences_scroll_area.o packet_comment_dialog.o
packet_format_group_box.o packet_list.o packet_list_model.o
packet_list_record.o packet_range_group_box.o preferences_dialog.o
print_dialog.o profile_dialog.o progress_bar.o proto_tree.o qcustomplot.o
qt_ui_utils.o recent_file_status.o related_packet_delegate.o
sctp_all_assocs_dialog.o sctp_assoc_analyse_dialog.o
sctp_chunk_statistics_dialog.o sctp_graph_dialog.o sctp_graph_arwnd_dialog.o
sctp_graph_byte_dialog.o search_frame.o sequence_diagram.o sequence_dialog.o
simple_dialog_qt.o sparkline_delegate.o splash_overlay.o stats_tree_dialog.o
summary_dialog.o syntax_line_edit.o time_shift_dialog.o uat_dialog.o
wireshark_application.o tcp_stream_dialog.o wireshark-tap-register.o
moc_about_dialog.o moc_accordion_frame.o moc_capture_interfaces_dialog.o
moc_capture_preferences_frame.o moc_column_preferences_frame.o
moc_decode_as_dialog.o moc_elided_label.o moc_export_dissection_dialog.o
moc_export_object_dialog.o moc_export_pdu_dialog.o
moc_filter_expressions_preferences_frame.o moc_follow_stream_dialog.o
moc_follow_stream_text.o moc_font_color_preferences_frame.o
moc_layout_preferences_frame.o moc_lbm_lbtrm_transport_dialog.o
moc_lbm_lbtru_transport_dialog.o moc_lbm_stream_dialog.o
moc_lbm_uimflow_dialog.o moc_main_window_preferences_frame.o
moc_module_preferences_scroll_area.o moc_packet_comment_dialog.o
moc_packet_format_group_box.o moc_preferences_dialog.o moc_print_dialog.o
moc_profile_dialog.o moc_sctp_all_assocs_dialog.o
moc_sctp_assoc_analyse_dialog.o moc_sctp_chunk_statistics_dialog.o
moc_sctp_graph_dialog.o moc_sctp_graph_arwnd_dialog.o
moc_sctp_graph_byte_dialog.o moc_search_frame.o moc_splash_overlay.o
moc_stats_tree_dialog.o moc_summary_dialog.o moc_uat_dialog.o
moc_tcp_stream_dialog.o moc_byte_view_tab.o moc_byte_view_text.o
moc_capture_file_dialog.o moc_capture_filter_combo.o moc_capture_filter_edit.o
moc_capture_filter_syntax_worker.o moc_capture_info_dialog.o
moc_capture_interface_dialog.o moc_color_dialog.o moc_color_utils.o
moc_display_filter_combo.o moc_display_filter_edit.o moc_file_set_dialog.o
moc_import_text_dialog.o moc_interface_tree.o moc_io_graph_dialog.o
moc_label_stack.o moc_main_status_bar.o moc_main_welcome.o moc_main_window.o
moc_packet_list.o moc_packet_list_model.o moc_packet_range_group_box.o
moc_progress_bar.o moc_proto_tree.o moc_qcustomplot.o moc_recent_file_status.o
moc_sequence_diagram.o moc_sequence_dialog.o moc_simple_dialog_qt.o
moc_syntax_line_edit.o moc_time_shift_dialog.o moc_wireshark_application.o
qrc_about.o qrc_display_filter.o qrc_layout.o qrc_status.o qrc_toolbar.o
qrc_i18n.o qrc_welcome.o    -L/usr/lib64 -L.. -L../../epan/.libs -Wl,-rpath
../../epan/.libs -L../../wiretap/.libs -Wl,-rpath ../../wiretap/.libs
-L../../wsutil/.libs -Wl,-rpath ../../wsutil/.libs -lwireshark -
lwiretap -lui -lcodecs -lwsutil -lpcap -lui_dirty -lglib-2.0 -L/lib64 -lz
-lQtGui -L/usr/lib64 -L/usr/X11R6/lib -lQtCore -lpthread 
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
cannot find -lcodecs
collect2: error: ld returned 1 exit status
make[2]: *** [../../wireshark-qt-release/qtshark] Error 1
make[2]: Leaving directory `/home/wireshark-1.12.0rc3/ui/qt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wireshark-1.12.0rc3'
make: *** [all] Error 2


You are receiving this mail because:
  • You are watching all bug changes.