LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unknown partition recovery command in linux ubuntu by using usb (https://www.linuxquestions.org/questions/linux-newbie-8/unknown-partition-recovery-command-in-linux-ubuntu-by-using-usb-4175455331/)

harshil12345 03-24-2013 01:04 AM

unknown partition recovery command in linux ubuntu by using usb
 
hello sir ,

i harshil patel

i want to know how unknown partition recovery command in linux ubuntu by using usb

harshil12345 03-24-2013 01:08 AM

linux ubuntu 12.04 software installation probelm in ns 2.33
 
hello sir

i install ns 2.33 in ubuntu 12.04 LTS then get error like this
ld -shared -o libotcl.so otcl.o
otcl.o: In function `OTclDispatch':
/home/harshil/ns-allinone-2.33/otcl-1.13/otcl.c:495: undefined reference to `__stack_chk_fail_local'
otcl.o: In function `Otcl_Init':
/home/harshil/ns-allinone-2.33/otcl-1.13/otcl.c:2284: undefined reference to `__stack_chk_fail_local'
ld: libotcl.so: hidden symbol `__stack_chk_fail_local' isn't defined
ld: final link failed: Bad value
make: *** [libotcl.so] Error 1
otcl-1.13 make failed! Exiting ...
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems

harshil12345 03-24-2013 01:14 AM

Quote:

Originally Posted by harshil12345 (Post 4917571)
hello sir

i install ns 2.33 in ubuntu 12.04 LTS then get error like this
ld -shared -o libotcl.so otcl.o
otcl.o: In function `OTclDispatch':
/home/harshil/ns-allinone-2.33/otcl-1.13/otcl.c:495: undefined reference to `__stack_chk_fail_local'
otcl.o: In function `Otcl_Init':
/home/harshil/ns-allinone-2.33/otcl-1.13/otcl.c:2284: undefined reference to `__stack_chk_fail_local'
ld: libotcl.so: hidden symbol `__stack_chk_fail_local' isn't defined
ld: final link failed: Bad value
make: *** [libotcl.so] Error 1
otcl-1.13 make failed! Exiting ...
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems

sir

in this site no this type of problem solution so please help me

spiky0011 03-24-2013 03:15 AM

Hi

Did you install all the dependencies???
Have a look here http://nsnam.isi.edu/nsnam/index.php/User_Information

Here it lists dependencies near the end
http://www.isi.edu/nsnam/ns/ns-build.html#allinone

This might help as well http://mayzin.webs.com/howtoinstallns2.htm

fpmurphy 03-24-2013 09:58 AM

Look at line 495 of otcl.c. You should see a reference to `_stack_chk_fail_local'. This function should be defined in libotcl but for some reason is apparently not being defined there. I would check your guard defines to see if they are correct for both otcl.c and the libotcl sources.

harshil12345 03-24-2013 10:54 PM

ns 2.33 problem
 
hello sir
i harshil ,when i run tcl script then i get this type of error so please help me , early reply
nam:
[code omitted because of length]
: no event type or button # or keysym
while executing
"bind Listbox {
%W yview scroll [expr {- (%D / 120) * 4}] units
}"
invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
bind Listbox {
%W yview scroll [expr {- (%D)}] units
}
bind Li..."


All times are GMT -5. The time now is 10:30 PM.