[Boxbackup-dev] Latest Box Backup on Windows

Peter Jalajas, GigaLock Backup Services pjalajas at gigalock.com
Tue Jul 12 05:06:28 BST 2011


Dang.  Thought I'd try the experimental work in progress MinGW compilation from
https://www.boxbackup.org/trac/wiki/CompileWithMinGW

Everything went well until the OpenSSL "make" step:
-----
...
../libcrypto.a(dso_win32.o):dso_win32.c:(.text+0x11fc): undefined reference to `
CRYPTO_malloc'
../libcrypto.a(dso_win32.o):dso_win32.c:(.text+0x12d3): undefined reference to `
CRYPTO_malloc'
../libcrypto.a(dso_win32.o):dso_win32.c:(.text+0x13b8): undefined reference to `
CRYPTO_free'
../libcrypto.a(ecp_smpl.o):ecp_smpl.c:(.text+0x604): undefined reference to `CRY
PTO_malloc'
../libcrypto.a(ecp_smpl.o):ecp_smpl.c:(.text+0x735): undefined reference to `CRY
PTO_free'
collect2: ld returned 1 exit status
make[2]: *** [link_app.] Error 1
make[2]: Leaving directory `/usr/home/bds_loaner/openssl-1.0.0a/apps'
make[1]: *** [openssl.exe] Error 2
make[1]: Leaving directory `/usr/home/bds_loaner/openssl-1.0.0a/apps'
make: *** [build_apps] Error 1
-----

No clue how to resolve those Errors...

On Mon, Jul 11, 2011 at 11:35 PM, Peter Jalajas, GigaLock Backup
Services <pjalajas at gigalock.com> wrote:
> Hi Chris,
>
> While awaiting input re my openssl problem from my other email, I
> figured I would try to move forward with some of the other compiling
> steps, and got the following "Can't open..." errors in the "Configure
> Box Backup" step.
>
> Suggestions welcome. Maybe the "Can't open..." "Configure Box Backup"
> errors below are inconsequential?  Or, maybe I just need to build
> openssl first?
>
> Thanks,
> Pete
> ----------
> Continuing with the section headings from
> https://www.boxbackup.org/trac/wiki/CompileWithVisualC :
>
> OpenSSL:
> See my other email with my openssl problem.
>
> Zlib:
> Downloaded and extracted fine.
>
> PCRE:
> Threw a couple of warnings, but appeared to complete fine, ending with:
>  pcregrep.vcxproj -> C:\BoxBackup\pcre\build\vc2010\Debug\pcregrep.exe
> ------ Build started: Project: pcretest, Configuration: Debug Win32 ------
>  pcretest.c
>  pcretest.vcxproj -> C:\BoxBackup\pcre\build\vc2010\Debug\pcretest.exe
> ========== Build: 5 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
>
> Download Box Backup:
> svn worked fine.
>
> Inventory Check:
> I'm missing /openssl/ directory, but likely because of my other
> openssl problem.  I think it is OK to go to the next step...
>
> Configure Box Backup:
> C:\BoxBackup>cd boxbackup
> C:\BoxBackup\boxbackup>win32.bat
> quick and dirty to get up and running by generating the required files
> using Cygwin and Perl
>        1 file(s) copied.
>        1 file(s) copied.
> Creating built-in documentation for bbackupquery...
> Can't open BackupStoreException.txt at
> ./../../lib/common/makeexception.pl.in line 14.
> Can't open input file ./../../bin/bbstored/backupprotocol.txt
> Generating Compress exception...
> Generating Common exception...
> Generating Conversion exception...
> Generating RaidFile exception...
> Generating Client exception...
> Can't open input file backupprotocol.txt
> Generating Cipher exception...
> server parts - which appears as though some of the clients rely on
> Generating Server exception...
> Generating Connection exception...
> Generating InstallJammer configuration file
> C:\BoxBackup\boxbackup>
>
> Compile Box Backup:
> Awaiting resolution of my openssl and Configure Box Backup problems
> before I continue...
>
> ----------
>
>
>
>
> On Mon, Jul 11, 2011 at 9:57 PM, Peter Jalajas, GigaLock Backup Services wrote:
>> Hi Chris,
>>
>> On Mon, Jul 11, 2011 at 5:17 PM, Peter Jalajas, GigaLock Backup
>> Services <pjalajas at gigalock.com> wrote:
>>> Hi Chris,
>>>
>>> On Sat, Jul 9, 2011 at 4:44 AM, Chris Wilson  wrote:
>>>> Hi Pete,
>>>>
>>>> On Thu, 7 Jul 2011, Peter Jalajas, GigaLock Backup Services wrote:
>>>>
>> ...
>>> Per http://www.boxbackup.org/trac/wiki/CompileWithVisualC I'm
>>> downloading Visual C++ 2010 Express, SlikSVN, and Perl now...
>>
>> Can you please confirm these steps in the procedure at:
>> https://www.boxbackup.org/trac/wiki/CompileWithVisualC
>> -------------
>> cd <base-dir>\openssl-1.0.0d
>> perl Configure VC-WIN32 --prefix=<box-base>\openssl`
>> ms\do_ms
>> nmake -f ms\ntdll.mak
>> nmake -f ms\ntdll.mak install
>> -------------
>>
>>
>> After much flailing, involving running the prescribed commands several
>> times each with slightly different ignorant edits, I'm getting this
>> result at the moment:
>> -------------
>> C:\BoxBackup\openssl-1.0.0d>perl Configure VC-WIN32
>> --prefix=C:\BoxBackup\openssl`
>> Configuring for VC-WIN32
>>    no-gmp          [default]  OPENSSL_NO_GMP (skip dir)
>>    no-jpake        [experimental] OPENSSL_NO_JPAKE (skip dir)
>>    no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5
>>    no-md2          [default]  OPENSSL_NO_MD2 (skip dir)
>>    no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)
>>    no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)
>>    no-shared       [default]
>>    no-store        [experimental] OPENSSL_NO_STORE (skip dir)
>>    no-zlib         [default]
>>    no-zlib-dynamic [default]
>> IsMK1MF=1
>> CC            =cl
>> CFLAG         =-DOPENSSL_THREADS  -DDSO_WIN32 -W3 -WX -Gs0 -GF -Gy -nologo -DOPE
>> NSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE -
>> DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM
>> -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM
>> EX_LIBS       =
>> CPUID_OBJ     =x86cpuid.o
>> BN_ASM        =bn-586.o co-586.o x86-mont.o
>> DES_ENC       =des-586.o crypt586.o
>> AES_ENC       =aes-586.o
>> BF_ENC        =bf-586.o
>> CAST_ENC      =cast-586.o
>> RC4_ENC       =rc4-586.o
>> RC5_ENC       =rc5-586.o
>> MD5_OBJ_ASM   =md5-586.o
>> SHA1_OBJ_ASM  =sha1-586.o sha256-586.o sha512-586.o
>> RMD160_OBJ_ASM=rmd-586.o
>> CMLL_ENC=     =cmll-x86.o
>> PROCESSOR     =
>> RANLIB        =true
>> ARFLAGS       =
>> PERL          =perl
>> THIRTY_TWO_BIT mode
>> BN_LLONG mode
>> RC4_INDEX mode
>> RC4_CHUNK is undefined
>>
>> Configured for VC-WIN32.
>>
>> C:\BoxBackup\openssl-1.0.0d>ms\do_ms
>>
>> C:\BoxBackup\openssl-1.0.0d>perl util\mkfiles.pl  1>MINFO
>>
>> C:\BoxBackup\openssl-1.0.0d>perl util\mk1mf.pl no-asm VC-WIN32  1>ms\nt.mak
>>
>> C:\BoxBackup\openssl-1.0.0d>perl util\mk1mf.pl dll no-asm VC-WIN32
>> 1>ms\ntdll.mak
>>
>> C:\BoxBackup\openssl-1.0.0d>if x == x goto skipce
>>
>> C:\BoxBackup\openssl-1.0.0d>perl util\mkdef.pl 32 libeay  1>ms\libeay32.def
>>
>> C:\BoxBackup\openssl-1.0.0d>perl util\mkdef.pl 32 ssleay  1>ms\ssleay32.def
>>
>> C:\BoxBackup\openssl-1.0.0d>nmake -f ms\ntdll.mak
>>
>> Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
>> Copyright (C) Microsoft Corporation.  All rights reserved.
>>
>> Building OpenSSL
>>        perl util/copy.pl ".\crypto\buildinf.h" "tmp32dll\buildinf.h"
>> Copying: ./crypto/buildinf.h to tmp32dll/buildinf.h
>>        perl util/copy.pl ".\crypto\opensslconf.h" "inc32\openssl\opensslconf.h"
>>
>> Copying: ./crypto/opensslconf.h to inc32/openssl/opensslconf.h
>>        rc /fo"tmp32dll\libeay32.res" /d CRYPTO ms\version32.rc
>> Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
>> Copyright (C) Microsoft Corporation.  All rights reserved.
>>
>>        link /nologo /subsystem:console /opt:ref /debug /dll /out:out32dll\libea
>> y32.dll /def:ms/LIBEAY32.def @C:\DOCUME~1\BDS_LO~1\LOCALS~1\Temp\nm58.tmp
>> bn-586.obj : error LNK2005: _bn_sub_part_words already defined in bn_mul.obj
>>   Creating library out32dll\libeay32.lib and object out32dll\libeay32.exp
>> mem.obj : error LNK2001: unresolved external symbol _cleanse_ctr
>> mem.obj : error LNK2001: unresolved external symbol _cleanse_ctr
>> out32dll\libeay32.dll : fatal error LNK1120: 1 unresolved externals
>> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BI
>> N\link.EXE"' : return code '0x460'
>> Stop.
>> -------------
>>
>>
>> Thanks!
>> Pete
>>
>



More information about the Boxbackup-dev mailing list