Software :: Readconf.c:489: Error: LONG_MIN Undeclared (first Use In This Function)
May 19, 2010
I hope to get your suggestions to solve my problem. I install Ubuntu8.10 in my notebook last week.I should install drcom-1.4.7 to get through to the internet,while i tried many times but failed like this:
make[1]: Leaving directory `/home/lf/drcom-1.4.7/drcomd'
make[1]: Entering directory `/home/lf/drcom-1.4.7/kmod'
make -C /lib/modules/2.6.27-7-generic/build M=/home/lf/drcom-1.4.7/kmod modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
[code]....
kernel cannot support the drcom version.so i tried to install drcom-1.4.4,but problem also occured:
readconf.c: In function __parseopt:
readconf.c:489: error: LONG_MIN undeclared (first use in this function)
readconf.c:489: error: (Each undeclared identifier is reported only once
readconf.c:489: error: for each function it appears in.)
[code]...
View 3 Replies
ADVERTISEMENT
Apr 20, 2010
I'm learning how to program kernel drivers, and I'm making a hello world module for that. But I can't find the cause of some errors... My module as three files:
test_regulator.c: Code: /*test_regulator.c
2 */
3 #include <linux/test_regulator.h>
4 #include <linux/module.h>
5 #include <linux/kernel.h>
6 #include <linux/regulator/driver.h>
code....
I don't understand, because I had declared the test_regulator_driver.
View 2 Replies
View Related
May 29, 2011
I've trouble compiling libeio on my openSUSE 11.4 x86_64:
[Code]...
View 9 Replies
View Related
Jul 8, 2010
i have to find time in nanosecond of a particular process and for that i am using clock_gettime() function.i tried different codes i got from net but getting same error Quote:error: �CLOCK_PROCESS_CPUTIME_ID� undeclared (first use in this function)i have included relavent header file of time also. and complied the whole code that i got from net. that was working fine and giving output. but when i use some of the relavent code that i need it gives me this error. plz tell me am i missing something aur using the code in a wrong way?heres my code!
Code:
#include <stdlib.h>
#include <sys/sysinfo.h>
[code]....
View 9 Replies
View Related
Oct 27, 2010
i'm trying to install php zip extension through pecl, issuing the following command pecl install zip but i'm getting the following error:
[code]...
View 3 Replies
View Related
Jun 8, 2011
I have installed php-devel successfully prior to go with the installation (yum install php-devel). Here is what I did;
1.wget "url
2.tar xjvf ffmpeg-php-0.6.0.tbz2
3.cd ffmpeg-php-0.6.0
4.phpize
5../configure
6.make
7.make install
code....
View 7 Replies
View Related
Oct 27, 2010
I got some error in make
Code:
bash-4.1# ./configure
checking for a BSD-compatible install... /bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
[code]....
View 14 Replies
View Related
Jun 9, 2010
i have written file transfer program using libcurl.
#include <stdio.h>
#include <curl/curl.h>
#include <curl/types.h>
[code]....
View 1 Replies
View Related
Jan 10, 2010
I have a program with a variable named current, but it is not declared. The syntax is current -> othervariable. Theoreticaly there should be no problem with this program. Just wondering what woudl cause this? Which linux include file is current supposed to be declared in?
View 2 Replies
View Related
Aug 29, 2010
i m doing a program to open a file, however, there is error saying that 'File' undeclared. but I thought File is a type like int or char, isnt it? below is my codes:
Code:
#include "mpi.h"
#include <stdio.h>
#include <math.h>
[code]...
i have been make the statement with error in red color.
View 2 Replies
View Related
Nov 18, 2010
I tried to load a simple driver program. I am using RHEL5. When I tried to compile my 'driver.c' program it shows the following error:
[root@jameslee ~]# gcc -c device.c
device.c:1:25: error: linux/module.h: No such file or directory
device.c: In function 'init_module':
device.c:6: error: 'KERN_INFO' undeclared (first use in this function)
device.c:6: error: (Each undeclared identifier is reported only once
device.c:6: error: for each function it appears in.)
device.c:6: error: expected ')' before string constant
device.c: In function 'cleanup_module':
device.c:12: error: 'KERN_INFO' undeclared (first use in this function)
device.c:12: error: expected ')' before string constant
View 9 Replies
View Related
Nov 11, 2010
I have been trying to build a file called main.cpp through my make file which is in Linux.
There are functions like
Which are being called. I have included all the necessary headers and also have included the necessary lib.a files in the make file as below:
I am still getting the below error. I use make -j makefile.mak clean all command to make the build.
View 1 Replies
View Related
Jul 23, 2010
I have to unzip only files in zipped folder in current directory by c program. For that I am using system() function. This function returns zero.
when I write system("unzip -jo /storage/conf.zip") but folder will not be unzipped. Same will be successful if tried on command line.
View 1 Replies
View Related
Oct 29, 2010
I have taken into count spacing of functions as a reason for not working. Can you get this function to work on your machine?
quickfind () { find . -maxdepth 2 -iname "*$1*" }
It does not print the retired output but find . -maxdepth 2 -iname "*$1*" does work. What is wrong?
quickfind () { f
ind . -maxdepth 2 -iname "*$1*" ; }
If I run this from the command line I don't get an error but no output? I am not running this inside a script but from the command line. I want to be able to run any function () from the command line. I have more functions that I can't get to work?
tt () { tree -pFCfa . | grep "$1" | less -RgIKNs -P "H >>> " }
View 1 Replies
View Related
Oct 9, 2010
I'm trying to compile the hidtouch driver, but hit a snag. The error I get is
[code]....
Context: this is the driver for the touchscreen attached to an LTSP client. The server uses the AMD64 arch, the client uses the 1386 arch, both Debian. The client does start, but lacking a pointer device the pointer is useless. The build takes place on the server, in the i386 chroot of the LTSP setup. Basically, I'm stuck now...
View 5 Replies
View Related
Apr 27, 2011
Error while calling capget function (EINVAL)
View 1 Replies
View Related
May 7, 2010
I had created a database in mysql called guestbook and created tables also in mysql and also granted remote connections privileges from below command
mysql> grant all privileges on *.* to root@192.168.1.222 identified by "rrcrrc";
i had accessed from my pc(192.168.1.222) and used phprunner to create php web pages and copied the phprunner output folder to use with apache. when i accessed from my pc the below error is coming
Fatal error: Call to undefined function: mysql_connect() in /home/administrator/useridall/include/dbconnection.php on line 9
i can't understand what is going on so i put this question in the forum, below is i am giving the dbconnection.php details.
dbconection.php
<?php
function db_connect()
{
[code]....
View 3 Replies
View Related
Mar 16, 2009
I had installed PHP using yum install php. I am trying to use the pdf_new function to create pdfs from existing text files, but I get this error PHP Fatal error: Call to undefined function pdf_new()I have noticed that when I run the phpinfo() command, I cannot find the PDF phrase at all. My php.ini file does not even have these two linesextension=php_pdf.dll extension=php_cpdf.dll kind of command I should use if I need to build PDFs using PHP on Centos 5?
View 1 Replies
View Related
Mar 24, 2011
I bought a multifunction stylus sx218 Espon model and I can not run the scanner function. I did some research and found a few solutions and very functional. I hope someone solves the problem. My version of openSUSE 11.2.
View 9 Replies
View Related
Nov 16, 2010
Code:
#include <iostream>
using namespace std;
[code]...
View 1 Replies
View Related
May 18, 2010
I am doing some Linux kernel programming for my research project. I need to record the timestamp (by using cpuid and rdtsc) when an interrupt handler (top half) is first invoked. Due to the time critical nature of the problem itself, I have to do the timestamping inside the interrupt handler itself (the first operation when the handler is called). However, I understand that tasks that are not so time critical should be deferred to a tasklet function (bottom half) for processing because other interrupts are disabled in a (top-half) interrupt handler. I am currently out of idea on how I can pass the timestamp information that I have obtained in the interrupt handler to the corresponding tasklet function.
View 2 Replies
View Related
Aug 18, 2010
I have been trying to install this nice looking piece of software for the last 3/4 days, my lastest error is..
Code:
** Message: pygobject_register_sinkfunc is deprecated (GtkWindow)
** Message: pygobject_register_sinkfunc is deprecated (GtkInvisible)
** Message: pygobject_register_sinkfunc is deprecated (GtkObject)
INFO : Loading Exaile 0.3.2.0...
INFO : Loading settings...
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Traceback (most recent call last): .....
I have installed:
pygtk-2.16.0
pygobject-2.21.5
gst-python-0.10.19
dbus-python-0.83.0
pycairo-1.2.2
gobject-introspection-0.9.3
libffi-3.0.9
View 8 Replies
View Related
Jun 14, 2011
I know that you already had some cases of this error on this forum, and i wouldn't like to open up old topics, but none of the solutions mentioned before, helped.
I am trying to run a local php script on a Debian based server, but every time i run it, i get this error message:
Code:
Code:
And the php mysql_connect() function works as tested in this .php file
Code:
Using the script
Code:
The php script i am trying to run is a php irc bot from
Code:
And the mysql.php file which issues the error is like this:
Code:
I have also tried editing the mysql_connect function to be something like the test script i mentioned above, but still get the same error.
I have installed LAMP server using the apt-get (installed following packages: apache2 php5 libapache2-mod-php5 mysql-server mysql-client php5-mysql phpmyadmin) everything so far works great.
What i have noticed, that even though mysql shows up in phpinfo, it doesn't show up as a module listed in 'php -m'
View 10 Replies
View Related
Nov 5, 2010
Am getting errors about "mysql_connect()" for the following code:
Have compiled PHP with MySQL support using the following:
Thought PHP 5.3 has a built-in replacement called mysqlnd, and there's no need to install "php-mysql" RPM.
However, according to the following site this is still required: [url]
Give me an idea whether I really have to install php-mysql RPM in order to use mysql_connect() for PHP?
View 4 Replies
View Related
May 17, 2011
I am having a problem with my slackware version 12 server. I tried installing a new joomla theme from the rockettheme and its giving me the following error while loading the site.
Fatal error: Call to undefined function imagecreatefromjpeg()in /home/www/verticaltest/modules/mod_rokstories/thumbnail.inc.php on line 167
Thought it was a problem with gd library modules, but in info.php, its showing that gd is installed in the server. Pasting the result form info.php below..
If gd is installed, what should be the problem?
View 3 Replies
View Related
Sep 16, 2010
I'm newbie with Centos. I have got a server with Centos 5.2 and I need to use PHP 5 >= 5.1.0 function as timezone_open. So that, I follow this guide to update php. Now, I have got PHP 5.1.6 (cli) (built: Mar 31 2010 02:44:37). I create a simple test.php: Quote:<?php $var = timezone_open('UTC');print_r($var);?>
View 3 Replies
View Related
Mar 30, 2011
I'm currently using OpenSuse 11.1 web server. This is bad since 11.1 is no longer supported. the reason why I am using it is because Function set_magic_quotes_runtime() was no longer being used. (so I was told)
That being said, is there a way to get Function set_magic_quotes_runtime() to function on the newer versions of OpenSuSE?
View 9 Replies
View Related
Feb 21, 2010
the function terminates if no key is pressed for 10 consecutive seconds. I tried using the -t option as suggested in some forums, but my version of showkey doesn't have the option of changing the timeout. The options I get are:
-h --helpdisplay this help text
-a --asciidisplay the decimal/octal/hex values of the keys
-s --scancodesdisplay only the raw scan-codes
-k --keycodesdisplay only the interpreted keycodes (default).
Is it possible to write a script to use this function and still keep the function active until an interrupt is recieved?
View 6 Replies
View Related
Jan 4, 2011
Some may recall I recently gave up on bash, rather than give up my programming style.Surely I will have reason to return but that's another story. My little issue now:I am debugging a new [Korn] shell script. I have a function that performs a specialized match on a string and I see that I am able to call that function with no problem, with both of it parameters. The function does not do any print or echo command - it uses "return" for a TRUE (0) of FALSE (1), as is the shell exit code convention. Thus, I have the following test:
Code:
if [[ match_except_release ${PATH_DIR[$LC]} bin ]]
then
[code]....
View 2 Replies
View Related
Aug 4, 2011
I have weird problem with postgresql + nginx + php5 0 ubuntu 11.04. Postgresql works just fine, when I run "php test.php" from shell. I assume php runs from shell are called cgi runs? When I open page from browser [URL]... I get following error. I assume php runs from browser are called cgi runs? Fatal error: Call to undefined function pg_connect() in /var/www/mydomain/htdocs/test.php on line 7 When you print php info, only reference to postgresql is pgsql.ini and pdo_pgsql.ini files that are parsed.
[code]....
I did install postgresql by running following commands:
sudo -s
aptitude install postgresql
aptitude install php5-pgsql
View 2 Replies
View Related