04-08-2010
The error is letting you know it cannot get to the server by the name that was given. This is an error in name resolution (DNS or Hosts lookup), as the error mentions. Check your repos file and see if you can ping or trace route to the host.
9 More Discussions You Might Find Interesting
1. Solaris
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)
Discussion started by: Ackers
8 Replies
2. Linux
Hi,
I am building GCC cross compiler for x86_64-elf
for that a have followed steps,
1. mkdir build-gmp build-mpfr
2. cd build-gmp
3. ../gmp-4.2/configure --prefix=/usr/local
4. make all install
5. make check
6.cd ../build-mpfr
7. ../mpfr-2.3.2/configure... (5 Replies)
Discussion started by: Mandar123
5 Replies
3. Linux
Hi,
I am tried to install GCC cross compiler for 64-bit machine.
i want compile one application for 64 bit machine.
I have followed steps form GCC Cross-Compile - OSDev Wiki .
Please if anybody have installed cross compiler successfully, please tell me the steps followed by you.
Thanking... (0 Replies)
Discussion started by: Mandar123
0 Replies
4. SuSE
Hi All
I want to create build machine for three architecture (i386, amd64 and ia64) on 32bit machine on OpenSUSE 10.0
I installed:
cross-i386-gcc-icecream-backend-4.3.1_20080507-7.1
cross-i386-binutils-2.18.50.20080409-12.1
cross-x86_64-gcc-icecream-backend-4.3.1_20080507-7.1... (0 Replies)
Discussion started by: Kolesar
0 Replies
5. Red Hat
Building a ppc476 enabled GCC cross compiler and tool chain
Hello,
I am trying to build a cross GCC compiler for PPC476.
I applied all the relevant patches. Cross compiler build was successful.
When i try to compile the source code using the cross compiler i am getting the below error... (0 Replies)
Discussion started by: raghuhb
0 Replies
6. UNIX for Advanced & Expert Users
Building a ppc476 enabled GCC cross compiler and tool chain
Hello,
I am trying to build a cross GCC compiler for PPC476.
I applied all the relevant patches. Cross compiler build was successful.
When i try to compile the source code using the cross compiler i am getting the below error... (1 Reply)
Discussion started by: raghuhb
1 Replies
7. Linux
Building a ppc476 enabled GCC cross compiler and tool chain
Hello,
I am trying to build a cross GCC compiler for PPC476.
I applied all the relevant patches. Cross compiler build was successful.
When i try to compile the source code using the cross compiler i am getting the below error... (1 Reply)
Discussion started by: raghuhb
1 Replies
8. UNIX for Dummies Questions & Answers
hi,
can we install gcc compiler in unix based OS(sun solar,IBM AIX,HP,etc) and also
can we install sun cc compiler in AIX environment and vice versa.
and more ..is linux support cc compiler
regards
Ajay (3 Replies)
Discussion started by: ajaysahoo
3 Replies
9. Programming
recently i was been to an interview to an automotive company, they have posed me a question that what section of compiler must be changed if the target is changed.
ie,if ur compiler is meant for generating executable to a 8051 target what changes do you do to make it flexible to generate the... (2 Replies)
Discussion started by: shyam.sunder91
2 Replies
LEARN ABOUT LINUX
net_adm
net_adm(3erl) Erlang Module Definition net_adm(3erl)
NAME
net_adm - Various Erlang Net Administration Routines
DESCRIPTION
This module contains various network utility functions.
EXPORTS
dns_hostname(Host) -> {ok, Name} | {error, Host}
Types Host = atom() | string()
Name = string()
Returns the official name of Host , or {error, Host} if no such name is found. See also inet(3erl) .
host_file() -> Hosts | {error, Reason}
Types Hosts = [Host]
Host = atom()
Reason = term()
Reads the .hosts.erlang file, see the section Files below. Returns the hosts in this file as a list, or returns {error, Reason} if
the file could not be read. See file(3erl) for possible values of Reason .
localhost() -> Name
Types Name = string()
Returns the name of the local host. If Erlang was started with the -name command line flag, Name is the fully qualified name.
names() -> {ok, [{Name, Port}]} | {error, Reason}
names(Host) -> {ok, [{Name, Port}]} | {error, Reason}
Types Name = string()
Port = int()
Reason = address | term()
Similar to epmd -names , see epmd(1) . Host defaults to the local host. Returns the names and associated port numbers of the Erlang
nodes that epmd at the specified host has registered.
Returns {error, address} if epmd is not running. See inet(3erl) for other possible values of Reason .
(arne@dunn)1> net_adm:names().
{ok,[{"arne",40262}]}
ping(Node) -> pong | pang
Types Node = node()
Tries to set up a connection to Node . Returns pang if it fails, or pong if it is successful.
world() -> [node()]
world(Arg) -> [node()]
Types Arg = silent | verbose
This function calls names(Host) for all hosts which are specified in the Erlang host file .hosts.erlang , collects the replies and
then evaluates ping(Node) on all those nodes. Returns the list of all nodes that were, successfully pinged.
Arg defaults to silent . If Arg == verbose , the function writes information about which nodes it is pinging to stdout.
This function can be useful when a node is started, and the names of the other nodes in the network are not initially known.
Failure: {error, Reason} if host_file() returns {error, Reason} .
world_list(Hosts) -> [node()]
world_list(Hosts, Arg) -> [node()]
Types Hosts = [Host]
Host = atom()
Arg = silent | verbose
As world/0,1 , but the hosts are given as argument instead of being read from .hosts.erlang .
FILES
The .hosts.erlang file consists of a number of host names written as Erlang terms. It is looked for in the current work directory, the
user's home directory, and $OTP_ROOT (the root directory of Erlang/OTP), in that order.
The format of the .hosts.erlang file must be one host name per line. The host names must be within quotes as shown in the following exam-
ple:
^ (new line)
Ericsson AB kernel 2.14.3 net_adm(3erl)