Fedora :: Compile With Gcc And Llvm In 11?

Apr 2, 2010

I use a fedora-11 system and recently I installed llvm ( sudo yum -y install llvm llvm-docs llvm-devel ). When I search for llvm I get them in /usr/bin. some of the links to the binaries are broken(llvm-gcc,llvm-g++,llvm-cpp,etc.) the include files are found within /usr/include/llvm and libs at /usr/lib/llvm. How to compile them using g++? I tried to compile the kaleidoscope code given in the tutorial [URL] as per directed, but it fails to compile..

I get this...

toy.cpp:5:30: error: llvm/LLVMContext.h: No such file or directory
toy.cpp:352: error: �getGlobalContext� was not declared in this scope
toy.cpp: In member function �virtual llvm::Value* NumberExprAST:odegen()�:

[code]....

I cannot find the LLVMContext.h file too. so i guess this might be a version problem. what should i do to make it work?

View 1 Replies


ADVERTISEMENT

Fedora Hardware :: Compile Moxa (5100) Driver In Fedora 12 , Kernel <= 2.6.30

May 13, 2010

i want to compile Moxa (5100) driver in Fedora 12 , kernel <= 2.6.30 but now when i run command i see this error :

Code:
ln: creating symbolic link `libssl.so': File exists
make -C /lib/modules/2.6.31.5-127.fc12.i686.PAE/build SUBDIRS=/home/AAA/moxa modules
make[1]: Entering directory `/usr/src/kernels/2.6.31.5-127.fc12.i686.PAE'
CC [M] /home/AAA/moxa/npreal2.o
/home/AAA/moxa/npreal2.c: In function �npreal_open�:
/home/AAA/moxa/npreal2.c:1000: error: implicit declaration of function �task_session_nr
make[2]: *** [/home/AAA/moxa/npreal2.o] Error 1

[Code]...

View 9 Replies View Related

Fedora :: Compile A Program To Make It Capable To Use >4GB Memory On 32-bit Fedora?

Apr 11, 2011

The whole code is written in C, C++, and Fortran. Is it possible to make it to use more than 4GB memory. Now it is always crashed when it reaches 3GB memory. If it is possible, how to set up the compiling options (or configure flags)? We can use gcc, g++, ...or intel compilers our OS: Fedora 12 x32

[code]....

View 2 Replies View Related

Fedora Installation :: New Install Fedora 10 Need To Compile Kernel?

Apr 13, 2009

I am very much a Newbie to Linux/Fedora. Just installed Fedora 10, but having some problems with hardware driver recognition, particularly a wireless network PCI card. ndiswrapper is looking for a kernel in usr/src/kernels, which doesn't exist.In Fedora, is it necessary to compile a kernel? Looking through the FAQ at kernelnewbies, states to extract the kernel to a Linux directory, in usr/src, which also doesn't exist.

View 12 Replies View Related

Fedora :: Fedora Core Becoming Thin Client / Compile It To Be Used?

Aug 1, 2009

Anyone know how to compile fedora core to be used as a thin client / dumb terminal with a small kernel?

View 4 Replies View Related

Fedora Installation :: Compile PHP 5.2.x With PHP 5.3?

Jan 10, 2010

I would like to install PHP 5.2.x on my machine because Drupal does not yet fully support PHP 5.3.x and I get a bunch of deprecated warnings.

I already installed PHP 5.3 via yum and a few other php extensions.

If I install/configure PHP 5.2.x do I need to uninstall my PHP 5.3 first?

When configuring PHP 5.2.x can I use the php extensions I already downloaded when I installed PHP 5.3?

View 2 Replies View Related

Fedora :: Compile 32-bit Program On A 64-bit OS

Jan 20, 2010

I am trying to compile a very simple 32-bit program on my 64-bit fedora 12 install, but it won't let me.

I get this error.

I tested it on the school server (64 bit Red Hat Server), and it compiled flawlessly without any warnings. I think I am missing some libraries, but don't know which.

View 4 Replies View Related

Fedora X86/64bit :: Can't Compile With GCC 12

Apr 23, 2010

I switched from suse to fedora, but i have a problem with gcc (i guess) i tried to reinstall it or upgrade it but i coudn't fix the problem.. There is a very simple example

Code:

