[ 775/2202] Compiling filesystem/filetracker.cpp
/usr/bin/ld: engine/download.cpp.6.o: в функции «DecompressBZipToDisk(char const, char const, char*, int)»:
download.cpp:(.text+0x43a): неопределённая ссылка на «BZ2_bzopen»
/usr/bin/ld: download.cpp:(.text+0x49e): неопределённая ссылка на «BZ2_bzread»
/usr/bin/ld: download.cpp:(.text+0x516): неопределённая ссылка на «BZ2_bzclose»
/usr/bin/ld: download.cpp:(.text+0x56a): неопределённая ссылка на «BZ2_bzclose»
collect2: error: ld returned 1 exit status
In file included from ../public/tier1/refcount.h:11,
from ../filesystem/basefilesystem.h:48,
from ../filesystem/filetracker.cpp:7:
../public/tier0/threadtools.h: In member function ‘void CThreadFastMutex::Lock(unsigned int) volatile’:
../public/tier0/threadtools.h:1063:32: warning: comparison of integer expressions of different signedness: ‘volatile uint32’ {aka ‘volatile unsigned int’} and ‘int32’ {aka ‘int’} [-Wsign-compare]
1063 | if ( m_ownerID != (int32)ThreadGetCurrentId() )
| ~~^~~~~~~~~~
../public/tier0/threadtools.h: In member function ‘void CThreadFastMutex::Unlock() volatile’:
../public/tier0/threadtools.h:1080:32: warning: comparison of integer expressions of different signedness: ‘volatile uint32’ {aka ‘volatile unsigned int’} and ‘int32’ {aka ‘int’} [-Wsign-compare]
1080 | if ( m_ownerID != (int32)ThreadGetCurrentId() )
| ~~^~~~~~~~~~
../filesystem/filetracker.cpp: In member function ‘virtual void FileListToUnloadForWhitelistChange::Release()’:
../filesystem/filetracker.cpp:328:17: warning: deleting object of polymorphic class type ‘FileListToUnloadForWhitelistChange’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
328 | delete this;
| ^~~
Waf: Leaving directory `/home/r00t/source-engine/build'
Build failed
-> task in 'engine' failed with exit status 1 (run with -v to display more information)
Build problem on debian 12 sid
[ 775/2202] Compiling filesystem/filetracker.cpp /usr/bin/ld: engine/download.cpp.6.o: в функции «DecompressBZipToDisk(char const, char const, char*, int)»: download.cpp:(.text+0x43a): неопределённая ссылка на «BZ2_bzopen» /usr/bin/ld: download.cpp:(.text+0x49e): неопределённая ссылка на «BZ2_bzread» /usr/bin/ld: download.cpp:(.text+0x516): неопределённая ссылка на «BZ2_bzclose» /usr/bin/ld: download.cpp:(.text+0x56a): неопределённая ссылка на «BZ2_bzclose» collect2: error: ld returned 1 exit status
In file included from ../public/tier1/refcount.h:11, from ../filesystem/basefilesystem.h:48, from ../filesystem/filetracker.cpp:7: ../public/tier0/threadtools.h: In member function ‘void CThreadFastMutex::Lock(unsigned int) volatile’: ../public/tier0/threadtools.h:1063:32: warning: comparison of integer expressions of different signedness: ‘volatile uint32’ {aka ‘volatile unsigned int’} and ‘int32’ {aka ‘int’} [-Wsign-compare] 1063 | if ( m_ownerID != (int32)ThreadGetCurrentId() ) |
~~^~~~~~~~~~ ../public/tier0/threadtools.h: In member function ‘void CThreadFastMutex::Unlock() volatile’: ../public/tier0/threadtools.h:1080:32: warning: comparison of integer expressions of different signedness: ‘volatile uint32’ {aka ‘volatile unsigned int’} and ‘int32’ {aka ‘int’} [-Wsign-compare] 1080 | if ( m_ownerID != (int32)ThreadGetCurrentId() ) |~~^~~~~~~~~~ ../filesystem/filetracker.cpp: In member function ‘virtual void FileListToUnloadForWhitelistChange::Release()’: ../filesystem/filetracker.cpp:328:17: warning: deleting object of polymorphic class type ‘FileListToUnloadForWhitelistChange’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 328 | delete this; | ^~~Waf: Leaving directory `/home/r00t/source-engine/build' Build failed -> task in 'engine' failed with exit status 1 (run with -v to display more information)