unable to compile QuickBMS 12 on Manjaro Linux

Doubts, help and support about QuickBMS and other game research tools
silverhikari
Posts: 11
Joined: Wed Mar 10, 2021 6:41 pm

unable to compile QuickBMS 12 on Manjaro Linux

Post by silverhikari »

i need some help getting quickbms 12 to compile on my system. i am running the make file with the default build options enabled. here are some system specs:

OS: Manjaro/Linux

GCC: 12.2.0

LZO: 2.10

BZIP2: 1.0.8

ZLIB: 1.2.12

OPENSSL: 1.1.1.q

ARCH SUPPORTED: SSE 1, 2, 3, 3S, 4.1, 4.2, AVX 1, AES


the error log i get after building is:

```
/usr/bin/ld: /tmp/cciAVxR5.o: in function `os_tmpname':
loslib.c:(.text+0x217): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `_OodleLZ_Decompress':
quickbms.c:(.text+0x1a87a): undefined reference to `Kraken_Decompress'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `amiga_unsquash':
quickbms.c:(.text+0x2c6ca): undefined reference to `UnSquash'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22219':
quickbms.c:(.text+0x608e6): undefined reference to `packfire'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22220':
quickbms.c:(.text+0x60957): undefined reference to `DMSUNP'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22221':
quickbms.c:(.text+0x609ac): undefined reference to `LhDecode'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22222':
quickbms.c:(.text+0x60a0b): undefined reference to `UTSQ80'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22223':
quickbms.c:(.text+0x60a6a): undefined reference to `UTSQ61'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22224':
quickbms.c:(.text+0x60abc): undefined reference to `UTUC'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22225':
quickbms.c:(.text+0x60b09): undefined reference to `TRY101'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22226':
quickbms.c:(.text+0x60b56): undefined reference to `time_decrunch'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22227':
quickbms.c:(.text+0x60bb1): undefined reference to `UTETR'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22228':
quickbms.c:(.text+0x60c08): undefined reference to `USPIKE'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22229':
quickbms.c:(.text+0x60c5e): undefined reference to `PACIT'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22230':
quickbms.c:(.text+0x60cb9): undefined reference to `UMEGA'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22231':
quickbms.c:(.text+0x60d06): undefined reference to `MAX12'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22232':
quickbms.c:(.text+0x60d53): undefined reference to `UMAST31'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22233':
quickbms.c:(.text+0x60da5): undefined reference to `LIGHT15'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22234':
quickbms.c:(.text+0x60e10): undefined reference to `UNDIMP'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22235':
quickbms.c:(.text+0x60e88): undefined reference to `UCMAT'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22236':
quickbms.c:(.text+0x60edf): undefined reference to `crunchmania_FastDecruncherHuff'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22237':
quickbms.c:(.text+0x60f36): undefined reference to `crunchmania_FastDecruncher'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22238':
quickbms.c:(.text+0x60f88): undefined reference to `UCRMAS'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22239':
quickbms.c:(.text+0x60fd7): undefined reference to `stonecracker403'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22240':
quickbms.c:(.text+0x6103a): undefined reference to `stonecracker3'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22241':
quickbms.c:(.text+0x61095): undefined reference to `stonecracker2'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22242':
quickbms.c:(.text+0x610ff): undefined reference to `pp_DecrunchBuffer'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22243':
quickbms.c:(.text+0x61156): undefined reference to `crunchmania_17b'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22244':
quickbms.c:(.text+0x611b9): undefined reference to `ByteKiller2'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22245':
quickbms.c:(.text+0x6122a): undefined reference to `DeCr00'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22246':
quickbms.c:(.text+0x6129b): undefined reference to `UPHD'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22247':
quickbms.c:(.text+0x61300): undefined reference to `UPCOMP'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22248':
quickbms.c:(.text+0x61358): undefined reference to `ISC3P'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22249':
quickbms.c:(.text+0x613a9): undefined reference to `ISC2P'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22250':
quickbms.c:(.text+0x613fa): undefined reference to `ISC1P'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22251':
quickbms.c:(.text+0x61467): undefined reference to `IAMATM'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22252':
quickbms.c:(.text+0x614d2): undefined reference to `IAMICE'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22253':
quickbms.c:(.text+0x61520): undefined reference to `UFLSP'
/usr/bin/ld: /tmp/ccsKdnCe.o: in function `.L22254':
quickbms.c:(.text+0x61581): undefined reference to `BYTUNP'
/usr/bin/ld: /tmp/cci3WclB.o: in function `LzFindPrepare':
LzFind.c:(.text+0x2cae): undefined reference to `CPU_IsSupported_SSE41'
/usr/bin/ld: LzFind.c:(.text+0x2cd9): undefined reference to `CPU_IsSupported_AVX2'
collect2: error: ld returned 1 exit status
make: *** [Makefile:57: all] Error 1
```
so far i understand why the "CPU_IsSupported_AVX2" is being shown as my cpu does not support avx2 though i don't know why "CPU_IsSupported_SSE41" is being shown as my cpu does support it.
BasilPFP
Posts: 1
Joined: Sat Dec 17, 2022 7:35 am

Re: unable to compile QuickBMS 12 on Manjaro Linux

Post by BasilPFP »

I'm running Gentoo and the same exact error is occurring for me too, perhaps it has to new with newer libraries since both are rolling release distros (I'm running the ~amd64 stability flag so the software I'm running should be about the the same versions as on Arch).

Also a quick check of cpuid shows that I actually have both SSE4.1 and AVX2 support.

Could someone on a stable/point-release distro give this a try?