[indiana-discuss] Do not set the PATH in interactive session startup scripts (~/.bashrc, /etc/bash.bashrc, ~/.kshrc, /etc/ksh.kshrc) ... / was: Re: build ON failed on test image
Roland Mainz
roland.mainz at nrubsig.org
Sun Jun 1 06:40:16 PDT 2008
Moinak Ghosh wrote:
> On Sun, Jun 1, 2008 at 5:46 PM, Li Qin <Mikore.Li at sun.com> wrote:
> > I absolutely encountered the same issue in a mercurial managed gate under OpenSolaris-2008.05, when I do "make all" under $GATE/usr/src/uts direcotry. Except SUNWhea package, I think I have installed all necessary packages.
> >
> > I'd like to know what is missing... can anyone help?
> >
> > Undefined first referenced
> > symbol in file
> > __dtrace_probe_netstack__create__start ../../intel/genunix/obj64/libgenunix.so
> > __dtrace_probe___cpu_vminfo_pgpgin ../../intel/genunix/obj64/libgenunix.so
> > __dtrace_probe___cpu_vminfo_pgrrun ../../intel/genunix/obj64/libgenunix.so
> > __dtrace_probe___cpu_vminfo_pgfrec ./obj64/unix.o
> > __dtrace_probe_taskq__d__exec__start ../../intel/genunix/obj64/libgenunix.so
> > __dtrace_probe___cpu_sysinfo_pswitch ./obj64/unix.o
> > __dtrace_probe___cpu_sysinfo_procovf ../../intel/genunix/obj64/libgenunix.so
> > __dtrace_probe___sched_cpucaps__sleep ../../intel/genunix/obj64/libgenunix.so
> > __dtrace_probe_tx__tndb__l4__tnrhtp__tndbget ../../intel/genunix/obj64/libgenunix.so
> > __dtrace_probe___cpu_vminfo_swapin ../../intel/genunix/obj64/libgenunix.so
> > __dtrace_probe___sched_off__cpu ./obj64/unix.o
> > __dtrace_probe___sched_wakeup ../../intel/genunix/obj64/libgenunix.so
> > __dtrace_probe_tx__tndb__l4__tnrhtp__tndbdelete ../../intel/genunix/obj64/libgenunix.so
> > ..........(ignored)
>
> Edit your PATH and remove /usr/gnu/bin before starting the build.
BTW: Can anyone please file a bug to stop setting variables like PATH in
interactive session startup scripts like ~/.bashrc and ~/.kshrc ? These
files are for stuff to set shell flags, local shell functions, local
variables etc. but should _not_ be used for setting PATH&co. since these
are usually exported globally to other process children (because they
are executed for each interactive shell session - which overrides the
values set of "bldenv"&co.) - that's the job of ~/.profile and
/etc/profile.
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 7950090
(;O/ \/ \O;)
More information about the indiana-discuss
mailing list