erichocean / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

libjingle-0.5.8 can't build visio studio project (with error Multiple definitions of lib) #197

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
scons: Reading SConscript files ...

scons: warning: The build_dir keyword has been deprecated; use the variant_dir k
eyword instead.
File "F:\root\swtoolkit\site_scons\site_init.py", line 203, in BuildEnvironmentS
Conscripts

scons: warning: The build_dir keyword has been deprecated; use the variant_dir k
eyword instead.
File "F:\root\swtoolkit\site_scons\site_init.py", line 203, in BuildEnvironmentS
Conscripts
Exception: Multiple definitions of expat:
  File "F:\root\libjingle-0.5.8\talk\main.scons", line 467:
    BuildEnvironments(envs)
  File "F:\root\swtoolkit\site_scons\site_init.py", line 276:
    e.ExecuteDefer()
  File "F:\root\libjingle-0.5.8\scons-local\scons-local-2.0.1\SCons\Environment.
py", line 222:
    return self.method(*nargs, **kwargs)
  File "F:\root\swtoolkit\site_scons\site_tools\defer.py", line 171:
    func(fenv)
  File "F:\root\swtoolkit\site_scons\site_init.py", line 203:
    exports={'env': ec}, duplicate=0)
  File "F:\root\libjingle-0.5.8\scons-local\scons-local-2.0.1\SCons\Script\SCons
cript.py", line 551:
    return _SConscript(self.fs, *files, **subst_kw)
  File "F:\root\libjingle-0.5.8\scons-local\scons-local-2.0.1\SCons\Script\SCons
cript.py", line 260:
    exec _file_ in call_stack[-1].globals
  File "F:\root\libjingle-0.5.8\talk\libjingle.scons", line 20:
    "HAVE_EXPAT_CONFIG_H",
  File "F:\root\libjingle-0.5.8\talk\site_scons\talk.py", line 153:
    return _GenericLibrary(env, True, **kwargs)
  File "F:\root\libjingle-0.5.8\talk\site_scons\talk.py", line 123:
    return ExtendComponent(env, 'ComponentLibrary', **params)
  File "F:\root\libjingle-0.5.8\talk\site_scons\talk.py", line 443:
    _RecordLibParams(name, dict(params))
  File "F:\root\libjingle-0.5.8\talk\site_scons\talk.py", line 57:
    raise Exception('Multiple definitions of ' + lib)

What version of the product are you using? On what operating system?
win7 32bit + python2.7 + sconslocal2.01 + swtoolkit0.91

Please provide any additional information below.

Original issue reported on code.google.com by ruless...@gmail.com on 2 Aug 2011 at 1:07

GoogleCodeExporter commented 9 years ago
of course this problem existing in this version of 0.58,my solution is change 
the talk.py in talk\site_scons.comment the two line,show below:

#if 'ComponentLibrary' == component:
#_RecordLibParams(name, dict(params))

Original comment by pcg70512...@gmail.com on 17 Aug 2011 at 4:07

GoogleCodeExporter commented 9 years ago
of course this problem existing in this version of 0.58,my solution is change 
the talk.py in talk\site_scons.comment the two line,show below:

#if 'ComponentLibrary' == component:
#_RecordLibParams(name, dict(params))

Original comment by pcg70512...@gmail.com on 17 Aug 2011 at 4:13

GoogleCodeExporter commented 9 years ago
of course this problem existing in this version of 0.58,my solution is change 
the talk.py in talk\site_scons.comment the two line,show below:

#if 'ComponentLibrary' == component:
#_RecordLibParams(name, dict(params))

Original comment by pcg70512...@gmail.com on 17 Aug 2011 at 4:50

GoogleCodeExporter commented 9 years ago
of course this problem existing in this version of 0.58,my solution is change 
the talk.py in talk\site_scons.comment the two line,show below:

#if 'ComponentLibrary' == component:
#_RecordLibParams(name, dict(params))

Original comment by pcg70512...@gmail.com on 17 Aug 2011 at 6:57

GoogleCodeExporter commented 9 years ago
thanks for comment 1.
thanks for comment 2.
thanks for comment 3.
thanks for comment 4.

Original comment by 7im....@gmail.com on 19 Aug 2011 at 3:31

GoogleCodeExporter commented 9 years ago

Original comment by juberti@google.com on 31 May 2013 at 10:37