[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GenAsn.bat deletes sm_free3_asn.cpp



Hi all,

I'm new to this list, so I've been sure to read relevant postings
in the mail-archive before posting my question.

I'm running Windows 2000 and using Microsoft Visual C++ 6.0.

After extracting all files to what I hope are the correct locations,
I start with compiling the ASN files.

Running GenAsn.bat however seems to fail building some ASN files,
specifically the sm_free3_asn.asn file.

It seems the build process deletes this file after compiling it:

[...]
Building alg_libs ASN.1 Modules
../../../SMPDist/bin/snacc.exe -D -C
-u../../../SMPDist/util/VDASnacc/cpplib/asn1/asn-usefulVDA.asn1
../../libcert/asn1/sm_vdatypes.asn
../../libcert/asn1/sm_x501ud.asn
../../libcert/asn1/sm_x411ub.asn
../../libcert/asn1/sm_x411mtsas.asn
../../libcert/asn1/sm_x501if.asn
../../libcert/asn1/sm_x520sa.asn
../../libcert/asn1/sm_x509cmn.asn
../../libcert/asn1/sm_x509af.asn
../../libcert/asn1/sm_x509ce.asn
../../libcert/asn1/sm_VDASupport_asn.asn
../../libsrc/asn1/sm_cms.asn sm_free3_asn.asn
del sm_free3_asn.cpp
Could Not Find F:\Development\SMP\SMIME\alg_libs\sm_free3\sm_free3_asn.cpp
..\..\gnutools\make.exe: *** [sm_free3_asn.cpp] Error 1
[...]

Now, looking at the makefile Make_w32algasn I find:

.asn.cpp: 
	$(SNACC) $(SNACCFLAGS) $(ASNEXTERN) $<
	del $*.cpp
	rename $*.C $*.cpp

Is line "del $*.cpp" appearing in the correct place? Uncommenting this
of course makes sure that sm_free3_asn.cpp is not deleted.

Any comments would be helpful.

Regards,
  Christian

-- 
Christian Stigen Larsen -- http://www.sublevel3.org -- mob: +4798220215