source code for Truecrypt? or for 32 bit ARM?
#9
(01-12-2021, 02:36 PM)dieselnutjob Wrote:
(08-05-2020, 05:56 AM)llsf Wrote: As I meant to explain, VeraCrypt is backwards compatible with TrueCrypt volumes, as in: You can keep TrueCrypt volumes as such, at least in the transition phase, and still open and use them with VeraCrypt.
Also, you can install both at the same time, so if you want another fallback option, you can easily keep TrueCrypt around until you're certain everything works as it should.

Only once you've started using VeraCrypt-volumes, you're bound to VeraCrypt – because those cannot be read by TrueCrypt.

On building: as I tried to explain: I could successfully build (and run) it using the aforementioned PKGBUILD from Arch on the PBP.

You can try it yourself: install asp (pacman -S asp), run asp checkout veracrypt, cd into the folder with the PKGBUILD (./veracrypt/trunk), run makepkg --ignorearch (you might have to import the PGP key from VeraCrypt before doing that, unless you trust the Arch PKGBUILD an checksums – in that case, you can skip the verification via running makepkg --ignorearch --skippgpcheck instead).

I have no 32bit ARM device lying around, but I'd assume you could also build it on one as well. 32bit userland ARM on the other hand should(?) not make a difference for the aarch64 build, I think.

I had to reinstall Manjaro and now I can not compile Veracrypt on aarch64.  I get this error

