I have used a new header file named curses.h in my program.when i try to compile my program it shows me the following error "No such path or directory".What may be the problem?A part of the program is shown below
i just grabed a book and wrote a program and tried to compile it using 'javac' and everytime i'm getting this error:
javac Example.java /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crt1.o: In function `_start': /usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'
I have made two source files named as sum.c and average.cI have included sum.c in average.c both files in Documents directory.when i compile average.ot followingerror"average.c:4:22: fatal error: sum.c: No such file or directorycompilation terminated.How to solve this issue?I have tried to copy sum.c to usrinclude folder but unable to copy
I was using my college's unix server (ubuntu presumably) to compile programs in the laboratory. Now, i have installed Opensuse 11.4 with gnome3. I have installed the Developers pattern, and almost all the packages that looked relevant (which came up when i searched for libgc , gcc, and all). Now, i cant compile a program:
Code: /*program to test file I/O and getch/putch functionaliny in gcc*/ #include<stdio.h> int main() { FILE *fi; char ch;
I am trying to connect to the webserver using ftp command and i get the following response. Could not start process Unable to create io-slave: klauncher said: Unknown protocol ''. I also installed filezilla and used it, however it is getting timedout often in about 1 minute. How do i increase the time out or correct the ftp program.
I want to have UNIX or Linux on my laptop but I found that the wireless did not work on all the ones I tried. I have not tried again for over 6 months but don't have the time to experiment. It took me a week straight last time, I tried PCBSD (8.1), Ubuntu, OpenSUSE (11.3), and various others. The laptop was just released then, so I can understand why all the drivers might not have been compatible then.
I am hoping someone else has successfully added a distribution and can tell me which.
LAPTOP: Dell Inspiron M5010 (15R) [not to be confused with Dell N5010, which is the Intel version]
I know of a patch to emulate unix binaries in Linux called ABI. But I have no tutorial or step by step to help me use this patch. I use SuSE Linux server10
my instructor gave me a project in c programming language, the probelem i don't have a c program combiler and i don't have a unix os on my computer, and my knowledge in c program is soo weak i took it years ago, i have this code but it does't compile on Dev-C++ on Windows OS, so if you just help me out with this program:
I am using Opensuse 11.2 on an HP Pavilion laptop. The internal wireless (Broadcom device) quit on me - It is no longer detected at boot so I assume it is dead. No problem since I have a D_Link USB adaptor (DWL-G132). To get it working however I need ndiswrapper. I then installed ndiswrapper 1.55 and the user interface supplied with Opensuse. Problem1- The interface says "The program 'kernel-headers' is missing on your system".
I have checked with Yast and the kernel-headers are installed. Problem2- I have downloaded ndiswrapper 1.55 from Sourceforge.net to attempt the traditional installation method. The 'make' command returns the following message: "Cannot find kernel version in /lib/modules/2.6.31.8-0.1-desktop/build, is it configured?."
I am trying to learn C++ by myself. I just wrote my first code lines but I am unable to compile them, I keep getting "fig15_1.cpp:2: iostream: No such file or directory". I have tried gcc and g++ (both installed in my system) but to no avail. The following is my code
Code: // Entrada/salida en C++ #include <iostream> using namespace std;
I met some problems with installation of Matlab2010a for Unix.My edition of ubuntu is 10.04 and I downloaded an iso file of ubuntu and extract that in this document: /home/edwardli/temp/Mathworks.Matlab.R2010a.UNIX/
when I start to install, it showed :
------------------------------------------------------------------ An error status was returned by the program 'xsetup',the X Window System version of 'install'. The following messages were written to standard error:
For monitoring a network [LAN] I need a single C/C++ program using unix commands to retrieve the username, associated static IP address, what time user logged in, log out, total time system used by user. so that if a system has several users who used it @ different times of the day... then i need details of all users me,time of log in, static IP &all
In a single main() function,so need signal handling. Use Posix Message Queue IPC mechanism , can ignore the priority and other linked list message,to implement the scenario:
I have SUSE Linux 10.1 kernel 2.6.16.21.I copied the source RPM package for the broadcom netxtreme gigabit network adaptor and put it in the location /usr/src/linux as the instructions said. when I try to build it it is looking in the location 2.6.16.21-0.25-smp as you can see from the stdout shown below. So this version of the kernel is obviously 2.6.16.21-0.25-smp but I got the kernel source code for 2.6.16.21 from kernel.org. So the question is how to find the source code for 2.6.16.21-0.25-smp so that the driver will compile.---regards, WER
I have a Rosewill b/g/n wireless USB adapter. I downloaded the source code of the linux driver from Rosewill website. How do I compile the code and then install the driver? I think that I can just type "make" to compile the code, but, how to install the driver after the compilation?
Maybe increase swap space will help? How to do it? When I install suse 11 on this box, I remeber it shows the swap space is 2G, I didn't find it anywhere now...
I sometimes get confused by the varying command line options I need to run common Unix archiving and compression software (e.g. gzip, bzip2, zip, tar).
Is there a program out there that can just Do What I Mean for common cases? For example:
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.
My Fedora 14 have installed gcc-4.5.1-4.fc14.x86_64,qt-4.7.1-5.fc14.x86_64, I don't know how to use g++ to compile QT program. Do I need to set PATH or something else?
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 "); }
i am not able to compile my test program which uses gtkmozembed.As i am very new to this, i dont know which are the packages to be installed and how to compile
I want to cross compile gtk program from linux to arm. I am using ubuntu10.04. How can I cross compile it for arm. I have tried this but this is my output: root@habesh-laptop:~/habesh/gtk# /root/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc -o trail1 base1.c 'pkg-config --cflags --libs gtk+-2.0' cc1: warning: include location "/usr/include/gtk-2.0" is unsafe for cross-compilation cc1: warning: include location "/usr/include/atk-1.0" is unsafe for cross-compilation cc1: warning: include location "/usr/include/cairo" is unsafe for cross-compilation .....