Programming :: Gdb: "classname Does Not Have Any Method Named"?

Jun 20, 2010

Programming in C++ on Fedora 13, I have a console app with code spread throughout a half dozen files.Debugging with gdb, I want to list the code from a class-member function so, at the gdb prompt I type: list 'classn and when I press <tab>, gdb completes the classname for me: list 'classname Next, I add the scope resolution operator and then type the first few characters of the function name and again press <tab>. gdb completes the function name and adds on the parameters list and even puts the final single-quote at the end of the line:list 'classname::functionname(paramater list...)'

...but when I press enter I get an error message stating that "classname does not have any method named functionname" which seems like a strange complaint considering that gdb did most of the typing.

Similarly, trying to set a breakpoint at the top of this function yields this:"Make breakpoint pending on future shared library load?" As an aside: I am compiling all units with the -gstabs flag ( plain ol' -g didn't seem to get the job done.)

View 1 Replies


ADVERTISEMENT

Software :: File /var/lib/named/var/named/reverse/named.zero Failed: File Not Found

Mar 14, 2009

Mandriva 2009, BIND 9.5.0-P2. Named will start however I'm getting the above error as well as these:

14-Mar-2009 15:45:37.084 general: error: zone 0.in-addr.arpa/IN: loading from master file /var/lib/named/var/named/reverse/named.zero failed: file not found
14-Mar-2009 15:45:37.084 general: error: zone 0.0.127.in-addr.arpa/IN: loading from master file /var/lib/named/var/named/reverse/named.local failed: file not found

[code].....

Named shows to be running but with the errors above I know it's not running correctly. I also copied the above dir's over to /var/lib/named/var/lib/named which is where I 'believe' it's chroot'd at, though I could be wrong since I'm unfamiliar with chroot.

View 14 Replies View Related

Server :: /etc/named.conf:57: Open: /etc/named.root.hints: File Not Found

Apr 1, 2011

I am using Cent OS 5.5 and i want configure DNS, but while configuring bind i am getting below error.

#/etc/init.d/named restart Stopping named: [ OK ]
Starting named:
Error in named configuration:
/etc/named.conf:57: open: /etc/named.root.hints: file not found[FAILED]

View 2 Replies View Related

Programming :: Read From A File Named MatrixA?

Mar 10, 2011

I am trying to read from a file named matrixA.dat that contains a matrix formatted like this:

2 x 3
1 0 2 -1 3 1

I am reading the lines in, and this is the source that I have so far: Code: #include <stdio.h>
#include <string.h>
#define DATALIMIT 17
#define DIMLIMIT 5
#define NAMELIMIT 40

[Code]...

was stored in dataA, so when I print it all I get is a newline. Why didn't it grab the 1 0 2 -1 3 1 line?

View 3 Replies View Related

Programming :: Named Hints Update Script?

Mar 27, 2011

I need help getting this bourne shell script working properly. This script I found online while reading some tutorials on getting a caching name server running, which is supposed to update the rootserver hints file.

The below case statement always returns that the hints file has failed. Even though when I check the file it looks normal and I can see the NOERROR status in the returned header.

Code: dig (at)e.root-servers.net . ns >root.hints.new 2> errors
case `cat root.hints.new` in
*NOERROR*)
# It worked

[Code]..

View 2 Replies View Related

Programming :: ImportError: No Module Named Mx.DateTime.ISO

Sep 9, 2010

In Python 2.6.5, I could import from mx.DateTime.ISO import ParseDateTimeUTC With 2.7 I cannot.Here is the error. My module util_lib contains the import noted above.

File "util_lib.py", line 46, in <module>
from mx.DateTime.ISO import ParseDateTimeUTC
ImportError: No module named mx.DateTime.ISO

What changes do I need to make, to import on pre-2.7 and 2.7?

View 2 Replies View Related

Programming :: Difference Between Message Queues And Named Pipes

Mar 1, 2011

recently I had been to interview where I had a question to be answered, that what are advantages and disadvantages when desiging an application in linux.

View 1 Replies View Related

Programming :: Xdg-open: No Method Available For Opening?

Jun 30, 2011

I am not a programmer. But I feel safe enough to edit a file (afteracking it up of course.)I am using Arch with Enlightenment (E17.) I installed fwbuilder. Now when I click on the tutorial button it would not start my browser at all. The terminal gave this error;

Code:
/usr/bin/xdg-open: line 478: firefox: command not found
/usr/bin/xdg-open: line 478: mozilla: command not found

[code]....

View 2 Replies View Related

