Slackware :: Compile Errors With Various X11-relying Programs?

Jan 31, 2010

I've been trying to compile and install different terminal emulators:Eterm, aterm, and libAfterImage for urxvt.

I've been getting all these errors, and it seems odd to me. I did some fiddling awhile back enabling KMS with my radeon, install custom packages for xf86-ati, mesa, and libdrm. Could that or some other fiddling have broken these dependencies?

Here is an excerpt, with the full error log attached and here:url

Code:
In file included from libungif/../xwrap.h:5,
from libungif/../asim_afterbase.h:23,
from libungif/../afterbase.h:36,
from libungif/gif_hash.h:24,
from libungif/gif_lib_private.h:5,
code....

View 1 Replies


ADVERTISEMENT

Ubuntu :: Unable To Compile C++ Programs

Apr 25, 2011

I've tried compiling C++ programs with extension .cc and .cpp. I've tried compiling with gcc, g++ and even cc (with .cc extension files). Earlier (as g++ wasn't installed) i tried installing g++ (sudo apt-get install g++) for which i got the message "g++ has no installation candidate". Later from Synaptic i found it as g++-2.95 and installed it. I've also installed pentium-builder

Whenever i've tried to install "build-essential" (using apt-get and aptitude) i've got messages along the line of "no installation candidate". I've searched many posts and not got the answer for this. I've treid update and upgrade before installation, no use. I have all the repositories checked in software sources and the server as "main server". Now, the main problem is: (when trying to compile a .cpp file)

user@dell-desktop:~$ g++ hello.cpp
Unable to exec g++.real: No such file or directory
ser@dell-desktop:~$ gcc hello.cpp

[code]....

View 9 Replies View Related

General :: Can't Compile C++ Programs On OPENSUSE

May 15, 2011

pgm of mine is not getting compiled

#include<iostream>
int main()
{
cout<<"Hi
";
}//Saved as g.cpp

The foll. error is shown on compiling as c++ g.cpp or gcc c.cpp or cc g.cpp
and i've gcc 4.5

g.cpp: In function int main():
g.cpp:5:2: error: cout was not declared in this scope
v

View 1 Replies View Related

Programming :: Unable To Compile C++ Programs

Mar 15, 2009

I work on Fedora 9 and I'm unable to compile my c++ program using the make in the terminal as well as in the IDE-Anjuta.although 'make' works fine with C programs,I get an error that g++ command is not found whenever I try it with C++ programs.

View 3 Replies View Related

Ubuntu :: Gcc Doesn't Compile Cpp Programs?

Jun 24, 2010

iam using ubuntu 9.10 and iam working in gcc for about half an year for devoping c programs. but i find its not possible to compile any c++ programs in my gcc.Always it ended up showing the error below:

gcc: error trying to exec 'cc1plus': execvp: No such file or directory

i find the same when i tried to install wxpython from its source and hence cant complete it.

View 9 Replies View Related

Ubuntu :: Old Kernel Compile Errors Resurface

Mar 2, 2010

I un-installed all packages that I downloaded and removed all references to the attempted kernel and I thought it was over. Today I tried to install xubuntu-desktop and the install exits with a dpkg errros that refers to that old custom kernel attempt. I run dpkg as instructed (see below):

[code]...

I cannot run apt-get until I try to figure out where this error is.

View 1 Replies View Related

Hardware :: X-Fi Titanium RedHat 4 Getting Errors When Trying To Compile

Nov 1, 2010

I have a machine with X-Fi Titanium sound card. Im getting the following errors when trying to compile the driver.

[Code]...

View 3 Replies View Related

Fedora :: How To Compile Java Programs Using OpenJDK

Dec 16, 2009

Tell me how to compile and run java programs using openJDK on fedora 11

i have gcc installed

View 6 Replies View Related

Fedora :: Compile And Execute Java Programs?

Sep 11, 2010

How to compile and execute Java programs

View 1 Replies View Related

General :: Compile C Programs For Embedded On Windows?

Nov 1, 2010

I am using embedded linux (xlinux) and i need to compile the programs on desktop pc.i am currently using eclipse.can someone suggest me how I can configure, to make a project thats compile the programs for the embedded linix where I need to run them.

View 1 Replies View Related

Software :: How To Compile Lex And Yacc Programs In Rhel4

May 30, 2009

What is the software to be installed to compile and execute c/c++,lex and yacc programs in rhel4??

View 1 Replies View Related

General :: Using Makefile - 'Multiple Definition' Compile Errors

Mar 1, 2011

As part of an assignment, our class was given a small set of c++ classes which are compiled using a makefile. As part of the assignment, I have created a namespace and saved in it a .cpp file. The functions, constants and typedefs from the namespace are now used in one of the original files, and so I added an <#include MyFile.cpp> to the file I modified, in addition to a using MyNamespace;

When I try to use the original makefile, the compiler gives a lot of errors about multiple definitions of every function in the namespace. What do I need to do to resolve this? Do I need to change the makefile or one of the files themselves? I am new to Linux programming and makesfiles.

View 2 Replies View Related

Software :: Compile Ardour 2.8.7 From Source - Stopped With Errors

May 15, 2010

I'm trying to compile ardour 2.8.7 from source and the compile got past the dependencies and everything else fine but it stopped at one point with these errors

[code]...

I have no experience compiling python. I would not like to install from a package as the one with ubuntu is wrongly compiled and so are many others which are hosted I have heard the only way to make the problems with packaged versions stop is by compiling ardour yourself so I would still like to go ahead with it.

View 6 Replies View Related

CentOS 5 :: Unable To GCC Compile Any Stuff - Random Errors

Jan 24, 2009

I am new to CENTOS (5.2) and more importantly new to linux. Any time I try to gcc compile something, it always throws random errors. I yum installed development-tools which is what I have seen other threads suggest but that did not solve the issue. I still get the same errors. I cannot find a common error among the many things I have attempted to compile.

Here is my most recent file for an example made when trying to compile up-imapproxy :
gcc -g -O2 -I. -I./include -c -o src/icc.o src/icc.c
gcc -g -O2 -I. -I./include -c -o src/main.o src/main.c
src/main.c: In function "int main(int, char**)":
src/main.c:618: error: invalid conversion from *void* to *void* (*)(void*)
src/main.c:618: error: initializing argument 3 of int pthread_create(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*)
src/main.c:646: error: invalid conversion from int* to socklen_t*
src/main.c:646: error: initializing argument 3 of int accept(int, sockaddr*,socklen_t*)
src/main.c:675: error: invalid conversion from void* to void* (*)(void*)
src/main.c:675: error: initializing argument 3 of int pthread_create(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*)
make: *** [src/main.o] Error 1

View 3 Replies View Related

OpenSUSE :: Write And Compile/run Programs In Different Programming Languages?

Feb 19, 2011

I was wondering about a package that can be used to write and compile/run programs in different programming languages. I was also wondering how possible it is to program in Visual Basic 2010 in openSUSE if at all.

View 9 Replies View Related

Software :: Unable To Compile Programs - Getting Error / Get It To Work?

Jun 3, 2010

I am having a problem I have never encountered before. When I try to install programs, I get a failure to compile error in configure. I have tried to install Prozilla, Prozgui, and Aria2, but I get the same message for each. The message follows code...

View 9 Replies View Related

Programming :: Compile GNOME Programs On X / Its Possible With Minimal Modification?

Oct 30, 2009

Is it possible with minimal modification?

View 3 Replies View Related

Ubuntu Multimedia :: Compile Errors From OpenCV With Ffmpeg + X264

May 29, 2011

I am trying to compile OpenCV 2.0 with ffmpeg (with x264) support on my Ubuntu 11.04 64-bit machine. (Since I want to use the binaries provided by other developers, I have to use opencv 2.0 version)

I followed the guide from: [URL] to compile x264 and ffmpeg manually, and succeeded.

Then I followed the guide in the INSTALL file provided by the OpenCV 2.0 package. I use CMake to configure and generate them, and use "make" command to try compiling. However, I got the following error report, which haunted me for almost half a week.

Code:
Linking CXX static library ../../lib/libhighgui_pch_dephelp.a
[ 71%] Built target highgui_pch_dephelp
Scanning dependencies of target pch_Generate_highgui
[ 71%] Generating _highgui.h
[ 71%] [COLOR="rgb(65, 105, 225)"]Generating

[Code].....

View 7 Replies View Related

Ubuntu Installation :: Compile Errors Installing VMWare Workstation 7.1.0

Aug 19, 2011

I have played around with Fedora for a few years and recently switched to Ubuntu. I am installing VMWare Workstation version 7.1.0 from a retail packaged CD. When I attempt to install VMWare Workstation and VMWare Player I get the following error:

Aug 15 16:24:54.826: app-3078788800| Your GCC version: 4.5
Aug 15 16:24:54.837: app-3078788800| Your GCC version: 4.5
Aug 15 16:24:54.889: app-3078788800| Trying to find a suitable PBM set for kernel 2.6.38-10-generic.
Aug 15 16:24:54.895: app-3078788800| Trying to find a suitable PBM set for kernel 2.6.38-10-generic.....
Aug 15 16:24:56.163: app-3078788800| Failed to compile module vmmon!

I tried installing the patch for kernal 2.6.38-8 found here - [URL] - but it did not resolve the issue. Is there a patch for kernal 2.6.38-10?

I also found this posting for the same problem: [URL]. I followed the following instructions as advised in the post . . .
sudo apt-get update
sudo apt-get install make
sudo apt-get install gcc

Then enter:
uname -r

My kernel was: 2.6.38-10-generic
sudo apt-get install build-essential linux-headers-2.6.38-10-generic
Now run the vmware-install.pl script.

Everything ran without error. However, I continue to get the same error. Another post suggested uninstalliung and reinstalling the software, but this had no affect either. Another post suggested that after running the above update to them run the /usr/bin/vmware-config.pl script. However I do not seem to have the vmware-config.pl in my /usr/bin directory. I checked the various VMWARE directories in /etc and the /tmp/vmware-root directories but no vmware-config.pl

View 2 Replies View Related

Software :: Php Compile Errors - Found Not - Flex , Bison , Re2c?

Jun 8, 2010

configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 (found: none).
configure: warning: flex versions supported for regeneration of the Zend/PHP parsers:

[code]....

View 4 Replies View Related

General :: Php Programs Errors Not Displaying On Browser

Feb 8, 2011

i have installed fedora14 on my system, while running the php programs errors are not displaying on the browser. display the error while running on the browser at localhost.

View 2 Replies View Related

Software :: Errors In Execution Of Wireless Programs?

Feb 23, 2011

i tried to execute wireless programs on NS2 i found errors like command not found! but i executed wired programs on the same successfully is their any paths that i should setup for executing wireless programs?

and also i tried a simple c program in fedora7 which executed successfully but when i tried same program on .cc extension and complied with g++ -g filename.cc i found errors like cannot link to g++....why?

View 1 Replies View Related

Ubuntu Installation :: Install Source Code For Programs To Compile?

Feb 2, 2010

Where do I find the linux-source package and the linux-headers package? Are they on the CD that I can copy to /usr/src (is that the right place...)? Or do I need to download them from the old-releases.ubuntu.com site?

The issue now is that the nVidia installer from their website wants the source code to build the right packages for this machine, however, I do not have the src directory with the source code that it is looking for. Is there some way to give this too it now?

I am running Mythbuntu 7.10

View 2 Replies View Related

General :: Compile Programs And Their Dependencies Manually Or Are Package Managers The Only Way?

May 29, 2010

Is there an easier way (without using a package manager) to upgrade programs? For example, I just want to upgrade Amarok. In order to do this, I've had to upgrade every one of it's dependencies because they've all had minor upgrades from the versions I already have installed.

Is there an easier way to compile programs and their dependencies manually or are package managers the only way?

View 1 Replies View Related

Slackware :: Compile 2.6.37 Kernel Patched With The Autogroup Patch On A Slackware 13.1 System?

Jan 13, 2011

it's possible to compile the 2.6.37 kernel patched with the autogroup patch on a Slackware 13.1 system running 2.6.33.4-smp with 2.6.33.4 headers? I just compiled and installed the 2.6.37-autogroup kernel from AUR on my ARCH setup and I like it especially when using firefox with lots of tabs open and other background apps also running. I did notice a speed and smothness difference in my ARCH testing setup with this kernel patch and I can get same results in 13.1??

View 1 Replies View Related

Programming :: New MPICH2 Installation - Interfering - With -make - Cant Compile Fortran Programs

Jul 28, 2011

Actually I had a folder called Lib, in which I had a few libraries installed and configured.(MPI, PETSc, SLEPc) I accidently deleted (by rm) the contents of that folder.

Then I reinstalled MPI,PETSC,SLEPC using the same tarballs as earlier(thus, the version etc. is the same).

I already had a fortran program with many modules and subroutine files, and the corresponding makefile which used to compile and run fine. But now when I type "make" in the same directory as before, I get this: (shortened, many similar errors)

Code:

Firstly, why is mpif90 compiling my program when I didnt tell it to? In my makefile, I have specified gfortran as my compiler....nowhere have I even mentioned mpif90. Such a thing never used to occur before.

Also, if I rename file_variable.f to file_variable.f90, these errors dissappear (I understand why, but that is not the problem), but a new error comes:

Why is the new MPI installation interfering with make ? I want to go back to how things were before I stupidly broke all installations. The errors themselves are not the problem, the problem is why the new mpi installation is interfering with make.

It seems as if mpif90 has taken over make and gfortran. I suppose I didnt install it correctly, or probably I didnt uninstall the earlier one correctly.

Everything that worked earlier doesnt work suddenly. I use ubuntu 11.04 MPICH2-1.3.2

View 1 Replies View Related

OpenSUSE :: Allows To View Kindle Formats Without Relying On Wine?

Jul 19, 2011

I've been searching for Kindle applications for Linux and I can only find one that relies on Wine (which I absolutely hate). Does anybody know whether there's any application out there that allows to view kindle formats without relying on Wine?

View 9 Replies View Related

General :: Libtool Has Syntax Errors When Running After GLib-2 Cross Compile For PPC Using LTIB?

Jun 10, 2010

First, I'm trying to cross compile mono 2.6.4 so that it will run on Freescale Embedded Linux for a PowerPC CPU. My host machine is running Fedora 13 on an x86. Freescale provides a copy of the Linux Target Image Builder (LTIB) that has been pre-configured for the particular board I'm using, and LTIB seems to be able to help with the cross compilation of other stuff--you can add in your own packages to be built and included in your newly-built Linux image.

Mono depends on pkg-config and glib-2, so I have selected them in the LTIB package selection config. I've also added a new package for mono that builds mono-2.6.4 from the source tar (after the other deps have also been built).

I'm having a problem getting the glib-2.24.0 package libraries created. Basically they appear to build and link ok, but then libtool runs and errors out claiming it has a syntax error! (numerous wths followed...)

Here is LTIB's temporary build script for only the glib2 package:

Code:

Here is the output when building the glib2 package (configure + make):

Code:

Build path taken because: directory build, build key set, no prebuilt rpm,

View 7 Replies View Related

CentOS 5 Server :: Postfix Save Mail Before Relying It To Exchange?

Jan 29, 2010

I have postfix setup right now and it's relying mail to our Exchange server fine. What i would like to do though is have postfix save the email that gets passed through so that if a manager deletes an email, it's easy to look through by date and find the email he's looking for. Well, I'm thinking it would be a lot easier then having to need to pull out the backup tape and try to recover one email. Does anyone know whether I would be able to accomplish this?

View 3 Replies View Related

Slackware :: Lilo Not Booting Slackware Correctly - Errors Inside?

Mar 1, 2010

I'm fairly new to Linux so I'm going to need a step-by-step guide to get me out of this rut. The install of Linux was fine but when I booted up I got this error. VFS: Cannot open root device "302" or unknown-block (3,2) append a correct "root=" boot option;here are the available partitions;

0800 78150744 sda driver:sd
0801 47428608 sda1 <-- this is my Windows partition
0802 30719552 sda2 <-- this is my Linux partition
0b00 1048575 sr0 driver:sr
0b01 1048575 sr1 driver:sr

Kernel panic - not syncing:VFS:Unable to mount root fs on unknown-block (3,2) I guessed from reading this error Lilo isn't pointing to the right partition to boot from? How will I fix this? I read another thread about boot problems on these forums and a guy said to do this:

#mkdir /slacktemp
#mount /dev/device /slacktemp
#chroot /slacktemp
#cd /slacktemp/etc <-- for me it told me that doesn't exist
#vi lilo.conf <-- couldn't do nothing and was frozen
#lilo -v -t -b /dev/device
#lilo -v -b /dev/device

The above solution did not work for me. Can anyone shed a light on a Linux rookie?

View 14 Replies View Related







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