Trying to compile a C program recievin this
hello.c:1:19: fatal error: stdio.h: No such file or directory
gcc is installed on the system.
I'm running Solaris 11 x64. This is also a fresh install which I only used pkg install slim_install, I then installed the gcc 4.5
using the GUI Package Manager.
Last edited by Corona688; 10-22-2012 at 02:58 PM..
Hi Friends
I have a compiler(Sun Forte,I believe) running in my Solaris 9 box.
since y'day my development team is finding this error when they compile:
ld.so.1: expr: fatal: libgmp.so.3: open failed: No such file or directory
I ran a search for this file and found it in one of my file... (2 Replies)
Hi All,
I am new to linux and Programming.
Inside the file stdio.h, there is a description about FILE structure. Which has many internal data members like _p, _r, _flags etc.
I have written a sample code to find out the contents of the FILE structure.
It opens a sample file ( FILE *fp ),... (5 Replies)
Hi,
I am running this command through a shell script and getting the error mentioned in the subject line:
testing.awk -f x.txt TNAME
My testing.awk file contains something like
++++++++++++++++++
#!/usr/bin/awk -f
BEGIN{
TAB_NAME="INSERT_ONE_" ARGV ;
}
if ( $1=="JAM_ONE" &&... (1 Reply)
Hi,
I require need help in two aspects actually:
1) Fatal error that gets generated as %F% from a log file say ABClog.dat to trigger a mail. At present I manually grep the log file as <grep %F% ABClog.dat| cut-d "%" -f1>. The idea is to use this same logic to grep the log file which is... (1 Reply)
I am facing a problem in the below given code.
int main()
{
printf("\nHello Geeks\n\n") ;
return 0 ;
}
In the above mentioned code i left including "#include ". And if i compile and execute this piece of code, the output is printed as expected. But "#include " being the most important... (7 Replies)
Hi Guys,
I am facing this Error
bash-2.03$ ./curl -V
ld.so.1: curl: fatal: libldap.so.5: open failed: No such file or directory
Killed
bash-2.03$
while executing
./curl -V in /opt/sfw/bin directory.
I am using Sun Solaris 10.
which package upgrage can give me this missing... (9 Replies)
Hi All,
I am trying to include a mcrypt.h header but I am getting the below error:
test01> gcc test1.c
test1.c:5:20: fatal error: mcrypt.h: No such file or directory
#include <mcrypt.h>
^
compilation terminated.
As I cannot put my encryption program here, so have... (4 Replies)
I am following the "Compilling and Installing" guide from Apache > HTTP Server > Documentation > Version 2.4 page
The configure running OK:
# export CC="gcc -m64"
# ./configure \
--prefix=/usr/local/apache2/httpd-2.4.20 \
--with-port=80 \
--with-mpm=worker \
--enable-mods-shared=most \... (0 Replies)
Today, I noticed some errors in our SSL cert renewal log files, mostly related to domains where the IP address had changed. Concerned about this, rebuilt out SSL cert, which normally goes well without a hiccup.
However, for today, for some reason which I cannot explain, there was a PHP error... (0 Replies)
Hello,
i have installed open-motif -2.3.8_1 X11 Toolkit on freebsd32bit machine.
wanna compile a little script. script is ok. already compiled on other machine (linux)
the message is as follows
cc -o button button.c -lXm -lXt -lX11
button.c:3:10: fatal error: 'Xm/Xm.h' file not found... (5 Replies)
Discussion started by: Sennenmut
5 Replies
LEARN ABOUT PHP
mysqlnd_qc_set_storage_handler
MYSQLND_QC_SET_STORAGE_HANDLER(3) 1 MYSQLND_QC_SET_STORAGE_HANDLER(3)mysqlnd_qc_set_storage_handler - Change current storage handlerSYNOPSIS
bool mysqlnd_qc_set_storage_handler (string $handler)
DESCRIPTION
Sets the storage handler used by the query cache. A list of available storage handler can be obtained from mysqlnd_qc_get_available_han-
dlers(3). Which storage are available depends on the compile time configuration of the query cache plugin. The default storage handler is
always available. All other storage handler must be enabled explicitly when building the extension.
PARAMETERS
o $handler
- Handler can be of type string representing the name of a built-in storage handler or an object of type mysqlnd_qc_han-
dler_default. The names of the built-in storage handler are default, APC, MEMCACHE, sqlite.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
If changing the storage handler fails a catchable fatal error will be thrown. The query cache cannot operate if the previous storage han-
dler has been shutdown but no new storage handler has been installed.
EXAMPLES
Example #1
mysqlnd_qc_set_storage_handler(3) example
The example shows the output from the built-in default storage handler. Other storage handler may report different data.
<?php
var_dump(mysqlnd_qc_set_storage_handler("memcache"));
if (true === mysqlnd_qc_set_storage_handler("default"))
printf("Default storage handler activated");
/* Catchable fatal error */
var_dump(mysqlnd_qc_set_storage_handler("unknown"));
?>
The above examples will output:
bool(true)
Default storage handler activated
Catchable fatal error: mysqlnd_qc_set_storage_handler(): Unknown handler 'unknown' in (file) on line (line)
SEE ALSO
Installation, mysqlnd_qc_get_available_handlers(3).
PHP Documentation Group MYSQLND_QC_SET_STORAGE_HANDLER(3)