Debian Programming :: Import Error / No Module Named Eyed3

Dec 10, 2013

I have installled eyeD3. It works on the commandline (bash). But I want use it in python3.

I did get this error:

Code: Select all>>> import eyed3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named eyed3

Why cant I use this module for reading and writing tag information to mp3 files?

View 4 Replies View Related

Programming :: Bash: Populate A List Of Arbitrarily Named Files?

Mar 14, 2010

How to build a list of files under a directory that may have any permissible characters in the name, that is anything except NUL? The only possible (?) bash data structure to contain a list of such names is an array because NUL cannot be used as a list item separator so no X-separated list can safely be used; there is no "X" that might not be part of a file name. OK -- but how to populate such an array? Here's what I've tried.

Code:

#!/bin/bash
# Set up test files
dir=$(mktemp -d "/tmp/${0##*/}.XXXXXX")
touch $dir/foo $dir/bar

[code].....

View 10 Replies View Related

Programming :: Orrect Command To Create A Named Pipe File?

Apr 22, 2010

My question deals with me creating a name pipe (file) in the my /group directory called chat.I then have to write a script to read from the named pipe and save data into a file called chat.log until the words End of File are passed to the program.

-When I created the named pipe file (chat) I used the mknod chat p command..Is this the correct command to create a named pipe file? -Then I'm having trouble with my script and how to make it run until the words End of File are entered in. This is what I have so far.

View 6 Replies View Related

Programming :: Encrypt A Text Using Rsa Encryption Method?

Jul 8, 2010

I want to encrypt a text using rsa encryption method. I did it using command openssl but i want it using my library api, the library api is as, int rsa_calc (unsigned char * msg, unsigned char * mod, int count, int exp, unsigned char result); I can't understand how i input public key (.pem file) and what will be the modulus (unsigned char * mod) and exponent (int exp) for any text.Is there any kind of formula to calculate modulus and exponent of the text.

View 2 Replies View Related

General :: ARM Multicore Programming And Its Compilation Method ?

Apr 8, 2010

I wish to know that which gcc release version had support on ARM 9 multicore system by using pthread library for its parallelizing method on ecos rtos.I assume that the compiler that support the single ARM 9 processor will surely compile its multicore version also.But i need a clarification about it.It is good if you give a article or provide a suitable link on the ARM multicore programming and its compilation method

View 1 Replies View Related

Programming :: Bash Read Method 'defaults'?

Mar 28, 2011

I have a script that will ask the operator to specify whether the script should fetch the bits via FTP or SCP:

Code:
# Specify transfer method
echo "[setup]: Please specify file transfer method [ftp] or [scp]:"

[code]....

View 2 Replies View Related

Programming :: POST Method And PHP - Login Verification

Mar 20, 2010

I wrote a code for login verification..I got output with GET. But I need output with POST since it is more secure. Any error in my code.

javascript code:
var xml;
function verifyusernamepasswd(pass)
{ //pass is password that will be passed as parameter
xml=new XMLHttpRequest();
var url="http://localhost/loginvalidate.php";
var para="q="+username+"&p="+pass;//username is global
xml.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xml.setRequestHeader("Content-length", para.length);
xml.setRequestHeader("Connection", "close");
xml.open("POST",url,true);
xml.onreadystatechange=statechanged1;
xml.send(para);
} .....

The verification does not return anything, cos my alert is not displayed at all.

View 1 Replies View Related

Programming :: Sequencing With Raising A Signal Method?

Mar 4, 2010

I was trying to program using fork(). The objective of this code is to

1. I am activating a process A - SubSuctionMotors.
2. Process A is going to stop with either of this condition
a) Switch is activated - swret=1
b) Time allowed has expired
3. Stop the process A.

[Code]...

1. We purposely force the switch to be inactive to test the child process (timer), whether after 2 seconds the motor stop. It turns out to be successful in first few attempts. After some while, the program hang, nothing is executed anymore and the program is not exit or terminated. What can cause the program to hang?

2. We tried to stop motor by switch activation (if the switch is to be successfully activated, the time it takes will always be shorter than the timer allowed time). However, the program did not seems like noticing the switch has been activated, and it just stop the motor according to timer. Why it behave this way?

View 4 Replies View Related

Programming :: Trace The Method Calls In Java During Runtime?

May 12, 2009

how can I trace the method calls in Java during runtime?

View 1 Replies View Related

Programming :: Preferred Method For Obtaining Harvard Style Referencing In LaTeX Document?

Mar 30, 2011

What is the preferred method for obtaining Harvard style referencing in a LaTeX document?