Code:
makepkg --ignorearch --skippgpcheck
==> Making package: veracrypt 1.24.update7-1 (Tue 12 Jan 2021 20:27:10 GMT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading VeraCrypt_1.24-Update7_Source.tar.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 22.4M  100 22.4M    0     0  2626k      0  0:00:08  0:00:08 --:--:-- 2270k
  -> Downloading VeraCrypt_1.24-Update7_Source.tar.bz2.sig...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   566  100   566    0     0    979      0 --:--:-- --:--:-- --:--:--   979
  -> Found no-makeself.patch
  -> Found veracrypt.desktop
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    VeraCrypt_1.24-Update7_Source.tar.bz2 ... Passed
    VeraCrypt_1.24-Update7_Source.tar.bz2.sig ... Skipped
    no-makeself.patch ... Passed
    veracrypt.desktop ... Passed
==> Extracting sources...
  -> Extracting VeraCrypt_1.24-Update7_Source.tar.bz2 with bsdtar
==> Starting prepare()...
patching file Main/Main.make
Hunk #1 succeeded at 286 (offset 80 lines).
==> Starting build()...
Compiling Buffer.cpp
Compiling Exception.cpp
make[1]: g++: No such file or directory
make[1]: *** [/home/philip/src/veracrypt/trunk/src/src/Build/Include/Makefile.inc:29: Exception.o] Error 127
make[1]: *** Waiting for unfinished jobs....
make[1]: g++: No such file or directory
make[1]: *** [/home/philip/src/veracrypt/trunk/src/src/Build/Include/Makefile.inc:29: Buffer.o] Error 127
Compiling Event.cpp
make[1]: g++: No such file or directory
make[1]: *** [/home/philip/src/veracrypt/trunk/src/src/Build/Include/Makefile.inc:29: Event.o] Error 127
make: *** [Makefile:424: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

one difference might be that last time I had already installed freepascal, compiled a newer version from source, and compiled lazarus from source too.
I probably had other packages installed which now I do not.
For example I already found that I needed strip and binutils
update:-

after installing subversion and gcc it got a lot further
this is where I am now

Code:
[font=monospace][color=#000000]Compiling VolumePropertiesDialog.cpp [/color]
Compiling VolumeCreationProgressWizardPage.cpp
Compiling VolumeCreationWizard.cpp
Compiling VolumeFormatOptionsWizardPage.cpp
Compiling VolumeLocationWizardPage.cpp
Compiling VolumePasswordWizardPage.cpp
Compiling VolumePimWizardPage.cpp
Compiling VolumeSizeWizardPage.cpp
Compiling WaitDialog.cpp
Compiling WizardFrame.cpp
make[1]: pkg-config: No such file or directory
Linking veracrypt
/bin/ld: /home/philip/src/veracrypt/trunk/src/src/Driver/Fuse/Driver.a(FuseService.o): in function `VeraCrypt::fuse_service_readdir(char const*, void*, int (*)(void*
, char const*, stat const*, long), long, fuse_file_info*)':
FuseService.cpp:(.text._ZN9VeraCryptL20fuse_service_readdirEPKcPvPFiS2_S1_PK4statlElP14fuse_file_info+0x1c): undefined reference to `fuse_get_context'
/bin/ld: FuseService.cpp:(.text._ZN9VeraCryptL20fuse_service_readdirEPKcPvPFiS2_S1_PK4statlElP14fuse_file_info+0xbc): undefined reference to `fuse_get_context'
/bin/ld: /home/philip/src/veracrypt/trunk/src/src/Driver/Fuse/Driver.a(FuseService.o): in function `VeraCrypt::fuse_service_opendir(char const*, fuse_file_info*)':
FuseService.cpp:(.text._ZN9VeraCryptL20fuse_service_opendirEPKcP14fuse_file_info+0x14): undefined reference to `fuse_get_context'
/bin/ld: FuseService.cpp:(.text._ZN9VeraCryptL20fuse_service_opendirEPKcP14fuse_file_info+0x48): undefined reference to `fuse_get_context'
/bin/ld: /home/philip/src/veracrypt/trunk/src/src/Driver/Fuse/Driver.a(FuseService.o): in function `VeraCrypt::fuse_service_open(char const*, fuse_file_info*)':
FuseService.cpp:(.text._ZN9VeraCryptL17fuse_service_openEPKcP14fuse_file_info+0x14): undefined reference to `fuse_get_context'
/bin/ld: /home/philip/src/veracrypt/trunk/src/src/Driver/Fuse/Driver.a(FuseService.o):FuseService.cpp:(.text._ZN9VeraCryptL17fuse_service_openEPKcP14fuse_file_info+0
x78): more undefined references to `fuse_get_context' follow
/bin/ld: /home/philip/src/veracrypt/trunk/src/src/Driver/Fuse/Driver.a(FuseService.o): in function `VeraCrypt::FuseService::ExecFunctor::operator()(int, char**)':
FuseService.cpp:(.text._ZN9VeraCrypt11FuseService11ExecFunctorclEiPPc+0x31c): undefined reference to `fuse_main_real_compat25'
/bin/ld: /home/philip/src/veracrypt/trunk/src/src/Driver/Fuse/Driver.a(FuseService.o): in function `VeraCrypt::fuse_service_write(char const*, char const*, unsigned
long, long, fuse_file_info*)':
FuseService.cpp:(.text._ZN9VeraCryptL18fuse_service_writeEPKcS1_mlP14fuse_file_info+0x38): undefined reference to `fuse_get_context'
/bin/ld: FuseService.cpp:(.text._ZN9VeraCryptL18fuse_service_writeEPKcS1_mlP14fuse_file_info+0xc8): undefined reference to `fuse_get_context'
/bin/ld: /home/philip/src/veracrypt/trunk/src/src/Driver/Fuse/Driver.a(FuseService.o): in function `VeraCrypt::fuse_service_getattr(char const*, stat*)':
FuseService.cpp:(.text._ZN9VeraCryptL20fuse_service_getattrEPKcP4stat+0x8c): undefined reference to `fuse_get_context'
/bin/ld: FuseService.cpp:(.text._ZN9VeraCryptL20fuse_service_getattrEPKcP4stat+0x1b4): undefined reference to `fuse_get_context'
/bin/ld: /home/philip/src/veracrypt/trunk/src/src/Driver/Fuse/Driver.a(FuseService.o): in function `VeraCrypt::fuse_service_read(char const*, char*, unsigned long, l
ong, fuse_file_info*)':
FuseService.cpp:(.text._ZN9VeraCryptL17fuse_service_readEPKcPcmlP14fuse_file_info+0x3c): undefined reference to `fuse_get_context'
/bin/ld: /home/philip/src/veracrypt/trunk/src/src/Driver/Fuse/Driver.a(FuseService.o):FuseService.cpp:(.text._ZN9VeraCryptL17fuse_service_readEPKcPcmlP14fuse_file_in
fo+0x1a0): more undefined references to `fuse_get_context' follow
collect2: error: ld returned 1 exit status
make[1]: *** [Main.make:166: veracrypt] Error 1
make: *** [Makefile:424: all] Error 2
[color=#b21818][b]==> ERROR:[/b][/color][color=#000000][b] A failure occurred in build().[/b][/color]
[color=#000000][b]    Aborting...[/b][/color][/font]
  Reply


Messages In This Thread
RE: source code for Truecrypt? or for 32 bit ARM? - by dieselnutjob - 01-12-2021, 03:41 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)