[shadow-support] Shadow installation problem

Rob Jansen jansen at cs.umn.edu
Tue Apr 9 16:31:54 CDT 2013


Your problems are apparent in the following lines:

> -- The C compiler identification is Clang 3.0.0

and

> -- LLVM include dir: /usr/lib/llvm-2.9/include
> -- LLVM lib dir: /usr/lib/llvm-2.9/lib

First of all, you are using LLVM-2.9 headers and libraries with the Clang
3.0.0 binary. You probably want those versions to match. Secondly, Shadow
requires Clang and LLVM 3.2.0, as described on the wiki. Please
**manually** install those, and make sure Shadow is detecting the correct
versions when building.

Please read the wiki instructions carefully for more information.
https://github.com/shadow/shadow/wiki/Preparing-your-machine

Regards,
Rob

On Tue, Apr 9, 2013 at 1:53 PM, Anupam Das <anupam009 at gmail.com> wrote:

> Our server is-
>
> Ubuntu 12.04 Server version
> I downloaded the  Shadow (Shadow v1.7.0<https://github.com/shadow/shadow/archive/v1.7.0.tar.gz>)
> from https://shadow.cs.umn.edu/download/
>
> I have uploaded the log file for-
>
> ./setup build --debug --verbose
> ./setup build --debug --verbose --disable-plugin-scallion
>
> I think the problem is same for both execution.
>
> Thanks
>
> Anupam
>
>
>
> On Tue, Apr 9, 2013 at 8:12 AM, Rob Jansen <jansen at cs.umn.edu> wrote:
>
>> Hi Anupam,
>>
>> I have not seen this error before.
>>
>> Is this the same server Nikita was trying to install on? What version of
>> Ubuntu is installed? 12.04? Or something else? Is it the desktop or server
>> edition?
>>
>> What version of shadow are you trying to install? Did you download it
>> from shadow.cs.umn.edu or did you clone the git repository? If git, what
>> branch are you using?
>>
>> Please do the following:
>> cd path/to/shadow
>> rm -rf build/tor
>> ./setup build --debug --verbose &> setup.log
>>
>> And send me the setup.log file.
>>
>> Finally, does it succeed if you run:
>>
>> ./setup build --debug --disable-plugin-scallion
>>
>> Rob
>> On Apr 9, 2013 1:19 AM, "Anupam Das" <anupam009 at gmail.com> wrote:
>>
>>> Hi Rob,
>>>
>>>        I'm Anupam Das (from UIUC, one of Nikita Borisov's PhD student).
>>> We previously talked about Shadow installation problem. I was trying to
>>> install Shadow on our server, but having some problem.
>>>
>>> Our server config is given below-
>>>
>>> Linux ubuntu 3.2.0-39-generic #62-Ubuntu SMP Thu Feb 28 00:28:53 UTC
>>> 2013 x86_64 x86_64 x86_64 GNU/Linux
>>>
>>> I followed every instruction sequentially as suggested at
>>> https://github.com/shadow/shadow/wiki/Preparing-your-machine
>>>
>>> When I run
>>>
>>> ./setup build
>>>
>>>  I get the following error message-
>>>
>>>
>>> [ 43%] Linking LLVM bitcode shadow-plugin-scallion-bitcode.bc
>>> /usr/bin/llvm-link: shd-scallion-plugin.c.bc: Invalid MODULE_CODE_GLOBALVAR reco                                   rd
>>>
>>>
>>>
>>>
>>>
>>>
>>> /usr/bin/llvm-link: error loading file 'shd-scallion-plugin.c.bc'
>>> make[2]: *** [src/plugins/scallion/shadow-plugin-scallion-bitcode.bc] Error 1
>>> make[1]: *** [src/plugins/scallion/CMakeFiles/shadow-plugin-scallion-bitcode.dir                                   /all] Error 2
>>>
>>>
>>>
>>>
>>>
>>>
>>> make: *** [all] Error 2
>>> [2013-04-08 23:24:22.791526] Shadow Setup: make returned 2
>>> [2013-04-08 23:24:22.791695] Shadow Setup: ERROR! Non-zero return code from make                                   .
>>> [2013-04-08 23:24:22.791852] Shadow Setup: returning code '2'
>>>
>>>
>>>
>>>
>>>
>>>
>>> Do you have any suggestions as to why we are getting this error?
>>>
>>> Thanks
>>>
>>> Anupam
>>>
>>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.umn.edu/archives/shadow-support/attachments/20130409/732f5719/attachment-0001.html>


More information about the shadow-support mailing list