Can't compile Dragonegg

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't compile Dragonegg

Tom Roeder
Hi,

I'm trying to compile release 3.2 of DragonEgg (checked out from
http://llvm.org/svn/llvm-project/dragonegg/branches/release_32. I'm at
revision 170458), under Ubuntu (Ubuntu 12.04.1 LTS (GNU/Linux
2.6.39-gcg-20121018 x86_64)) and I get the following error.

tmroeder@myubuntu:~/src/dragonegg$ make
Compiling utils/TargetInfo.cpp
Linking TargetInfo
Compiling Aliasing.cpp
/root/src/dragonegg/src/Aliasing.cpp:37:23: fatal error: auto-host.h:
No such file or directory
compilation terminated.
make: *** [Aliasing.o] Error 1
tmroeder@myubuntu:~/src/dragonegg$

my compiler is

tmroeder@myubuntu:~/src/dragonegg$ gcc --version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

Can anyone give me any suggestions about how to get this to build?
I've tried on the trunk and on another Ubuntu system with the same
results.

Thanks,

Tom
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Can't compile Dragonegg

Dmitry Mikushin
Hi Tom,

DragonEgg depends on GCC's and LLVM's internal headers, auto-host.h is
one of them. Try to add GCC and LLVM_CONFIG with your make command as
described here http://dragonegg.llvm.org/ in section "Getting it".

Best,
- Dima.

On 12/18/2012 10:24 PM, Tom Roeder wrote:

> Hi,
>
> I'm trying to compile release 3.2 of DragonEgg (checked out from
> http://llvm.org/svn/llvm-project/dragonegg/branches/release_32. I'm at
> revision 170458), under Ubuntu (Ubuntu 12.04.1 LTS (GNU/Linux
> 2.6.39-gcg-20121018 x86_64)) and I get the following error.
>
> tmroeder@myubuntu:~/src/dragonegg$ make
> Compiling utils/TargetInfo.cpp
> Linking TargetInfo
> Compiling Aliasing.cpp
> /root/src/dragonegg/src/Aliasing.cpp:37:23: fatal error: auto-host.h:
> No such file or directory
> compilation terminated.
> make: *** [Aliasing.o] Error 1
> tmroeder@myubuntu:~/src/dragonegg$
>
> my compiler is
>
> tmroeder@myubuntu:~/src/dragonegg$ gcc --version
> gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
>
> Can anyone give me any suggestions about how to get this to build?
> I've tried on the trunk and on another Ubuntu system with the same
> results.
>
> Thanks,
>
> Tom
> _______________________________________________
> LLVM Developers mailing list
> [hidden email]         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Can't compile Dragonegg

Tom Roeder
Hi,

Thanks for the quick reply.

Actually, I just figured it out by reading the dragonegg instructions
again: I hadn't installed gcc-4.6-plugin-dev. Once I installed this,
the plugin built successfully (at least on that machine :)

Thanks,

Tom


On Tue, Dec 18, 2012 at 2:32 PM, Dmitry Mikushin <[hidden email]> wrote:

> Hi Tom,
>
> DragonEgg depends on GCC's and LLVM's internal headers, auto-host.h is one
> of them. Try to add GCC and LLVM_CONFIG with your make command as described
> here http://dragonegg.llvm.org/ in section "Getting it".
>
> Best,
> - Dima.
>
>
> On 12/18/2012 10:24 PM, Tom Roeder wrote:
>>
>> Hi,
>>
>> I'm trying to compile release 3.2 of DragonEgg (checked out from
>> http://llvm.org/svn/llvm-project/dragonegg/branches/release_32. I'm at
>> revision 170458), under Ubuntu (Ubuntu 12.04.1 LTS (GNU/Linux
>> 2.6.39-gcg-20121018 x86_64)) and I get the following error.
>>
>> tmroeder@myubuntu:~/src/dragonegg$ make
>> Compiling utils/TargetInfo.cpp
>> Linking TargetInfo
>> Compiling Aliasing.cpp
>> /root/src/dragonegg/src/Aliasing.cpp:37:23: fatal error: auto-host.h:
>> No such file or directory
>> compilation terminated.
>> make: *** [Aliasing.o] Error 1
>> tmroeder@myubuntu:~/src/dragonegg$
>>
>> my compiler is
>>
>> tmroeder@myubuntu:~/src/dragonegg$ gcc --version
>> gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
>>
>> Can anyone give me any suggestions about how to get this to build?
>> I've tried on the trunk and on another Ubuntu system with the same
>> results.
>>
>> Thanks,
>>
>> Tom
>> _______________________________________________
>> LLVM Developers mailing list
>> [hidden email]         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
> _______________________________________________
> LLVM Developers mailing list
> [hidden email]         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Can't compile Dragonegg

