11-01-2005
Hi I downloaded the 1.1.2.1 version which is stable and it shows the same errors as before...
by looking at one of the libraries (libnet-types.h) I found the following:
#ifndef __LIBNET_TYPES_H
#define __LIBNET_TYPES_H
/* Solaris has messed up POSIX nomenclature for these */
#if (__sun__ && __svr4__)
typedef uint8_t u_int8_t;
typedef uint16_t u_int16_t;
typedef uint32_t u_int32_t;
typedef uint64_t u_int64_t;
#endif
#endif /* __LIBNET_TYPES_H */
what does the part in bold mean?? what should I do then to fix this for solaris???
9 More Discussions You Might Find Interesting
1. Programming
Hi all,
how do i compile a c program into a library on solaris
Thanks in advance
Zing (3 Replies)
Discussion started by: zing
3 Replies
2. Programming
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. I not getting the answer anywhere. Please....... reply to me.
Advance thanks......... (0 Replies)
Discussion started by: selva_ss
0 Replies
3. Solaris
Hello,
I'm trying to build scilab 5.0.2 on a Solaris 9 Sparc
After more than one hour of compiling, this error msg appear, what could be the problem? if you need any more info i'm here.
Thanks for your help.
Error msg :... (0 Replies)
Discussion started by: wolfhurt
0 Replies
4. Programming
Can anyone tell me how to compile a c programs on SunSolaris OS 5.1 Version as gcc and cc are not working
Thanks!!!! (4 Replies)
Discussion started by: shivu
4 Replies
5. Solaris
I'm trying to compile tacacs+-F4.0.4.18 on Solaris 10 (sparc based server). It fails during the "./configure" phase with the following error:
checking whether to use libwrap... yes
configure: error: Could not find libwrap. You must first install tcp_wrappers.
I do a have tcpwrappers... (4 Replies)
Discussion started by: pingmeback
4 Replies
6. Solaris
Hello All! I am trying to compile sudo-1.7.2p1 on Solaris 10 (Core Install). I get the follow error when I run "./configure":
checking for grep that handles long lines and -e... configure: error: no acceptable grep could be found in /usr/sbin:/usr/bin:/usr/ccs/bin:/usr/sfw/bin:/usr/xpg4/bin
I... (5 Replies)
Discussion started by: pingmeback
5 Replies
7. Solaris
I have curl compiled into /usr/local. I needed to install another version into /usr/local/curl-7.19.5 and compile php using that directory. I believe I had done that but an ldd run against php shows it is using /usr/local/lib. I have my configure script below showing how it was built and php -i... (1 Reply)
Discussion started by: csgonan
1 Replies
8. Programming
so I am trying to build "directory server 389" on solaris 10.
I am using this as i guide:
389 Directory Server (Open Source LDAP)
I am using solaria studio as my compiler.
I built NSPR with no issues.
the problem is NSS (Network Security Services)
I simply can't find instruction... (0 Replies)
Discussion started by: robsonde
0 Replies
9. Solaris
Hi all :)
I've been given a task to try and upgrade Samba on our legacy Solaris 9 (SunOS 5.9) sparc system. Its currently running samba 3.5.3 but we'd like to try and install 3.6.0 (or 3.6.25) to have minimal protocol smbv2.
When trying to install from source, it appears to configure fine,... (4 Replies)
Discussion started by: jimbob01
4 Replies
LEARN ABOUT CENTOS
umad_set_grh
UMAD_SET_GRH(3) OpenIB Programmer's Manual UMAD_SET_GRH(3)
NAME
umad_set_grh - set GRH fields within umad buffer using host ordering
SYNOPSIS
#include <infiniband/umad.h>
int umad_set_grh(void *umad, void *mad_addr);
DESCRIPTION
umad_set_grh() sets the GRH fields (grh_present, gid, hop_limit, traffic_class, flow_label) within the specified umad buffer based on the
mad_addr supplied. The provided mad_addr fields are expected to be in host order. If the mad_addr pointer supplied is NULL, no GRH is set.
The argument mad_addr is a pointer to an ib_mad_addr_t struct, as specified in <infiniband/umad.h>. The argument umad is a pointer to an
ib_user_mad_t struct, as specified in <infiniband/umad.h>.
typedef struct ib_mad_addr {
uint32_t qpn;
uint32_t qkey;
uint16_t lid;
uint8_t sl;
uint8_t path_bits;
uint8_t grh_present;
uint8_t gid_index;
uint8_t hop_limit;
uint8_t traffic_class;
uint8_t gid[16];
uint32_t flow_label;
} ib_mad_addr_t;
typedef struct ib_user_mad {
uint32_t agent_id;
uint32_t status;
uint32_t timeout_ms;
uint32_t retries;
uint32_t length;
ib_mad_addr_t addr;
uint8_t data[0];
} ib_user_mad_t;
RETURN VALUE
umad_set_grh() returns 0 on success, and a negative value on errors. Currently, there are no errors indicated.
SEE ALSO
umad_set_grh_net(3)
AUTHOR
Hal Rosenstock <halr@voltaire.com>
OpenIB May 24, 2007 UMAD_SET_GRH(3)