Hi there,
The problem could come from
PFile::Getinfo in MergeSym source code. When mergesym works under pwlib
directory, it works well, but when it is invoked outside from pwlib
directory, the VC compiler will popup an error message due to calling
PFile::Getinfo in MergeSym source code line 300 which is to get the library
definition file's attribute. This could be something wrong with the directory
searching mechanism of xp or missing some directory declaration when compiling
under openh323 directory. In general, the link error comes from the
symbol mismatch of library definition file and the compiled library object file.
The default library definition file is with symbols of full-functioned version
of the library, while the compiled library object file could be with
less-functioned symbols. The MergeSym is used to solve the symbol mismatch.
There are at least two ways to resolve the problem:
1. Install all the functions of the library.(Most
people don't install va_g729_codec, ffmpeg, vich263, ldap, ssl, so
they will probably encounter this problem.)
2. An easier way, but some measures have to be
taken.
a. make sure your default library
definition files(with .dft extension in your src directory) are not
read only.(you can change the file attribute by using file
manage.)
b. Comment out MergeSym source code
from line 300 to line 306, recompile the MergySym project.
c. Compile simpH323 in openh323
project.
I think you should get rid of the mergesym and link
error. Good luck and have fun!
--Ted Hsueh
|