Honestly i'm not much of a code guy but i found some short piece of code over the net which i need to compile in my Solaris machine (in order to change my hostid).
As far as i read - i need to use the gcc to compile this short text file making it an executable file.
My problem is that when ever i tried to comile it - it's giving me some kind of an error related to undefined symbol reference which i have no idea what should i do to fix it !
Here is the code:
When i run the gcc this is what i get:
As i mentioned, i'm not a developer so it might be something related to the C setup\environment on my server.
How can i check\verify everything required for comilng it exist\installed ?
Hi all
I wanted to know does solaris 11 have any place to download patch cross-reference file like solaris 10 (h t t p s://getupdates.oracle.com/reports/patchdiag.xref)? I wanted to use this file to filter out those security patches and use it to check if any of my solaris 11 systems are... (0 Replies)
Hell all
I tryed to build rmp from sources on Solaris 10. I download source code, install gcc, binutils, and other packs с sunfreeware.com.
Doring compilation I got an error:
/bin/bash ./libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -fPIC -DPIC -D_REENTRANT -Wall... (0 Replies)
Hi,
test -d .ssh || mkdir .ssh && chmod 700 .ssh
The command has couple of symbols, could someone redirect me to the link, where i can understand their significance.
Thanks, John (1 Reply)
Hi All,
I am having a code written in C++.First I build this code on SUN 5.10.It was built successfully.Following is the log when build was successful.
-L/apps/compilers/SUNWspro/lib -lm -lsunmath \
-o App
ld: warning: symbol `clog' has differing types:
(file... (0 Replies)
Hi ,
I am installing gcc 3.4.6 on SunOS labcvs001sm 5.9 Generic_117171-07 sun4u sparc
SUNW,Ultra-5_10 . The isa info is 'sparcv'.
I have the following with me
a)gcc-3.4.6.tar
b)gcc-3.4.6-sol9-sparc-local
c)libiconv-1.11-sol9-sparc-local
d) binutils-2.18.tar.gz
e)... (8 Replies)
AIM- Install Oracle 11g on Solaris using VMWare
Steps
1.Logged on as root
2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc
3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD
4.Copied files from CD to /usr/local/bin/gcc
5.Terminal (root) à pkgadd -d... (8 Replies)
is there any good doc which explains the systems command reference manual for sun solaris
for ex: related to memory
disk space
booting
rsh enabling
restarting
LOM etc etc
pls help... (1 Reply)