Sponsored Content
Full Discussion: Compiling in Solaris
Top Forums Programming Compiling in Solaris Post 302111721 by jim mcnamara on Thursday 22nd of March 2007 08:43:41 AM
Old 03-22-2007
As a guess, you have header problems - with the "void" thing. The other errors are just from program changes.

Semantics of some calls change - grep for "XOPEN_SOURCE" and "GNU_SOURCE" and "POSIX_SOURCE". Then consult the gcc info page on the solaris box to see what you have set if any of the above are in a "#define" statement.

It would also help A LOT if you posted a few lines of code where the error occurs.
gcc will point on the line number and module name with the problem.
 

10 More Discussions You Might Find Interesting

1. Solaris

Error on compiling php for GD on SOLARIS 10

Hi everyone, I have SUn E250 server running solaris 10. I have installed apache 2 + MySQL + PHP-5.1.4 following the guidelines on this website http://meljr.com/~meljr/AMPSolaris10.html Excellent document for first time installation. Now, because I wanted to use Coppermine Photo Gallery, I... (9 Replies)
Discussion started by: callingrohit
9 Replies

2. UNIX for Advanced & Expert Users

compiling php5 on solaris 9. please help.

I'm trying to compile PHP5. I've installed mysql5 successfully and apache1.3 is working great, but I get the message below when I compile PHP5. I double checked if I have libxml2 installed and I do. I installed libxml2 binary from sunfreeware. Please see below for details: ./configure... (5 Replies)
Discussion started by: xnightcrawl
5 Replies

3. Solaris

Compiling and Running C Program on Solaris

Hello Guys, I am using Solaris Developer Express Edition 9/07, I am a beginner. Please tell me how to compile and execute a C program. Please give me your answers clearly, for the compilers cc,c89,c99. please....... reply to me. I not getting the answer anywhere.. Advance... (2 Replies)
Discussion started by: selva_ss
2 Replies

4. Solaris

Compiling IRSSI on Solaris 10

How does one go aout compiling irssi locally on a fresh installation of Solaris 10, Out put from ./configure m command /download/1rss1-0.8.12 checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for gawk... no checking... (2 Replies)
Discussion started by: FloridaBSD
2 Replies

5. Infrastructure Monitoring

compiling netsnmp on solaris 8

Hello all Currently I am trying to install net-snmp-5.5 on a V480 Solaris 8 machine however things are hardly going smooth. I'm running configure will the following options. ./configure --prefix=/usr/local --with-mib-modules="smux ucd-snmp/diskio ucd-snmp/lmSensors host"... (2 Replies)
Discussion started by: krabu
2 Replies

6. Solaris

problem compiling apache on solaris

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)
Discussion started by: Aelfric
3 Replies

7. Programming

Sun Solaris C++ Compiling Error

Hello. I'm using SunStudio 12 Update 1. When compiling for x86, everything works fine. When compiling for SPARC, I get the following errors. I linked libCstd.so.1 explicitly, but I get the same errors. Would anyone be kind enough to step me through resolving this? Thank you very much. **... (2 Replies)
Discussion started by: acheong87
2 Replies

8. Solaris

Compiling Error in Samba 3.4.1 on Solaris 10

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)
Discussion started by: sathya47
10 Replies

9. UNIX Benchmarks

error compiling bm software under Solaris 10

anyone tried it , under Solaris 10 using make (part of SUNWsprot) and gcc 4.6 compiler.. got an error complaining about the Makefile script syntax... I don't think that's compatible at all... (2 Replies)
Discussion started by: ppchu99
2 Replies

10. UNIX for Beginners Questions & Answers

Compiling automake-1.15 in Solaris 10 SPARC

Hi there. I have unzipped automake-1.15.tar.gz into a directory on my HDD that has Solaris 10 SPARC OS installed inside a SUN/Oracle SPARC server. I can configure automake-1.15 successfully but when I try to compile automake-1.15 using 'make command, I have the following error message.. ... (4 Replies)
Discussion started by: alphatron150
4 Replies
COLORGCC(1)						      General Commands Manual						       COLORGCC(1)

NAME
colorgcc - colorization wrapper for gcc SYNOPSIS
colorgcc [OPTION]... [FILENAME]... DESCRIPTION
colorgcc acts as a wrapper around gcc(1) to ease reading its output by colorizing it. OPTIONS
Since colorgcc is a wrapper around gcc(1), it has the same command line options as gcc(1). USAGE
At your shell prompt, set your CC environment variable to 'colorgcc'. This may be done in several different ways, depending on what shell you use. In a Bourne-compatible shell (bash, ash, zsh, pdksh), type: export CC="colorgcc" In a C shell variant (csh, tcsh), type: setenv CC "colorgcc" Refer to your shell's documentation for more information on setting environment variables. FILES
/etc/colorgcc/colorgccrc System-wide configuration file for colorgccrc. $HOME/.colorgccrc Personal configuration file for colorgccrc. SEE ALSO
gcc(1), colorgccrc(5) HISTORY
Jan 15 2003: Initial version of this manual-page. REPORTING BUGS
Report bugs to <jmoyers@geeks.com> AUTHORS
Jamie Moyers <jmoyers@geeks.com> is the author of colorgcc. This manual page was written by Joe Wreschnig <piman@sacredchao.net>, and modified by David Weinehall <tao@debian.org>, for the Debian GNU/Linux system (but may be used by others). COPYRIGHT
Copyright (C) 2003 Jamie Moyers This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. Jan 15, 2003 COLORGCC(1)
All times are GMT -4. The time now is 03:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy