[Clam-devel] problem compilng

David García Garzón dgarcia at iua.upf.edu
Mon Jul 2 02:54:29 PDT 2007


??? Greg, are you using a custom SConstruct or something like that??
We are not using the builddir feature at all and all those files are using a 
build dir.


On Sunday 01 July 2007 21:54:09 Greg Kellum wrote:
> Hi all,
>
> I just made an update from the SVN repository, and I can't get CLAM to
> build now.  The build fails with the following message, "Multiple ways to
> build the same target were specified for: lib/darwin/release/libsrc.dylib" 
> It seems that I'm getting this message due to a change made to the
> SConstruct file itself rather than due to any changes in the source, but
> I'm not sure what's causing it.  Does anyone know how to fix this problem?
>
> Best,
> Greg
>
> P.S.  Here's the full message:
>
> prepared directory 'scons/libs/core/src'
>
> scons: warning: Two different environments were specified for target
> lib/darwin/release/libsrc.dylib,
>         but they appear to have the same action: SharedFlagChecker(target,
> source, env)
> $SHLINK -o $TARGET $SHLINKFLAGS $SOURCES $_LIBDIRFLAGS $_LIBFLAGS
> $_FRAMEWORKPATH $_FRAMEWORKS
> File "/Users/greg/Code/clam/CLAM/SConstruct", line 565, in prepareTargets
>
> scons: *** Multiple ways to build the same target were specified for:
> lib/darwin/release/libsrc.dylib  (from
> ['scons/libs/audioio/src/.build/darwin/release/AIFFFileIO.os',
> 'scons/libs/audioio/src/.build/darwin/release/AudioCodec.os',
> 'scons/libs/audioio/src/.build/darwin/release/AudioCodecs_Stream.os',
> 'scons/libs/audioio/src/.build/darwin/release/AudioDatabaseReader.os',
> 'scons/libs/audioio/src/.build/darwin/release/AudioDatabaseReaderConfig.os'
>, 'scons/libs/audioio/src/.build/darwin/release/AudioDevice.os',
> 'scons/libs/audioio/src/.build/darwin/release/AudioDeviceList.os',
> 'scons/libs/audioio/src/.build/darwin/release/AudioFile.os',
> 'scons/libs/audioio/src/.build/darwin/release/AudioFileConfig.os',
> 'scons/libs/audioio/src/.build/darwin/release/AudioFileFormats.os',
> 'scons/libs/audioio/src/.build/darwin/release/AudioFileHeader.os',
> 'scons/libs/audioio/src/.build/darwin/release/AudioFileIn.os',
> 'scons/libs/audioio/src/.build/darwin/release/AudioFileOut.os',
> 'scons/libs/audioio/src/.build/darwin/release/AudioIn.os',
> 'scons/libs/audioio/src/.build/darwin/release/AudioManager.os',
> 'scons/libs/audioio/src/.build/darwin/release/AudioOut.os',
> 'scons/libs/audioio/src/.build/darwin/release/AudioPlayer.os',
> 'scons/libs/audioio/src/.build/darwin/release/AudioTextDescriptors.os',
> 'scons/libs/audioio/src/.build/darwin/release/BaseAudioApplication.os',
> 'scons/libs/audioio/src/.build/darwin/release/BlockingNetworkPlayer.os',
> 'scons/libs/audioio/src/.build/darwin/release/extended.os',
> 'scons/libs/audioio/src/.build/darwin/release/FileMIDIDevice.os',
> 'scons/libs/audioio/src/.build/darwin/release/FreewheelingNetworkPlayer.os'
>, 'scons/libs/audioio/src/.build/darwin/release/MIDI2Melody.os',
> 'scons/libs/audioio/src/.build/darwin/release/MIDIClocker.os',
> 'scons/libs/audioio/src/.build/darwin/release/MIDIDevice.os',
> 'scons/libs/audioio/src/.build/darwin/release/MIDIDeviceList.os',
> 'scons/libs/audioio/src/.build/darwin/release/MIDIDispatcher.os',
> 'scons/libs/audioio/src/.build/darwin/release/MIDIEnums.os',
> 'scons/libs/audioio/src/.build/darwin/release/MIDIFileIOConfig.os',
> 'scons/libs/audioio/src/.build/darwin/release/MIDIFileReader.os',
> 'scons/libs/audioio/src/.build/darwin/release/MIDIFileWriter.os',
> 'scons/libs/audioio/src/.build/darwin/release/MIDIIn.os',
> 'scons/libs/audioio/src/.build/darwin/release/MIDIInControl.os',
> 'scons/libs/audioio/src/.build/darwin/release/MIDIKeyboard.os',
> 'scons/libs/audioio/src/.build/darwin/release/MIDIManager.os',
> 'scons/libs/audioio/src/.build/darwin/release/MIDIOut.os',
> 'scons/libs/audioio/src/.build/darwin/release/MIDIOutControl.os',
> 'scons/libs/audioio/src/.build/darwin/release/MIDIReader.os',
> 'scons/libs/audioio/src/.build/darwin/release/MIDISong.os',
> 'scons/libs/audioio/src/.build/darwin/release/MIDISongPlayer.os',
> 'scons/libs/audioio/src/.build/darwin/release/MIDITempo.os',
> 'scons/libs/audioio/src/.build/darwin/release/MIDIWriter.os',
> 'scons/libs/audioio/src/.build/darwin/release/MonoAudioFileReader.os',
> 'scons/libs/audioio/src/.build/darwin/release/MonoAudioFileReaderConfig.os'
>, 'scons/libs/audioio/src/.build/darwin/release/MonoAudioFileWriter.os',
> 'scons/libs/audioio/src/.build/darwin/release/MonoAudioFileWriterConfig.os'
>, 'scons/libs/audioio/src/.build/darwin/release/MpegAudioStream.os',
> 'scons/libs/audioio/src/.build/darwin/release/MpegBitstream.os',
> 'scons/libs/audioio/src/.build/darwin/release/MpegCodec.os',
> 'scons/libs/audioio/src/.build/darwin/release/MultiChannelAudioFileReader.o
>s',
> 'scons/libs/audioio/src/.build/darwin/release/MultiChannelAudioFileReaderCo
>nfig.os',
> 'scons/libs/audioio/src/.build/darwin/release/MultiChannelAudioFileWriter.o
>s',
> 'scons/libs/audioio/src/.build/darwin/release/MultiChannelAudioFileWriterCo
>nfig.os',
> 'scons/libs/audioio/src/.build/darwin/release/OggVorbisAudioStream.os',
> 'scons/libs/audioio/src/.build/darwin/release/OggVorbisCodec.os',
> 'scons/libs/audioio/src/.build/darwin/release/PANetworkPlayer.os',
> 'scons/libs/audioio/src/.build/darwin/release/PCMAudioStream.os',
> 'scons/libs/audioio/src/.build/darwin/release/PCMCodec.os',
> 'scons/libs/audioio/src/.build/darwin/release/ProcessingKernel.os',
> 'scons/libs/audioio/src/.build/darwin/release/RtAAudioDevice.os',
> 'scons/libs/audioio/src/.build/darwin/release/RtAudio.os',
> 'scons/libs/audioio/src/.build/darwin/release/SoundFileIO.os',
> 'scons/libs/audioio/src/.build/darwin/release/SoundHeader.os',
> 'scons/libs/audioio/src/.build/darwin/release/TextFileMIDIDevice.os',
> 'scons/libs/audioio/src/.build/darwin/release/WaveFileIO.os'] and from
> ['scons/libs/core/src/.build/darwin/release/recursedir.os',
> 'scons/libs/core/src/.build/darwin/release/strfuncs.os',
> 'scons/libs/core/src/.build/darwin/release/Array.os',
> 'scons/libs/core/src/.build/darwin/release/Assert.os',
> 'scons/libs/core/src/.build/darwin/release/Audio.os',
> 'scons/libs/core/src/.build/darwin/release/AudioInPort.os',
> 'scons/libs/core/src/.build/darwin/release/AudioInPortPublisher.os',
> 'scons/libs/core/src/.build/darwin/release/AudioOutPort.os',
> 'scons/libs/core/src/.build/darwin/release/AudioOutPortPublisher.os',
> 'scons/libs/core/src/.build/darwin/release/AudioSink.os',
> 'scons/libs/core/src/.build/darwin/release/AudioSource.os',
> 'scons/libs/core/src/.build/darwin/release/BasicFlowControl.os',
> 'scons/libs/core/src/.build/darwin/release/BasicXMLable.os',
> 'scons/libs/core/src/.build/darwin/release/BPF.os',
> 'scons/libs/core/src/.build/darwin/release/CLAMVersion.os',
> 'scons/libs/core/src/.build/darwin/release/Complex.os',
> 'scons/libs/core/src/.build/darwin/release/Condition.os',
> 'scons/libs/core/src/.build/darwin/release/Connection.os',
> 'scons/libs/core/src/.build/darwin/release/ConnectionDefinitionAdapter.os',
> 'scons/libs/core/src/.build/darwin/release/ControlMultiplier.os',
> 'scons/libs/core/src/.build/darwin/release/DescriptionAttributes.os',
> 'scons/libs/core/src/.build/darwin/release/DescriptionScheme.os',
> 'scons/libs/core/src/.build/darwin/release/DescriptionScope.os',
> 'scons/libs/core/src/.build/darwin/release/DynamicType.os',
> 'scons/libs/core/src/.build/darwin/release/Enum.os',
> 'scons/libs/core/src/.build/darwin/release/Err.os',
> 'scons/libs/core/src/.build/darwin/release/ErrDynamicType.os',
> 'scons/libs/core/src/.build/darwin/release/ErrGUI.os',
> 'scons/libs/core/src/.build/darwin/release/ErrOpenFile.os',
> 'scons/libs/core/src/.build/darwin/release/ErrOutOfMemory.os',
> 'scons/libs/core/src/.build/darwin/release/ErrProcessingObj.os',
> 'scons/libs/core/src/.build/darwin/release/ErrSoundFileIO.os',
> 'scons/libs/core/src/.build/darwin/release/ErrSystem.os',
> 'scons/libs/core/src/.build/darwin/release/FileSystem.os',
> 'scons/libs/core/src/.build/darwin/release/Flags.os',
> 'scons/libs/core/src/.build/darwin/release/FlowControl.os',
> 'scons/libs/core/src/.build/darwin/release/InControl.os',
> 'scons/libs/core/src/.build/darwin/release/InControlArray.os',
> 'scons/libs/core/src/.build/darwin/release/InControlRegistry.os',
> 'scons/libs/core/src/.build/darwin/release/InPort.os',
> 'scons/libs/core/src/.build/darwin/release/InPortRegistry.os',
> 'scons/libs/core/src/.build/darwin/release/Mapping.os',
> 'scons/libs/core/src/.build/darwin/release/Matrix.os',
> 'scons/libs/core/src/.build/darwin/release/Mutex.os',
> 'scons/libs/core/src/.build/darwin/release/NaiveFlowControl.os',
> 'scons/libs/core/src/.build/darwin/release/Network.os',
> 'scons/libs/core/src/.build/darwin/release/NetworkPlayer.os',
> 'scons/libs/core/src/.build/darwin/release/Order.os',
> 'scons/libs/core/src/.build/darwin/release/OutControl.os',
> 'scons/libs/core/src/.build/darwin/release/OutControlArray.os',
> 'scons/libs/core/src/.build/darwin/release/OutControlRegistry.os',
> 'scons/libs/core/src/.build/darwin/release/OutPort.os',
> 'scons/libs/core/src/.build/darwin/release/OutPortRegistry.os',
> 'scons/libs/core/src/.build/darwin/release/Point.os',
> 'scons/libs/core/src/.build/darwin/release/Polar.os',
> 'scons/libs/core/src/.build/darwin/release/Pool.os',
> 'scons/libs/core/src/.build/darwin/release/Processing.os',
> 'scons/libs/core/src/.build/darwin/release/ProcessingComposite.os',
> 'scons/libs/core/src/.build/darwin/release/ProcessingDefinitionAdapter.os',
> 'scons/libs/core/src/.build/darwin/release/ProcessingFactory.os',
> 'scons/libs/core/src/.build/darwin/release/PushFlowControl.os',
> 'scons/libs/core/src/.build/darwin/release/RecursiveMutex.os',
> 'scons/libs/core/src/.build/darwin/release/Region.os',
> 'scons/libs/core/src/.build/darwin/release/ScopePool.os',
> 'scons/libs/core/src/.build/darwin/release/Segmentation.os',
> 'scons/libs/core/src/.build/darwin/release/Signal.os',
> 'scons/libs/core/src/.build/darwin/release/Slot.os',
> 'scons/libs/core/src/.build/darwin/release/Text.os',
> 'scons/libs/core/src/.build/darwin/release/Thread.os',
> 'scons/libs/core/src/.build/darwin/release/TopLevelProcessing.os',
> 'scons/libs/core/src/.build/darwin/release/TraverseDirectory.os',
> 'scons/libs/core/src/.build/darwin/release/Watchdog.os',
> 'scons/libs/core/src/.build/darwin/release/XercesDomReadingContext.os',
> 'scons/libs/core/src/.build/darwin/release/XercesDomWriter.os',
> 'scons/libs/core/src/.build/darwin/release/XercesDomWritingContext.os',
> 'scons/libs/core/src/.build/darwin/release/XMLAdapter.os',
> 'scons/libs/core/src/.build/darwin/release/XMLComponentAdapter.os',
> 'scons/libs/core/src/.build/darwin/release/XMLStorage.os',
> 'scons/libs/core/src/.build/darwin/release/XmlStorageErr.os',
> 'scons/libs/core/src/.build/darwin/release/XmlWriteContext.os'])
> File "/Users/greg/Code/clam/CLAM/SConstruct", line 565, in prepareTargets






More information about the clam-devel mailing list