liuml07
In reply to this post by Dmitry Mikushin
Hi,

I suggest add the id attribute for each <h2> tag in www/index.html. Thus we can refer to the "Getting it" section in the dragonegg homepage page (the only web page) by simply the given URL:

Regards. 


On Wed, Dec 19, 2012 at 6:32 AM, Dmitry Mikushin <[hidden email]> wrote:
Hi Tom,

DragonEgg depends on GCC's and LLVM's internal headers, auto-host.h is one of them. Try to add GCC and LLVM_CONFIG with your make command as described here http://dragonegg.llvm.org/ in section "Getting it".

Best,
- Dima.


On 12/18/2012 10:24 PM, Tom Roeder wrote:
Hi,

I'm trying to compile release 3.2 of DragonEgg (checked out from
http://llvm.org/svn/llvm-project/dragonegg/branches/release_32. I'm at
revision 170458), under Ubuntu (Ubuntu 12.04.1 LTS (GNU/Linux
2.6.39-gcg-20121018 x86_64)) and I get the following error.

tmroeder@myubuntu:~/src/dragonegg$ make
Compiling utils/TargetInfo.cpp
Linking TargetInfo
Compiling Aliasing.cpp
/root/src/dragonegg/src/Aliasing.cpp:37:23: fatal error: auto-host.h:
No such file or directory
compilation terminated.
make: *** [Aliasing.o] Error 1
tmroeder@myubuntu:~/src/dragonegg$

my compiler is

tmroeder@myubuntu:~/src/dragonegg$ gcc --version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

Can anyone give me any suggestions about how to get this to build?
I've tried on the trunk and on another Ubuntu system with the same
results.

Thanks,

Tom
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev



--
Mingliang LIU (刘明亮 in Chinese)

PACMAN Group,  Dept. of Computer Science & Technology
Tsinghua University, Beijing 100084, China
Email: [hidden email]


_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Can't compile Dragonegg

Duncan Sands
Hi Mingliang LIU,

> I suggest add the id attribute for each <h2> tag in www/index.html. Thus we can
> refer to the "Getting it" section in the dragonegg homepage page (the only web
> page) by simply the given URL:
> http://dragonegg.llvm.org#GettingIt

this already works:

http://dragonegg.llvm.org/#gettingrelease

But maybe could be done better or more consistently?

Ciao, Duncan.

>
> Regards.
>
>
> On Wed, Dec 19, 2012 at 6:32 AM, Dmitry Mikushin <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Hi Tom,
>
>     DragonEgg depends on GCC's and LLVM's internal headers, auto-host.h is one
>     of them. Try to add GCC and LLVM_CONFIG with your make command as described
>     here http://dragonegg.llvm.org/ in section "Getting it".
>
>     Best,
>     - Dima.
>
>
>     On 12/18/2012 10:24 PM, Tom Roeder wrote:
>
>         Hi,
>
>         I'm trying to compile release 3.2 of DragonEgg (checked out from
>         http://llvm.org/svn/llvm-__project/dragonegg/branches/__release_32
>         <http://llvm.org/svn/llvm-project/dragonegg/branches/release_32>. I'm at
>         revision 170458), under Ubuntu (Ubuntu 12.04.1 LTS (GNU/Linux
>         2.6.39-gcg-20121018 x86_64)) and I get the following error.
>
>         tmroeder@myubuntu:~/src/__dragonegg$ make
>         Compiling utils/TargetInfo.cpp
>         Linking TargetInfo
>         Compiling Aliasing.cpp
>         /root/src/dragonegg/src/__Aliasing.cpp:37:23: fatal error: auto-host.h:
>         No such file or directory
>         compilation terminated.
>         make: *** [Aliasing.o] Error 1
>         tmroeder@myubuntu:~/src/__dragonegg$
>
>         my compiler is
>
>         tmroeder@myubuntu:~/src/__dragonegg$ gcc --version
>         gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
>
>         Can anyone give me any suggestions about how to get this to build?
>         I've tried on the trunk and on another Ubuntu system with the same
>         results.
>
>         Thanks,
>
>         Tom
>         _________________________________________________
>         LLVM Developers mailing list
>         [hidden email] <mailto:[hidden email]> http://llvm.cs.uiuc.edu
>         http://lists.cs.uiuc.edu/__mailman/listinfo/llvmdev
>         <http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev>
>
>
>     _________________________________________________
>     LLVM Developers mailing list
>     [hidden email] <mailto:[hidden email]> http://llvm.cs.uiuc.edu
>     http://lists.cs.uiuc.edu/__mailman/listinfo/llvmdev
>     <http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev>
>
>
>
>
> --
> Mingliang LIU (刘明亮 in Chinese)
>
> PACMAN Group,  Dept. of Computer Science & Technology
> Tsinghua University, Beijing 100084, China
> Email: [hidden email] <mailto:[hidden email]>
> Homepage: http://pacman.cs.tsinghua.edu.cn/~liuml07/
> <http://pacman.cs.tsinghua.edu.cn/%7Eliuml07>
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> [hidden email]         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: Can't compile Dragonegg

