11-29-2006
C compile error
hello can anyone help?
i make a C code in FreeBSD 5.4 and it succeed to run
the program requires connection to mysql server
when i try to compile it under solaris i get this error message
ld: fatal: file ./lib/libmysqlclient.so: wrong ELF machine type: EM_386
why? and how to solve this problem? thx for any help
10 More Discussions You Might Find Interesting
1. Programming
i tried to compile a c++ file using the g++ command:
g++ <filename>.cpp -out <output_file>
and i received the following error message:
ld.so.1: gcc: fatal: relocation error: file gcc: symbol bindtextdomain: referenced symbol not found
Killed
is it that i am using incorrectly the... (1 Reply)
Discussion started by: ldrojasm
1 Replies
2. Programming
Hi all,
I compile my c program and get following result
hrnpfc01.c:1387: stray '\' in program
hrnpfc01.c:1387: parse error before `,'
hrnpfc01.c:1388: stray '\' in program
hrnpfc01.c:1388: parse error before `,'
hrnpfc01.c:1396: stray '\' in program
hrnpfc01.c:1396: parse error before... (4 Replies)
Discussion started by: zico
4 Replies
3. Programming
Hi unix lovers,
I am getting error while compile a function which uses dlopen.
My code is
I am getting error as follows
Am I missing something? I think I am missing a lot :-)
I am using solaris.
Thanks in advance,
-Ashish (5 Replies)
Discussion started by: shriashishpatil
5 Replies
4. Programming
Dear All
I have a program writen in C and test in Unix. Now, I am try to run this program in windows 2000. I am receiving an error ]_getopt is not define. I will appreciate if any one can help explain to me why this problem is hapening and to slove this problem.
Thank you (9 Replies)
Discussion started by: coulio
9 Replies
5. Programming
i was trying to compile a c program and got the error below. i need help on how to resolve this
$ make -ef putput
`if ; then echo getinf.awk ; else echo getora.awk;fi` EI.sql
`if ; then echo esql -static ; else echo esqlo8i;fi` -O -I. -c EI`if ; then echo .ec; else echo... (4 Replies)
Discussion started by: putput
4 Replies
6. Solaris
Hello!
I am trying install samba 3.5.4. and following this instruction from the source package.
So, there are my steps:
1 cd ../samba-3.5.4/source3
2 ./configure (without any arguments)
and when i run make it returns error
....................................................
Compiling... (2 Replies)
Discussion started by: zhum
2 Replies
7. UNIX for Dummies Questions & Answers
I have just installed OpenBSD on a 333MHz PPC iMac G3. It has a 6GB HDD that has been partitioned as 1GB MacOS 8.5.1, 3GB MacOS X 10.3.9, 2GB OpenBSD 4.8. I now need to install a bootloader so that my computer can recognize the OpenBSD partition at startup. I have been trying to install... (0 Replies)
Discussion started by: t04st3r
0 Replies
8. AIX
Hello,
I am trying to compile PHP 5.3.5 on AIX 5.2 with Apache 2.2.17 and Mysql 3.23.58
Apache und Mysql are working fine but if i try to compile PHP i get this error:
with make:
sapi/apache2handler/php_functions.lo main/internal_functions.lo -lmysqlclient -lfreetype -lX11 -lXpm -lpng -lz... (2 Replies)
Discussion started by: dtiger
2 Replies
9. Ubuntu
Hi
I'm compiling a real-time kernel in linux, but after I type make bzImage things end with this:
(Things going well doing CC and things)....
CC arch/x86/kernel/kgdb.o
CC arch/x86/kernel/vm86_32.o
CC arch/x86/kernel/early_printk.o
CC arch/x86/kernel/ipipe.o... (2 Replies)
Discussion started by: mdop
2 Replies
10. Slackware
Tryng to compile nfs-utils to latest packages but..
make: Entering directory `/tmp/nfs-utils-1.2.8/utils/gssd'
/bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -Wextra -Wstrict-prototypes -pipe -O2 -fPIC -I/usr/kerberos/include -I/usr/kerberos/include -O2 -fPIC -ltirpc -o gssd... (4 Replies)
Discussion started by: Linusolaradm1
4 Replies
LEARN ABOUT CENTOS
ipa-replica-conncheck
ipa-replica-conncheck(1) IPA Manual Pages ipa-replica-conncheck(1)
NAME
ipa-replica-conncheck - Check a replica-master network connection before installation
SYNOPSIS
ipa-replica-conncheck [OPTION]...
DESCRIPTION
When an IPA replica is being installed a network connection between a replica machine and a replicated IPA master machine has to be pre-
pared for master-replica communication. In case of a flawed connection the installation may fail with inconvenient error messages. A common
connection problem is a misconfigured firewall with closed required port on a replica or master machine.
The connection is checked by running a set of tests from both master and replica machines. The program is incorporated to
ipa-replica-install(1) but can be also run separately.
OPTIONS
REPLICA MACHINE OPTIONS
This set of options is used when the connection check is run on a prepared IPA replica machine.
-m MASTER, --master=MASTER
Remote master machine address
-a, --auto-master-check
Automatically log in to master machine and execute the master machine part of the connection check. The following options for
replica part are only evaluated when this option is set
-r REALM, --realm=REALM
The Kerberos realm name for the IPA server
-k KDC, --kdc=KDC
KDC server address. Defaults t MASTER
-p PRINCIPAL, --principal=PRINCIPAL
Authorized Kerberos principal to use to log in to master machine. Defaults to admin
-w PASSWORD, --password=PASSWORD
Password for given principal. The password will be prompted interactively when this option is missing
MASTER MACHINE OPTIONS
This set of options is used when the connection check is run on a master machine against a running ipa-replica-conncheck(1) on a replica
machine.
-R REPLICA, --replica=REPLICA
Remote replica machine address
COMMON OPTIONS
-c, --check-ca
Include in a check also a set of dogtag connection requirements. Only needed when the master was installed with Dogtag 9 or lower.
-h HOSTNAME, --hostname=HOSTNAME
The hostname of this server (FQDN). By default a nodename from uname(2) is used
-d, --debug
Print debugging information
-q, --quiet
Output only errors
EXAMPLES
ipa-replica-conncheck -m master.example.com
Run a replica machine connection check against a remote master master.example.com. If the connection to the remote master machine is
successful the program will switch to listening mode and prompt for running the master machine part. The second part check the con-
nection from master to replica.
ipa-replica-conncheck -R replica.example.com
Run a master machine connection check part. This is either run automatically by replica part of the connection check program (when
-a option is set) or manually by the user. A running ipa-replica-conncheck(1) in a listening mode must be already running on a
replica machine.
ipa-replica-conncheck -m master.example.com -a -r EXAMPLE.COM -w password
Run a replica-master connection check. In case of a success switch to listening mode, automatically log to master.example.com in a
realm EXAMPLE.COM with a password password and run the second part of the connection check.
EXIT STATUS
0 if the connection check was successful
1 if an error occurred
SEE ALSO
ipa-replica-install(1)
IPA
Jun 2 2011 ipa-replica-conncheck(1)