np78
08-23-2024, 09:36 AM
I have been running showeq-6.3.16 until now and was trying to install version 6.4.0.
I checked out the svn version and ran
make -f Makefile.dist build
./configure
Without any problems.
When I run make I get these errors:
mv -f .deps/netdiag.Tpo .deps/netdiag.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include/Qt -I/usr/include/Qt3Support -I/usr/include/QtCore -I/usr/include/QtDBus -I/usr/include/QtDeclarative -I/usr/include/QtDesigner -I/usr/include/QtGui -I/usr/include/QtHelp -I/usr/include/QtMultimedia -I/usr/include/QtNetwork -I/usr/include/QtOpenGL -I/usr/include/QtScript -I/usr/include/QtScriptTools -I/usr/include/QtSql -I/usr/include/QtSvg -I/usr/include/QtTest -I/usr/include/QtUiTools -I/usr/include/QtXml -I/usr/include/QtXmlPatterns -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -std=c++11 -fPIC -DQT_NO_VERSION_TAGGING -MT netstream.o -MD -MP -MF .deps/netstream.Tpo -c -o netstream.o netstream.cpp
mv -f .deps/netstream.Tpo .deps/netstream.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include/Qt -I/usr/include/Qt3Support -I/usr/include/QtCore -I/usr/include/QtDBus -I/usr/include/QtDeclarative -I/usr/include/QtDesigner -I/usr/include/QtGui -I/usr/include/QtHelp -I/usr/include/QtMultimedia -I/usr/include/QtNetwork -I/usr/include/QtOpenGL -I/usr/include/QtScript -I/usr/include/QtScriptTools -I/usr/include/QtSql -I/usr/include/QtSvg -I/usr/include/QtTest -I/usr/include/QtUiTools -I/usr/include/QtXml -I/usr/include/QtXmlPatterns -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -std=c++11 -fPIC -DQT_NO_VERSION_TAGGING -MT packetcapture.o -MD -MP -MF .deps/packetcapture.Tpo -c -o packetcapture.o packetcapture.cpp
mv -f .deps/packetcapture.Tpo .deps/packetcapture.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include/Qt -I/usr/include/Qt3Support -I/usr/include/QtCore -I/usr/include/QtDBus -I/usr/include/QtDeclarative -I/usr/include/QtDesigner -I/usr/include/QtGui -I/usr/include/QtHelp -I/usr/include/QtMultimedia -I/usr/include/QtNetwork -I/usr/include/QtOpenGL -I/usr/include/QtScript -I/usr/include/QtScriptTools -I/usr/include/QtSql -I/usr/include/QtSvg -I/usr/include/QtTest -I/usr/include/QtUiTools -I/usr/include/QtXml -I/usr/include/QtXmlPatterns -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -std=c++11 -fPIC -DQT_NO_VERSION_TAGGING -MT packetcaptureprovider.o -MD -MP -MF .deps/packetcaptureprovider.Tpo -c -o packetcaptureprovider.o packetcaptureprovider.cpp
packetcaptureprovider.cpp: In constructor ‘PacketCaptureProviderThread::PacketCaptureProvide rThread()’:
packetcaptureprovider.cpp:31:5: error: ‘pthread_mutex_init’ was not declared in this scope; did you mean ‘pthread_mutex_t’?
31 | pthread_mutex_init(&m_pcache_mutex, NULL);
| ^~~~~~~~~~~~~~~~~~
| pthread_mutex_t
packetcaptureprovider.cpp: In destructor ‘virtual PacketCaptureProviderThread::~PacketCaptureProvide rThread()’:
packetcaptureprovider.cpp:37:5: error: ‘pthread_mutex_lock’ was not declared in this scope; did you mean ‘pthread_mutex_t’?
37 | pthread_mutex_lock (&m_pcache_mutex);
| ^~~~~~~~~~~~~~~~~~
| pthread_mutex_t
packetcaptureprovider.cpp:54:5: error: ‘pthread_mutex_unlock’ was not declared in this scope; did you mean ‘pthread_mutex_t’?
54 | pthread_mutex_unlock (&m_pcache_mutex);
| ^~~~~~~~~~~~~~~~~~~~
| pthread_mutex_t
packetcaptureprovider.cpp:56:5: error: ‘pthread_mutex_destroy’ was not declared in this scope; did you mean ‘pthread_mutexattr_t’?
56 | pthread_mutex_destroy(&m_pcache_mutex);
| ^~~~~~~~~~~~~~~~~~~~~
| pthread_mutexattr_t
packetcaptureprovider.cpp: In member function ‘virtual uint16_t PacketCaptureProviderThread::getPacket(unsigned char*)’:
packetcaptureprovider.cpp:65:5: error: ‘pthread_mutex_lock’ was not declared in this scope; did you mean ‘pthread_mutex_t’?
65 | pthread_mutex_lock (&m_pcache_mutex);
| ^~~~~~~~~~~~~~~~~~
| pthread_mutex_t
packetcaptureprovider.cpp:79:5: error: ‘pthread_mutex_unlock’ was not declared in this scope; did you mean ‘pthread_mutex_t’?
79 | pthread_mutex_unlock (&m_pcache_mutex);
| ^~~~~~~~~~~~~~~~~~~~
| pthread_mutex_t
make[2]: *** [Makefile:911: packetcaptureprovider.o] Error 1
make[2]: Leaving directory '/seq/showeq-6.4.0/src'
make[1]: *** [Makefile:454: all-recursive] Error 1
make[1]: Leaving directory '/seq/showeq-6.4.0'
make: *** [Makefile:386: all] Error 2
Do I need to update some libraries to make this build?
I am running on Fedora Linux 36 (Workstation Edition)
I checked out the svn version and ran
make -f Makefile.dist build
./configure
Without any problems.
When I run make I get these errors:
mv -f .deps/netdiag.Tpo .deps/netdiag.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include/Qt -I/usr/include/Qt3Support -I/usr/include/QtCore -I/usr/include/QtDBus -I/usr/include/QtDeclarative -I/usr/include/QtDesigner -I/usr/include/QtGui -I/usr/include/QtHelp -I/usr/include/QtMultimedia -I/usr/include/QtNetwork -I/usr/include/QtOpenGL -I/usr/include/QtScript -I/usr/include/QtScriptTools -I/usr/include/QtSql -I/usr/include/QtSvg -I/usr/include/QtTest -I/usr/include/QtUiTools -I/usr/include/QtXml -I/usr/include/QtXmlPatterns -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -std=c++11 -fPIC -DQT_NO_VERSION_TAGGING -MT netstream.o -MD -MP -MF .deps/netstream.Tpo -c -o netstream.o netstream.cpp
mv -f .deps/netstream.Tpo .deps/netstream.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include/Qt -I/usr/include/Qt3Support -I/usr/include/QtCore -I/usr/include/QtDBus -I/usr/include/QtDeclarative -I/usr/include/QtDesigner -I/usr/include/QtGui -I/usr/include/QtHelp -I/usr/include/QtMultimedia -I/usr/include/QtNetwork -I/usr/include/QtOpenGL -I/usr/include/QtScript -I/usr/include/QtScriptTools -I/usr/include/QtSql -I/usr/include/QtSvg -I/usr/include/QtTest -I/usr/include/QtUiTools -I/usr/include/QtXml -I/usr/include/QtXmlPatterns -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -std=c++11 -fPIC -DQT_NO_VERSION_TAGGING -MT packetcapture.o -MD -MP -MF .deps/packetcapture.Tpo -c -o packetcapture.o packetcapture.cpp
mv -f .deps/packetcapture.Tpo .deps/packetcapture.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include/Qt -I/usr/include/Qt3Support -I/usr/include/QtCore -I/usr/include/QtDBus -I/usr/include/QtDeclarative -I/usr/include/QtDesigner -I/usr/include/QtGui -I/usr/include/QtHelp -I/usr/include/QtMultimedia -I/usr/include/QtNetwork -I/usr/include/QtOpenGL -I/usr/include/QtScript -I/usr/include/QtScriptTools -I/usr/include/QtSql -I/usr/include/QtSvg -I/usr/include/QtTest -I/usr/include/QtUiTools -I/usr/include/QtXml -I/usr/include/QtXmlPatterns -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -std=c++11 -fPIC -DQT_NO_VERSION_TAGGING -MT packetcaptureprovider.o -MD -MP -MF .deps/packetcaptureprovider.Tpo -c -o packetcaptureprovider.o packetcaptureprovider.cpp
packetcaptureprovider.cpp: In constructor ‘PacketCaptureProviderThread::PacketCaptureProvide rThread()’:
packetcaptureprovider.cpp:31:5: error: ‘pthread_mutex_init’ was not declared in this scope; did you mean ‘pthread_mutex_t’?
31 | pthread_mutex_init(&m_pcache_mutex, NULL);
| ^~~~~~~~~~~~~~~~~~
| pthread_mutex_t
packetcaptureprovider.cpp: In destructor ‘virtual PacketCaptureProviderThread::~PacketCaptureProvide rThread()’:
packetcaptureprovider.cpp:37:5: error: ‘pthread_mutex_lock’ was not declared in this scope; did you mean ‘pthread_mutex_t’?
37 | pthread_mutex_lock (&m_pcache_mutex);
| ^~~~~~~~~~~~~~~~~~
| pthread_mutex_t
packetcaptureprovider.cpp:54:5: error: ‘pthread_mutex_unlock’ was not declared in this scope; did you mean ‘pthread_mutex_t’?
54 | pthread_mutex_unlock (&m_pcache_mutex);
| ^~~~~~~~~~~~~~~~~~~~
| pthread_mutex_t
packetcaptureprovider.cpp:56:5: error: ‘pthread_mutex_destroy’ was not declared in this scope; did you mean ‘pthread_mutexattr_t’?
56 | pthread_mutex_destroy(&m_pcache_mutex);
| ^~~~~~~~~~~~~~~~~~~~~
| pthread_mutexattr_t
packetcaptureprovider.cpp: In member function ‘virtual uint16_t PacketCaptureProviderThread::getPacket(unsigned char*)’:
packetcaptureprovider.cpp:65:5: error: ‘pthread_mutex_lock’ was not declared in this scope; did you mean ‘pthread_mutex_t’?
65 | pthread_mutex_lock (&m_pcache_mutex);
| ^~~~~~~~~~~~~~~~~~
| pthread_mutex_t
packetcaptureprovider.cpp:79:5: error: ‘pthread_mutex_unlock’ was not declared in this scope; did you mean ‘pthread_mutex_t’?
79 | pthread_mutex_unlock (&m_pcache_mutex);
| ^~~~~~~~~~~~~~~~~~~~
| pthread_mutex_t
make[2]: *** [Makefile:911: packetcaptureprovider.o] Error 1
make[2]: Leaving directory '/seq/showeq-6.4.0/src'
make[1]: *** [Makefile:454: all-recursive] Error 1
make[1]: Leaving directory '/seq/showeq-6.4.0'
make: *** [Makefile:386: all] Error 2
Do I need to update some libraries to make this build?
I am running on Fedora Linux 36 (Workstation Edition)