liuml07
Hi Duncan,

Glad to know it works already. I simply gave a blind suggestion without checking it.

Regards.


On Wed, Dec 19, 2012 at 10:01 PM, Duncan Sands <[hidden email]> wrote:
Hi Mingliang LIU,


I suggest add the id attribute for each <h2> tag in www/index.html. Thus we can
refer to the "Getting it" section in the dragonegg homepage page (the only web
page) by simply the given URL:
http://dragonegg.llvm.org#GettingIt

this already works:

http://dragonegg.llvm.org/#gettingrelease

But maybe could be done better or more consistently?

Ciao, Duncan.


Regards.


On Wed, Dec 19, 2012 at 6:32 AM, Dmitry Mikushin <[hidden email]
<mailto:[hidden email]>> wrote:

    Hi Tom,

    DragonEgg depends on GCC's and LLVM's internal headers, auto-host.h is one
    of them. Try to add GCC and LLVM_CONFIG with your make command as described
    here http://dragonegg.llvm.org/ in section "Getting it".

    Best,
    - Dima.


    On 12/18/2012 10:24 PM, Tom Roeder wrote:

        Hi,

        I'm trying to compile release 3.2 of DragonEgg (checked out from
        http://llvm.org/svn/llvm-__project/dragonegg/branches/__release_32
        <http://llvm.org/svn/llvm-project/dragonegg/branches/release_32>. I'm at

        revision 170458), under Ubuntu (Ubuntu 12.04.1 LTS (GNU/Linux
        2.6.39-gcg-20121018 x86_64)) and I get the following error.

        tmroeder@myubuntu:~/src/__dragonegg$ make

        Compiling utils/TargetInfo.cpp
        Linking TargetInfo
        Compiling Aliasing.cpp
        /root/src/dragonegg/src/__Aliasing.cpp:37:23: fatal error: auto-host.h:

        No such file or directory
        compilation terminated.
        make: *** [Aliasing.o] Error 1
        tmroeder@myubuntu:~/src/__dragonegg$

        my compiler is

        tmroeder@myubuntu:~/src/__dragonegg$ gcc --version

        gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

        Can anyone give me any suggestions about how to get this to build?
        I've tried on the trunk and on another Ubuntu system with the same
        results.

        Thanks,

        Tom
        _________________________________________________
        LLVM Developers mailing list
        [hidden email] <mailto:[hidden email]> http://llvm.cs.uiuc.edu
        http://lists.cs.uiuc.edu/__mailman/listinfo/llvmdev
        <http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev>


    _________________________________________________
    LLVM Developers mailing list
    [hidden email] <mailto:[hidden email]> http://llvm.cs.uiuc.edu
    http://lists.cs.uiuc.edu/__mailman/listinfo/llvmdev

    <http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev>




--
Mingliang LIU (刘明亮 in Chinese)

PACMAN Group,  Dept. of Computer Science & Technology
Tsinghua University, Beijing 100084, China
Email: [hidden email] <mailto:[hidden email]>
Homepage: http://pacman.cs.tsinghua.edu.cn/~liuml07/
<http://pacman.cs.tsinghua.edu.cn/%7Eliuml07>




_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev


_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev



--
Mingliang LIU (刘明亮 in Chinese)

PACMAN Group,  Dept. of Computer Science & Technology
Tsinghua University, Beijing 100084, China
Email: [hidden email]


_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev