01-06-2012
1) each .c file:
gcc -c *.c (* - name of the file)
I receive .o files - no problems.
2) then
gcc client.o mlt_clnt.o mlt_xdr.o -o client -lnsl
Ofcourse before using gcc I use rpcgen:
rpcgen mlt.x
8 More Discussions You Might Find Interesting
1. Programming
Hi,
I am trying to create a CLIENT handle in RPC on Solaris. I am calling the following function
CLIENT *clnt = clnt_create(host, prognum, versnum, nettype);
However If I call this in main it seems to work but if I call this function in any other function it fails with a segmentation... (1 Reply)
Discussion started by: pic
1 Replies
2. Linux
Hi,
my problem is that I am not able to grand the nfs directory on a Fedora 7 server to a standard solaris client.
I always got the messages no permission.
Important: No change on the client (Solaris) is possible! So I am not able to change the NFS Version on the client side to force the... (3 Replies)
Discussion started by: joerg
3 Replies
3. Programming
Problem
- Linux Client/Server Socket Application: Preventing Client from quitting on server crash
Hi,
I am writing a Linux socket Server and Client using TCP protocol on Ubuntu 9.04 x64.
I am having problem trying to implement a scenario where the client should keep running even when the... (2 Replies)
Discussion started by: varun.nagpaal
2 Replies
4. Solaris
C: Rpcbind failure - RPC: Timed out error (solaris)
hello an nfs server on my sun fire v440 is not responding , i get the error bellow and lots of my networking services are not reponding, please helppppp its an emergency
RPC: Rpcbind failure - RPC: Timed out
i also get
NFS server... (2 Replies)
Discussion started by: feg
2 Replies
5. Solaris
Hi folks,
I am attempting to setup a Solaris 10 syslog server to receive logs from linux machines. Here's what I did:
On the server (SunOS sun226 5.10), IP address: 192.168.212.226:
1. start syslogdby issuing $/usr/sbin/syslogd -T
On a client (SunOS sun221 5.8):
1. Configured... (1 Reply)
Discussion started by: kimurayuki
1 Replies
6. Red Hat
Hello,
I was having few issues on my linux box, I am getting this error whenever I tried to mount a share on a client linux host.
# mount -t nfs 10.10.4.150:/data/pops_sva /mnt
mount: mount to NFS server '10.10.4.150' failed: RPC Error: Program not registered.
#
I see the error and I... (4 Replies)
Discussion started by: bobby320
4 Replies
7. Solaris
How do i install ldap server and client in solaris server
how to configure ldap server and client
please help me (1 Reply)
Discussion started by: ainstin
1 Replies
8. Solaris
Hi,
We just built a new Solaris 10 zone. And would like to add it to our DNS server. Its also Solaris 10. Please let me know how can I get the IP resolved using this DNS server. I added entry into zone config file but not working. I did restarted the DNS services. And also added nameserver name... (5 Replies)
Discussion started by: snchaudhari2
5 Replies
LEARN ABOUT NETBSD
genassym.cf
GENASSYM.CF(5) BSD File Formats Manual GENASSYM.CF(5)
NAME
genassym.cf -- assym.h definition file
DESCRIPTION
The genassym.cf file is used by genassym(1) to make constant C expressions known to assembler source files. Lines starting with '#' are dis-
carded by genassym(1). Lines starting with include, ifdef, if, else or endif are preceded with '#' and passed otherwise unmodified to the C
compiler. Lines starting with quote get passed on with the quote command removed. The first word after a define command is taken as a CPP
identifier and the rest of the line has to be a constant C expression. The output of genassym(1) will assign the numerical value of this
expression to the CPP identifier. export X is a shorthand for define X X. struct X remembers X for the member command and does a define
X_SIZEOF sizeof(X). member X does a define X offsetof(<last struct>, X). config <ctype> <gcc constraint> <asm print modifier> can be used
to customize the output of genassym(1). When producing C output, values are casted to <ctype> (default: long) before they get handed to
printf. <gcc constraint> (default: n) is the constraint used in the __asm__ statements. <asm print modifier> (default: empty) can be used to
force gcc to output operands in different ways then normal. The "a" modifier e.g. stops gcc from emitting immediate prefixes in front of con-
stants for the i386 and m68k port.
FILES
/usr/src/sys/arch/${MACHINE}/${MACHINE}/genassym.cf
SEE ALSO
genassym(1)
HISTORY
The genassym.cf file appeared in NetBSD 1.3.
BSD
August 18, 2005 BSD