Programming :: Getting Error While Compiling In Gambas On Ubuntu

Sep 5, 2010

Geting the following error while compiling in gambas on ubuntu. What is a secret key ?

[code]...

View 2 Replies


ADVERTISEMENT

Programming :: Using Gambas With Bash?

Jun 8, 2010

Is it possible to use Gambas as a GUI to read text string variables that are input by a user, and use the variables in a bash command?

I know how to do this simply with bash, but I want a GUI that little kids can easily use.

View 2 Replies View Related

Programming :: Error Compiling C++ Program Using C Library

May 8, 2010

I've created 3 files: swap.h and swap.c then make static library from it

Code:

Then I write 2 program to test this library: test_swap.c and test_swap.cpp

I compile

Code:

What's wrong with this in C++? And how can I make a library that can work both for any C and C++ program?

Here the source code

Code:

Code:

Code:

View 2 Replies View Related

Debian Programming :: Error Compiling Qalculate From Source?

Feb 15, 2014

I'm trying to install the calculator Qalculate from source so I download the tar.gz package for KDE from their official website to my ~/Downloads folder. I unzipped it with

Code: Select all tar xzf qalculate-kde-0.9.7.tar.gz

I moved the exploded folder to my /home/guest/ folder (my user-name is guest), I entered the qalculate-kde-0.9.7 folder and searched for a INSTALL or README file. Here's what the INSTALL file says to do. The INSTALL file says to run the following commands

Code: Select all./configure
Code: Select allmake
Code: Select allmake install
Code: Select allmake clean

After giving the first command, trouble started; here's what I got:

Code: Select allroot@aliquis:/home/guest/qalculate-kde-0.9.7# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes

[Code] .....

This is impossible, as I am running a fully functioning kde system. What should I do? I don't find the kde version of Qalculate in Apper...

View 9 Replies View Related

Programming :: Error Messages Generated When Compiling C++ Code?

Jul 3, 2010

Is there an online resource to lookup error messages generated when compiling C++ code?

View 5 Replies View Related

Programming :: Error With Compiling Program 'can Not Be Used When Making Shared Object'

Oct 14, 2010

I've got an error with compiling a program: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/python2.5/config/libpython2.5.a: could not read symbols: Bad value collect2: ld a retourn 1 code dtat d'excution make[2]: *** [bindings/_yafqt.so] Erreur 1.

View 1 Replies View Related

Programming :: Fortran OpenMPI-1.4.1 Installation / Compiling - Error Message Saying Mpif Not Recognized Command

Feb 4, 2010

I've installed openMPI-1.4.1 on my laptop and I'm trying to compile some fortran code I've written using MPI. I downloaded the openMPI-1.4.1 file from the openMPI website and used the shell script they provide to install it. This is the shell script:

shell$ cd openmpi-1.4.1
shell$ ./configure --prefix=/usr/local
shell$ make all install

There was an additional line extracting the tar file, but I did this by hand. The first time I ran this script there was an error on the final stage saying that a directory couldn't be created because of lack of permission. I decided to run the script again this time as a sudo.

Having run the script again everything appeared to install properly, however when I went to compile some fairly simple code I got a message saying that the compiler couldn't find MPI. I was using this command: gfortran messages.f90 -o messages I looked on the openMPI website where it recommends compiling with a compiler called mpif. However when I type mpif messages.f90 -o messages I get an error message saying mpif isn't a recognized command......

View 2 Replies View Related

Programming :: Compiling Kernel Module In Ubuntu?

Jul 6, 2010

I have just started learning Device driver programming in Linux and am stuck in my first program. Its just to see init_module and cleanup_module calls to use printk and see results using dmesg. program is:

Code:

#define MODULE
#include<linux/module.h>
int init_module(void)

[code].....

View 3 Replies View Related

Ubuntu :: Error While Compiling Xchat

Jan 26, 2010

I am compiling Xchat and when I was 'make install' I get this error and yes I am root.