View 1 Replies View Related

CentOS 5 Server :: Named Won't Start \ Named Stop But Does Not Start Again?

Oct 28, 2009

i've made a big update of almost 300Mb.I'had a working DNS server.Now, when i boot the box, named works and it resolves all the clients.If i make any change (enter a new client for example) and of course i restart named (service named restart), named stop but does not start again !!!In order to get a working named, i 'm obliged to reboot the box?

View 6 Replies View Related

Programming :: Can't Call Method "prepare" Without A Package Or Object Reference?

Oct 4, 2010

I have the following code in the TCP server:Quote:

while (my $from_who = accept(CLIENT_SOCK, TCP_SOCK)) {
my $data = '';
#my $previous = select CLIENT_SOCK;

[code]...

View 5 Replies View Related

CentOS 5 :: How To Add A Named.log To /var/log

Aug 5, 2009

I'm trying to separate DNS log entries from messages and have them write to their own log file "named.log". I'd like this file to end up as /var/log/named.log

View 1 Replies View Related

Fedora :: /etc/named.d Directory ?

Jul 17, 2011

I'm reading up on some DNS and this section mentioned a /etc/named.d directory. I can't seem to find it - i have bind installed and i've searched on this directory, and the only realistic mention of it is from a post in a blog from 2001. I'm working in a FC12 environment...

View 1 Replies View Related

General :: Can't Scp A Named Pipe?

Aug 2, 2011

I am trying to encrypt a file on-the-fly, redirecting the output to a named pipe [fifo]. I SSH into my server and run the command:mcrypt -k key < file > named_pipethen from my laptop I try to scp it:$ scp me@server:~/dir/named_pipe d it says scp:users/home/me/dir/named_pipe: not a regular file

View 1 Replies View Related

Debian :: Why Is Freetype2 Named/known As Libfreetype6

Jan 15, 2011

Why is freetype 2 put up as libfreetype6 ? What's the history/reasons behind the same ? This is the way it looks in my shell.

$ aptitude show libfreetype6
Package: libfreetype6                   
State: installed
Automatically installed: yes

[code]....

I am simply not getting it . Also would it mean that in future, freetype 3 (whenever that becomes/happen) it would be named as libfreetype7 or what ?

View 3 Replies View Related

Fedora :: Unwanted Process Named Ɖ'?

May 11, 2010

I've got a few processes running on my machine called simply '3'. I don't know what they are or where they have come from but all I know is that I don't want them there. I have to periodically type killall 3. This is the output from top, all processes listed are of this '3' type.

4804 tom 20 0 3356 752 656 R 2.3 0.0 3:40.75 3
4837 tom 20 0 3356 748 656 R 2.3 0.0 2:55.98 3
4844 tom 20 0 3356 752 656 R 2.3 0.0 2:50.06 3

[code]....

View 3 Replies View Related

OpenSUSE Install :: Box Is Being Named Automatically?

Feb 12, 2010

We have a MS Windows domain in our school. Some time ago, when I was toying with an earlier version of Opensuse, I joined a box to our domain. I am trying 11.2 now, and my box is box is being named automatically, to what I named the previous box (which is long gone). I guess this is an issue with my Windows domain controller, but I'm not sure what to do about it. The domain controller is running Windows Server 2008 Enterprise.

View 4 Replies View Related

OpenSUSE Network :: Named Takes 200% CPU

Jan 18, 2010

I am running opensuse 11.0 on Intel Quad computer. A month ago I have installed DNS service on it.

Since then I have a following problem - sometimes named starts eating 200% of CPU and that causes LAN to hang down. Everything goes normal after named restart.

View 9 Replies View Related

General :: Named Service Not Being Functional

Oct 11, 2010

One of the dedicated servers that I have does not seem to have the service 'named' functional:
root@server2 [~]# service named start
Locating /var/named/chroot//etc/named.conf failed: [FAILED]

Note that the double slashes (//) ARE part of the output as well as the long gap before [FAILED] appears. This 'named' service not being functional is not a problem which is preventing the server / the application on it from working. There are entries in /etc/resolv.conf though.

View 1 Replies View Related

Red Hat / Fedora :: Cannot Find The Named.conf

Mar 14, 2011

I have Red-Hat 5.6 , bind package and chroot installed, but i did not find the file named.conf in /etc !!!

View 3 Replies View Related

Server :: Named Not Responding To Queries

Feb 23, 2010

My DNS server used to work flawlessly but for some reason it no longer responds to queries. It seems that named always queries internet root serves!!

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved