I'm trying to do something fairly simple but keep getting frustrating messages..
Here it is:
I have 3 files:
init.h <header>
init.c <#include <curses.h> and "init.h">
main.c <#include "init.h">
now, how can I compile my main.c using gcc?
( I have a hard time making the init.o)
... (1 Reply)
Hello, I have never had a successful compile on the 2.6 kernel. On every arch in which I try to compile gcc I get either "i686-pc-cygwin-ar command not found or "i686-suse-linux-ar command not found. This always happens during the make process after configure checks for ar and finds it's just ar.... (2 Replies)
Sorry for a silly question. I a program that need to compile with -DUSE_LONGLONG to turn on the long Int as the document of that program said so, but I really don't know how to do this. I normally do this:
./configure
make
make install
and it works fine. But I don't know how to compile... (2 Replies)
I just installed gcc from the latest package at sunfreeware.com using pkgadd. I write a simple 'Hello World!' program to test it. I try to compile it and I get this error:
rockstar# gcc hello.c -o hello
ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory
Killed
I... (0 Replies)
Hi
I'm trying to install apache 2.2.14 on Solaris with Openssl. I'm using following configure options:
./configure --prefix=/usr/local/apache2 --enable-ssl --enable-module=so --enable-proxy=shared --enable-proxy-http=shared --enable-proxy-ajp=shared --with-ssl=/usr/local/openssl
... (3 Replies)
People i download the lastest version of samba i`am tryng to compile it in a solaris 9 i'm reading the how to of samba, i am in the first step making the autogen.sh but show me this when i do ./autogen.sh
./autogen.sh: running script/mkversion.sh
./script/mkversion.sh: 'include/version.h'... (0 Replies)
I am using gcc to compile c objects on solaris 5.10 and hit the following error messages:
/usr/include/sys/vfs.h:323: error: syntax error before "statvfs64_t"
/usr/include/sys/vfs.h:334: error: syntax error before "statvfs64_t"
gmake: *** Error 1
The c program files were copied over from... (3 Replies)
Hi guys.
I want to compile three files:
gcc -static main.c fib.c fib.h
it is pure C i mean i use standard C library.
but it gives me this error:
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
what should i do? (4 Replies)
Hi all,
I am getting the following error While installing Samba 3.4.1 on Solaris 10.
#./autogen.sh
./autogen.sh : autoheader : not found
./autogen.sh : test : argument expected
Please help me as I am in a critical state of the project.
Warm regards,
Sathya (10 Replies)
Following this guide for Solaris 9.
Updated it for the nspr-4.6.4 and nss-3.11.4.
Here is my configure command in the mod_nss 1.0.8 dir:
./configure --with-apxs=/usr/local/apache2/bin/apxs --with-nss=/usr/local/nss-3.11.4/ --with-nspr=/usr/local/nspr-4.6.4/
And here is the error... (2 Replies)