Code:
make[2]: *** [fe-gtk.o] Error 1
make[2]: Leaving directory `/home/mark/build/xchat-2.8.6/src/fe-gtk'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/mark/build/xchat-2.8.6/src'
make: *** [install-recursive] Error 1

View 3 Replies View Related

Ubuntu :: Getting Error In Compiling RPC Program

Mar 22, 2010

I am trying to compile a simple remote procedure call program. I am getting an error:
/tmp/ccy0M5rT.o: In function 'main':
rpchighlayer.c.text+0x5c): undefined reference to 'rnusers'
collect2: ld returned 1 exit status

Code:
#include <stdio.h>
#include<stdlib.h>
main(argc, argv)
int argc;
char **argv; {
int num;if (argc != 2) {
fprintf(stderr, "usage: rnusers hostname ");
exit(1);
} if ((num = rnusers(argv[1])) < 0)
{fprintf(stderr, "error: rnusers ");
exit(-1);
} printf("%d users on %s
", num, argv[1]);
exit(0); }

View 2 Replies View Related

Ubuntu :: Getting Error While Compiling A C Program / Fix It?

Mar 10, 2010

I got an error that header file sys/ddi.h , did the system is missing something

View 2 Replies View Related

Programming :: Compiling Lex Output As C++?

Apr 6, 2011

Lex's (actually Flex) output contains this:

Code:
#ifdef __cplusplus
extern "C" int yywrap (void );

[code]...

View 8 Replies View Related

Programming :: NASM Compiling With An IDE?

Sep 21, 2010

I am searching for the IDE that can compile and debug a NASM code. I am using ubuntu 10.04 and I can make compile via terminal but I must view registers for educational purposes.

View 4 Replies View Related

Ubuntu Multimedia :: VLC Compiling / Link Error

Mar 10, 2010

I tried to compile the latest VLC as the instruction of [URL]... except that giving configure option '--enable-vaapi' when compiling ffmpeg.But, i got below error messages, and don't know what to do. My system is as follows.

[code]...

View 5 Replies View Related

Debian Programming :: Cross Compiling With Qt

Dec 11, 2014

I am trying to cross-compile my Qt application for armhf on Jessie, so what I did was install qt5-default:armhf, but when I tried running qmake I found out that it contains also an armhf version of qmake so I was not able to run it.Then I installed the amd64 version to have at least a runnable version of qmake, but it was only to find out that qmake contains only hardcoded paths, so I could not use it for the armhf libraries, well I could but I had to run qmake (amd64 version) and afterwards open the makefile and change all paths from amd64 to armhf.

But as this is not so convenient I was wondering if there is a normal way to do this, I know you can compile the source yourself but I had quite a lot of problems with dependencies there. Is it possible with the standard repository binaries or should I just go back to compiling the source myself? Maybe I can compile only the building tools without building all the libraries I already got from the repository.

View 0 Replies View Related

Programming :: Compiling The Library + Application?

Nov 28, 2010

I'm trying to learn how to cross-compile libraries (static and shared) and executables for the Blackfin + uClinux environment.At this point, I can successfully compile a stand-alone "Hello, world" but fail when trying to add a (static) library to the mix.Here's the source code I wrote:

Code:

#========== bar.h
void mytestfunc(void);
#========== bar.c
#include <stdio.h>

[code]...

Googling for this returns talks about "name mangling", but I don't know if this is what it is, and how to change the source/command to solve it.

View 1 Replies View Related

Programming :: Compiling The Poppler Pdf Library?

Jul 29, 2011

I am trying to use the QT4 frontend of poppler library in my application so I need to compile the library.In its main directory ./configure can be run but I got

Code:

checking which font configuration to use... fontconfig
checking for FONTCONFIG... no
configure: error: Package requirements (fontconfig >= 2.0.0) were not met:
No package 'fontconfig' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
and FONTCONFIG_LIBS to avoid the need to call pkg-config.See the pkg-config man page for more details.

I have fontconfig installed (ubuntu):

2.8.0-2.1ubuntu3 (fontconfig)

However I have no idea where those flags are and what to set them to.

View 11 Replies View Related

Programming :: Meaning Of Compiling A Program?

Aug 17, 2010

I have been using gcc to compile C programs.
I want to know what exactly is the meaning of Compiling a C program.
I checked
cc -S prog.c
will give an .S file and if you analyze the hexdump I saw some assembly instructions.
So what does the compiler do which is not required in case of interpreted languages?

View 13 Replies View Related

Fedora :: Error Compiling 2.6.33.2

Apr 7, 2010

I am trying to compile kernel 2.6.33.2 (without problems 2.6.33.1), but i got the following message :

[code]...

View 2 Replies View Related

Debian :: Error Compiling 2.6.33.2

Apr 11, 2010

Im having problem compiling kernel I used these commands

#make menuconfig
#make-kpkg clean
#fakeroot make-kpkg --revision=custom.1.0 kernel_image

[code]...

View 3 Replies View Related

Software :: Error Compiling 2.6.33.2

Apr 9, 2010

My system is a fc 12 using a 2.6.33.1 kernel from kernel.org ... i've prefer compile by myself to get a minimal kernel ( i got a old p4 a 1,6ghz 2gb ram) but i got fedora kernels from updates too I am trying to compile a kernel from www.kernel.org, linux-2.6.33.2 full .. i made the same with 2.6.33.1 and all ok I got kernels from fedora distro (kernel-devel and kernel-headers installed) and kernel.org I dont know why about directory paths and files ... why make finds it? ... i think that linux-2.6.33.2.bz2 include all needed how to configure the install path ? ... if i am using /usr/src/kernels/linux-2.6.33.2 and all bzip2 extracted into it ... i can't see "configure" tool I am trying to compile kernel 2.6.33.2 (without problems 2.6.33.1), but i got the following message :

[code]....

View 5 Replies View Related

Software :: Ns2 Error While Compiling?

Feb 9, 2011

i encountered this problem when compling the tcl code, i am not sure where went wrong, did i miss any library or component?

num_nodes is set 20
INITIALIZE THE LIST xListHead
invalid command name "Agent/UDP/PDP"
while executing
"Agent/UDP/PDP create _o30 "

[Code].....

View 8 Replies View Related

Ubuntu Multimedia :: M650 Driver Compiling Error 2

Sep 11, 2010

I know Ive been a lil redundant, there are a lot that has been said about this cam, some made them work, others not. My point is, I haven't. Once it worked, about 2 years ago, but suddenly after the Jaunty updates it has stopped.

Here is my output from make:

Quote:

View 1 Replies View Related

Ubuntu :: Compiling Driver For First Time Error Installing?

Nov 5, 2010

10.10) now, and only use windows as my DVR (what im currently trying to change). To that end, i have a Hauppauge 2250 video capture card, and Steven at KernalLabs has an alpha release that has been said to work very well with mythTV.

Anyways, i followed one of the posts and successfully compiled the driver using "sudo make menuconfig." I attempted to install with the "make install" command, and the first half of the driver seemed to install and the second half (firmware related) received errors.

make -C firmware install
make[2]: Entering directory `/home/mlavigne/saa7164-v4l/v4l/firmware
Installing firmwares at /lib/firmware: vicam/firmware.fw cp: cannot stat `vicam/firmware.fw: No such file or directory
dabusb/firmware.fw cp: cannot stat `dabusb/firmware.fw: No such file or directory
dabusb/bitstream.bin cp: cannot stat `dabusb/bitstream.bin: No such file or directory
ttusb-budget/dspbootcode.bin cp: cannot stat `ttusb-budget/dspbootcode.bin: No such file or directory