#include <stdio.h>
int main()
{
printf(" :( ") ;

[code]....

View 2 Replies View Related

Fedora :: How To Compile Madplay-0.15.1b

Apr 29, 2010

i have been using fedora 10th version can any help me how to compile madplay source code in oder to compile vlc source code

View 1 Replies View Related

Fedora :: YUM Install Vs Compile ... Which Is Better?

Jun 29, 2010

I have been playing around with linux for a bit ... but i am getting to the point where i would like to know what is actually happening to the system .

Scenario ... I would like to install Mozilla Thunderbird On mozilla thunderbird website, current version is 3.1

However, when i run 'yum search thunderbird' i get a version 3.0.5.xxx

Why is repository not up to date?

So is it better to install through YUM or should i download the source and compile it?

If i compile it, will the YUM keep track of it if an update is made?

If compiled, how can i get it so it appears in the menu system (alacarte?)

Is it possible to extract and install source files through YUM (so it can keep track of the package)?

View 7 Replies View Related

Fedora :: How To Compile Avahi From Src.rpm In F14

Jan 15, 2011

I am trying to compiling avahi from src.rpm, and got this error: /usr/include/gtk-3.0/gtk/gtkapplication.h:57:3: error: expected specifier-qualifier-list before 'GApplication'According to bug651328 Comment #2,gtk3 in F14 is a dead-end, unfortunately. gtk3 requires a newer glib than f14 has or will have.So how was the avahi rpm compiled? And how can I compile it from src.rpm?

View 3 Replies View Related

Fedora :: Can't Compile Blender-2.56

Jan 28, 2011

i tried to compile blender-2.56 like described here:[URL]

but on fc14 it fails with the following errror message:

Code:
gcc -o build/linux2/source/blender/blenkernel/intern/node.o -c -O2 -g -march=i386 -mtune=i686 -O2 -Wall -Wno-char-subscripts -O2 -g -march=i386 -mtune=i686 -fopenmp -O2 -Wall -DXP_UNIX -fopenmp -DGLEW_STATIC -DWITH_PYTHON -DWITH_OPENEXR -DWITH_TIFF -DWITH_OPENJPEG -DWITH_DDS -DWITH_CINEON -DWITH_HDR -DUSE_BULLET

[Code]....

View 4 Replies View Related

Fedora :: Trying To Compile Qoci In F14?

Mar 2, 2011

I am trying to compile the QOCI (oracle driver) in fedora 14 . I am following this linkI was able to instal it using Debian. But now when I tried to compile the qt4 using make I got the error:

Code:
/usr/local/src/qt-everywhere-opensource-src-4.7.1/bin/moc: error while loading shared libraries: libclntsh.so.10.1: cannot enable executable stack as shared object requires: Permission denied

[code]....

View 9 Replies View Related

Fedora :: Can't Compile From C Source

Jun 4, 2011

I often like to use packages that have to be compiled from source. However, even after downloading gcc, I can't compile anything, because the configure script gives me a message about being unable to execute C programs. I gather that this is because of a "noexec" option in /proc/self/mounts. Problem is that the file apparently cannot even be edited by root. Perhaps there is an alternate type of fedora distribution I could use?

View 2 Replies View Related

Fedora :: Compile Some KDE Components From KDE 4.6.5 For KDE 4.6.5?

Aug 18, 2011

I tried to compile some KDE components from KDE 4.6.5 for KDE 4.6.5 but there are errors and this sucky cmake never tell me how to solve it.

Code:
CMake Error at CMakeLists.txt:7 (macro_optional_find_package):
Unknown CMake command "macro_optional_find_package".
DOLPHIN
Code:
CMake Error at src/tests/CMakeLists.txt:4 (kde4_add_unit_test): Unknown CMake command "kde4_add_unit_test". How to repair it ?

View 5 Replies View Related

Fedora Networking :: FC9 Cannot Compile Ipp2p?

Apr 6, 2009

I've tried with kernel-2.6.25, with kernel-2.6.27 and still no sucess.I've search around and tried every solution and i cant get to succeed.I'm using kernel 2.6.27.21-78.2.41.fc9 with iptables-1.4.1.1 and ipp2p-0.8.2I've applied the kernel-2.6.22 patch, the iptables-1.4.0 and iptables-1.4.1 patch and the hacks necessary to the Makefile so it compile and still no luck...This is my error:

Code:
cd ipp2p-0.8.2
[root@hotspot ipp2p-0.8.2]# make

[code]....

View 3 Replies View Related

Fedora :: SWFTools (0.8.1 / 0.9.0) Will Not Compile Properly

Nov 5, 2009

I'm new to Linux. I have recently made my first Linux install using Fedora 11 and Alfresco with a view to running a PoC ECM server. After some initial teething troubles and a seemingly exponential learning curve, Fedora and ALfresco are now installed and running bar a couple of things. Alfresco relies on swftools to automatically transform file types and swftools does not come installed either with Fedora, as an available package to download within the Add/Remove software program or with Alfresco.

I have installed the dependencies of swftools (zlib-devel, libjpeg-devel, giflib-devel, freetype-devel, gcc, gcc-c++ and make) but for some reason neither swftools-0.8.1 nor swftools-0.9.0 will compile properly. I even installed lame in case but still problems. This is what I do to install:
tar -zvxf swftools-0.9.0.tar.gz *stuff happens*
cd swftools-0.9.0
./configure --disable-lame (lame disabled as advised by Alfresco Wiki) *stuff happens*
make *stuff happens with errors*

The errors include :
warning: initialization from incompatible pointer type
invalid conversion from 'const char*' to 'char*'
Error 2 etc...

View 13 Replies View Related

Fedora Installation :: How To Compile .tar.gz Files

Mar 14, 2010

I am trying to get Frostwire for Fedora 12 and the RPM download does not work, I have been checking the web the past 8 hours trying to find version 4.20.3 in RPM format but i came up with nothing. I have a prevous version of it so please do not suggest I get a older version or limewire because limewire has a totally different problem. I downloaded the .tar.gz file and I have no idea how to install it. I think I heard something about having to compile it but to be honest I am compleatly lost in doing this. I have tried other online fourms about how to compile but i just do not really understand them. If you know how will you please give me a detailed, step-by-step guide on how to compile and install Frostwire.

View 7 Replies View Related

Fedora :: How To Cross-compile With Mingw32

May 15, 2010

I am trying to nuild executables to run on Windoze under Fedora 12. I have install all of the mingw32 RPMs. Now I just need a URL that discribes how to compile. I am using autoconf and automake. I have done it before but that was installing from Mingw32 source.

View 2 Replies View Related

Fedora :: Using GCC To Compile Java Apps?

Sep 21, 2010

I want to use GCC to compile my java programs... I dont want to use OpenJDK. using OpenJDK to compile java... I WANT GCC

When I run this command:

Code:
[AliasM2K@localhost Documents]$ gcc HelloWorld.java

I get:

Code:
no classpath specified

So... How to specify a classpath?

View 1 Replies View Related

Fedora :: How To Compile Fglrx For All Kernels

Oct 4, 2010

Install fglrx driver for ATI but it just installed for one old kernel 2.6.34.6-54. and 2.6.34.6-54.fc13.i686 i have also kernel 2.6.34.7-56.fc13.i686.PAE, how can i compile the fglrx for it?can i just copy fglrx.ko from /lib/modules/2.6.34.6-54.fc13.i686.PAE/extra/catalyst/fglrx.ko to /lib/modules 2.6.34.7-56.fc13....

View 1 Replies View Related

Fedora :: Unable To Compile The C Program?

Dec 9, 2010

from the commend line i went to compile the c program by giving the commend "gcc first.c -o first" but the commend line showing gcc is not found. iam using fedora 13 what can i do to compile the program . the program i used to compile is below

#include<stdio.h>
main()
{
printf("hello word
");
}

View 1 Replies View Related

Fedora :: Unable To Compile .cpp File?

Jan 31, 2011

unable to compile a simple C++ programme (.cpp file), on compiling the file with gcc or g++ the following error is displayed, but the above command works in Redhat EL. the error message is:"fatal error: iostream.h: No such file or directorycompilation terminated."an anybody suggest to compile a C++ programme in Fedora 14.

View 10 Replies View Related

Fedora :: GCC To Compile Java Files?

Feb 11, 2011

I want to compile java files using GCC directly . I do not want to use GCJ , forget about javac .

When I am using as
#gcc -x java helloworld.java

Its giving " no classpath specified "

Give me some solution so that I can use GCC as specified above .

View 8 Replies View Related

Fedora Installation :: Can't Compile VMware 7.1.4 On 15

Sep 8, 2011

When I try to run VMware 7.1.4-385536.x86_64 I see this message: "Before you can run VMware, several modules must be compiled and loaded into the running kernel GCC 4.6.0 GNU C Compiler (gcc) version 4.6.0 was not found etc.." I am running: 2.6.40.3-0.fc15.x86_64

View 3 Replies View Related

Red Hat / Fedora :: Re-compile The Src In Order To Install?

Jan 17, 2010

I have Atheros AR8132 Ethernet 10/100 and downloaded the drivers but need to re-compile the src in order to install it. after doing step (make install) it says:-

Makefile:61: *** Linux Kernel source not found. Stop. What does this mean?

View 5 Replies View Related

Red Hat / Fedora :: Compile A Tar.gz File In Centos5?

Jan 18, 2010

howto compile a tar.gz file in centos5ORhow can i create rpm from tar.gz file

View 1 Replies View Related

General :: Compile Kernel 2.6.31 On Fedora 12?

Jan 1, 2010

i tried to compile linux kernel 2.6.31 on Fedora 12: the make , make modules and modules install ran successfully but problem with make install while trying to create image it looks for mkinitrd command which is not available i downloaded and installed the mkinitrd pckg and make install was now successful i got kernel img and initrd img in /boot

also grub was updated properly but i m not able to boot up the new kernel the problem the initrd seems to be and uknown type file to fedora core and the current kernel has initramfs img with a .cpio extn instead of initrd

View 3 Replies View Related

General :: Compile Kernel On Fedora 10?

Apr 5, 2010

so my problem is how to recompile my kerenl with TUN/TAP driver,i got how to compile the kernel with TUN/TAP driver every thing is going OK, when i run the commends , just in the last commend when i reboot my laptop i choose grub to enter on new kernel , but when i choose it , i got black screen .so please help me to solve this problem , for more information about my laptop , i have just one partition my root is (hd1,1). my ram is 2G, speed 2GHZ, i use Linux-2.6.27.42, but the new one is the last kernel available in website. i am in rush please inform me as soon as possible,

View 10 Replies View Related

General :: How To Compile A Kernel In Fedora

Jul 6, 2010

i have downloaded .src.rpm file from net.i dont know how to compile that.can u tell me the basics of linux kernel compilation.how to compile a kernel. how to install or modify the existing running kernel with tat. etcI am using fedora 12 it has 2.6.31.5-127.fc12.i686.PAE

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved