osdir.com
mailing list archive

Subject: Re: Re: [zh-users-discuss] Questions about the zebra in solaris - msg#00082

List: os.solaris.opensolaris.help

Date: Prev Next Index Thread: Prev Next Index
Song,

On 10/19/06, 宋林健 <songlinjian@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi Tao Chen,

When I make zebra in solaris, there emerge some error like that:

/bin/bash: cru: command not found
make[2]: *** [libzebra.a] Error 127
make[2]: Leaving directory `/slj/files/zebra-0.94/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/slj/files/zebra-0.94'
make: *** [all] Error 2

Maybe I don't set the environments right in solaris.The PATH is
/usr/local/bin:/usr/sfw/bin:/usr/sfw:/usr/sbin:/usr/bin.

How should I do?

Which 'make' program are you using? 'which make'
My 'make' is '/usr/ccs/bin/make'. It is not in your path.

I don't know what "cru" is in the first line of error you got:
/bin/bash: cru: command not found

First check if you have '/usr/ccs/bin/make', put /usr/ccs/bin in front
of your PATH and try again.
If it still fails, post the the following part of output from
'./configure' command:

zebra configuration
-------------------
zebra version : 0.94
host operationg system : solaris2.11
source code location : .
compiler : gcc
compiler flags : -g -O2 -Wall
directory for pid files : /var/run

Tao


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

need data file equivalent to dlopen ("/foobar")

All, has the data file equivalent to dlopen("$ORIGIN/../lib/foo.so) been invented already, or is there an SOP that I'm not familiar with for accomplishing this ? what I need is for example "$ORIGIN/../etc/foo.conf" thanks, Pete Lawrence. This message posted from opensolaris.org

Next Message by Date: click to view message preview

Re: Re: [zh-users-discuss] Questions about the zebra in solaris

On 10/19/06, 宋林健 <songlinjian@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote: Hi Tao Chen, I find that cru cmd is used to link *.o files together because before the error message there is one cmd stop the make cmd: cru libzebra.a version.o network.o pid_output.o getopt.o getopt1.o daemon.o print_version.o checksum.o vector.o linklist.o vty.o command.o sockunion.o prefix.o thread.o if.o memory.o buffer.o table.o hash.o filter.o routemap.o distribute.o stream.o str.o log.o plist.o zclient.o sockopt.o smux.o md5.o keychain.o Is there any additional PKG i need to install ? It should be the 'ar' command, e.g. 'ar cru libospf.a ospfd.o ospf_zebra. ...' Again, put /usr/ccs/bin in your PATH. Make sure you have /usr/ccs/bin/make and /usr/ccs/bin/ar. I just reproduced the error by removing /usr/ccs/bin from PATH. Tao

Previous Message by Thread: click to view message preview

need data file equivalent to dlopen ("/foobar")

All, has the data file equivalent to dlopen("$ORIGIN/../lib/foo.so) been invented already, or is there an SOP that I'm not familiar with for accomplishing this ? what I need is for example "$ORIGIN/../etc/foo.conf" thanks, Pete Lawrence. This message posted from opensolaris.org

Next Message by Thread: click to view message preview

Re: Re: [zh-users-discuss] Questions about the zebra in solaris

On 10/19/06, 宋林健 <songlinjian@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote: Hi Tao Chen, I find that cru cmd is used to link *.o files together because before the error message there is one cmd stop the make cmd: cru libzebra.a version.o network.o pid_output.o getopt.o getopt1.o daemon.o print_version.o checksum.o vector.o linklist.o vty.o command.o sockunion.o prefix.o thread.o if.o memory.o buffer.o table.o hash.o filter.o routemap.o distribute.o stream.o str.o log.o plist.o zclient.o sockopt.o smux.o md5.o keychain.o Is there any additional PKG i need to install ? It should be the 'ar' command, e.g. 'ar cru libospf.a ospfd.o ospf_zebra. ...' Again, put /usr/ccs/bin in your PATH. Make sure you have /usr/ccs/bin/make and /usr/ccs/bin/ar. I just reproduced the error by removing /usr/ccs/bin from PATH. Tao
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by