[Code]..

View 3 Replies View Related

Ubuntu :: Error While Compiling Fortran Program With Gfortran

Apr 14, 2011

I've a FORTRAN program that I would like to compile in my machine. I've gfortran installed, so I issue the command: gfortran asc2bin.f write_geogrid.o

but this error are displayed

Code:
asc2bin.f:3.72:
INTEGER isigned,i,j,endian,wordsize,nx,ny,xllcorner,yllcorner,
1
Error: Invalid character in name at (1)

[Code].....

View 1 Replies View Related

Ubuntu Installation :: Sdl-config Error When Compiling DOSbox 0.70?

May 8, 2011

Trying to compile DOSbox version 0.70. Apparently this is the only version that can run Privateer flawlessly.Problem is, when I extract the source and try to './configure', I get an error that SDL 1.2 is not installed.

Code:
anthony@anthony-1010:~/Games/DOS/dosbox-0.70$ ./configure
checking build system type... i686-pc-linux-gnu

[code]....

View 1 Replies View Related

Debian Programming :: LMMS Not Compiling With VST Support

May 22, 2015

I did see another topic on this forum regarding VSTs in LMMS, but it didn't solve my problem. I am running using the 64-bit testing branch of debian, which may be causing some of my problems. I tried compiling LMMS myself, but I ran into an issue with wine when it tried to compile RemoteVstPlugin.

It seems as though wine didn't install winegcc or any other tools like that. After a while, I did manage to find winegcc and some of the other tools in /usr/lib/x86_64-linux-gnu/wine/bin. I decided to add some symlinks in /usr/local/bin to point to winegcc, wineg++, winecpp, and winebuild. After that, it seemed to give a different error message, but still failed to compile. It now gives me the following error:

Code: Select all[ 83%] Generating RemoteVstPlugin
/usr/bin/ld: Relocatable linking with relocations from format elf64-x86-64 (/usr/lib/x86_64-linux-gnu/wine/wine/libwinecrt0.a(exe_entry.o)) to format elf32-i386 (RemoteVstPlugin.Azfbf1.o) is not supported
winebuild: /usr/bin/ld failed with status 1

[Code] ....

I may be missing some dependencies because I couldn't run build-dep without removing skype but I don't think that's the problem. I thought the above problem may have something to do with wine, so I was going to try compiling wine to. I ran into problems with that, and ditched that idea. I really don't know what to do anymore. I can't just disable VST support, because that's why I tried to compile LMMS by myself to begin with!

View 1 Replies View Related

Programming :: Cross-Platform Compiling -m32 Flag

May 14, 2010

I have an odd thing. And thats the following:

I entered: gcc raw.c -m32 -g -static -o raw

And I got:

I installed all bin32 libs I am on a x64 system.

View 6 Replies View Related

Programming :: Basic Cross Compiling Tutorial?

Feb 4, 2010

I have written a program that I would like to cross compile for x86 and x86_64 architectures. I have tried google and the search function here to no success, most information I find is too specific (instructions for a specific program), or dealing with cross compiling for windows on linux.Does anyone know of a tutorial dealing with straight making a 32 bit binary on a 64 bit processor (both are intel)?

View 2 Replies View Related

Programming :: Compiling A C++ Program Using G++ With X86 Settings On X86_64?

Jan 25, 2010

How can I compile a C++ application using g++ with x86 platform settings on a x86_64 machine ? What are the possible negative side-effects of compiling a C++ application with x86 settings on a x86_64 platform ?

View 6 Replies View Related







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