Problems compiling using vst_sdk

When compiling under Hardy, ubuntustudio, dual core athlon 64 AND VST_SDK I get:
libs/ardour/vst_plugin.cc: In member function ‘virtual std::string ARDOUR::VSTPlugin::unique_id() const’:
libs/ardour/vst_plugin.cc:415: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’
libs/ardour/vst_plugin.cc:415: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’
libs/ardour/vst_plugin.cc: In member function ‘virtual ARDOUR::PluginPtr ARDOUR::VSTPluginInfo::load(ARDOUR::Session&)’:
libs/ardour/vst_plugin.cc:485: error: cast from ‘FSTHandle*’ to ‘int’ loses precision
scons: *** [libs/ardour/vst_plugin.os] Error 1
scons: building terminated because of errors.

VST=no compiles fine.

Suggestions?

looks like you’ve got a 64bit system … you will unfortunately have to give it up … or maybe compile and run at 32bit if it’s possible ? I never had a 64bit system so I never experimented with these issues myself …