I want to use vfprintf with the char * on 64-bit. Here is the sample code:
[Code]...
In this code, I am getting warning: passing argument 3 of vfprintf from incompatible pointer type I have done sizeof(va_list) on 64-bit, and its 24 bytes. I don't know how am I suppose to use the va_list this way.
i have a minimal ubuntu desktop and i'm trying to install the latest nvidia driver (downloaded from their website) and i got the following error:
Quote:
/tmp/selfgz2431/NVIDIA-Linux-x86_64-256.53/kernel/nv.c: At top level: /tmp/selfgz2431/NVIDIA-Linux-x86_64-256.53/kernel/nv.c:426:5: error: unknown field �ioctl� specified in initializer /tmp/selfgz2431/NVIDIA-Linux-x86_64-256.53/kernel/nv.c:426:5: warning: initialization from incompatible pointer type
[code]....
i had to apt-get even gcc and make, so i'm probably missing some required package...
I'm trying to use "netlink" to get ip address of a Linux box. But the linux/types.h included from "linux/rtnetlink.h" introduced many conflicting type declarations with "sys/types.h".
#include <rtnetlink.h> #include <sys/types.h> #include <sys/socket.h> int main (int argc, char *argv[]) { return 0; }
Is this a cause for conflicts between gcc 3 and gcc 4. If so how do i rectify the same? I have compat-ltdc++ installed. Similar errors are sure to follow during the compilation process.
I'm trying to compile a main.c file that contains a while statement. Embedded in the while statement are functions that are being called. After the while statement, I have 2 more functions being called, one to find the average(getaverage), and one to print the results (printstuff). I also used a header file (my.h) that contains all of the needed #define and #include, along with each of the void function() statements.
There isn't any problems with the while statement/ the functions in while, but when I try and compile main.c I get the following errors:
main.c error: conflicting types for 'getaverage' my.h error: previous declaration of 'getaverage' and then the same thing for 'printstuff'
I am playing around with a new chat program and I have errors that I can not figure out. Here is what I am getting.
parse.c:1638: error: dereferencing pointer to incomplete type parse.c:1638: error: dereferencing pointer to incomplete type parse.c:1638: error: dereferencing pointer to incomplete type
here is the code:
if (scan->jail_timeout == 0 && scan->location == prison) { command_type |= HIGHLIGHT; tell_player(scan, " After serving your sentence you are flung out"
I am trying to simulate a shell. So what I do is checking of having the parameters from standard input, suc as "/bin/ls -l /home/france/Documents", and then passing them to function execute, which at some point calls execvp(argv[0],argv)The problem is that I don't succeed in using these arguments, while if I call execvp(paramList[0],paramList) it works!!!! Where paramList is exactly what I would put on standard input, but defined statically.
I have a number of projects, say test1, test2, test3,. I want to make and install all of them in exactly the same way; so I would like to say make test2 make install test2 with the same Makefile.
In other words, I would like to pass the argument test2 (or just 2) to the Makefile, so this is taken as the target for make or make install. This must be a common wish; but I don't see any appropriate option with "man make" on my Fedora-12 system.
Say, i have an imaginary std library function, which I want to call.
Code: void std_lib_func(ObjectType *param);
Now in my c++ program, I have a main() function, and I will like to call a customized function (which will in turn call the std lib function) from the main function, as below:
Code: int main() { ObjectType *aobj; customized_func(aobj); } [Code]...
I tried the below but get an error that the std lib function is expecting a ObjectType* param, not aobj. How should I work this out.
I have Fedora14. I have added virtualbox repository. On going through virtualbox.org site, I learned that virtualbox-4.1 released. I tired to update by yum update on 19.0.2011. No new package. I tried to download it from virtualbox.org (VirtualBox-4.1 Fedora14-i386). It failed on 19.0.2011 giving message that link is not operational. Today i.e. on 20.07.2011, I tired once again yum update. No new package. I tried to download from virtualbox.org. download succeed but it did not installed giving error message regarding conflicting files. Till not in repository?
I can not install the glbic-common file cause it give me a conflicting error (the package is already install but it is somehow not recognize by the system)
I am trying to duplicate our company website running from Centos 5.5 to another Fedora 13 box. The output is ok but when I tried to open 1 page which automatically search pdf files, this errors appear:
Warning: fopen(help_search/file - file.txt) [function.fopen]: failed to open stream: No such file or directory in/var/www/html/site/index.php on line 1018
Warning: Invalid argument supplied for foreach() in /var/www/html/site/index.php on line 1023
Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings.You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Manila' for 'PHT/8.0/no DST' instead in/var/www/html/site/index.php on line 1297
Warning: date()[function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Manila' for 'PHT/8.0/no DST' instead in /var/www/html/site/index.php on
I was just confused because in Centos 5.5 it works fine.
I have Red Hat Enterprise 5 and am trying to resize a partition. I am using the resize command within "parted" and am getting the following error - Error: File system has an incompatible feature enabled.
When i type 'ifconfig eth0 192.168.25.1 255.255.255.0' the outcome is 'SIOCSIFADDR : invalid argument', but when i check the ip address using /sbin/ifconfig i see the ip address is updated to 192.168.25.1 and is up. When i restart the linux box,the /sbin/ifconfig is reset to 192.168.100.1 .what should i do so that the linux box /sbin/ifconfig should not change when am rebooting.
I installed a trial copy of Anquet Map V06 under Wine then decided to remove it. Afterwards I could find many remnants associated with the Anquet program which I've deleted. Except what remains is an association between my .gpx files with Anquet and that includes and any new gpx file I download. My interpretation is that during the install process an association has been created with the gpx file type and the Anquet map program. This is what I want to stop. If I download a .gpx file and look at it's properties I see- Type: GPX File -Anquet Mapsv06 (application/x-wine-extension-gpx) I found this file and it's contents-
Running "sudo update-mime-database /usr/share/mime" and rebooting didn't remove the association. How can I stop the Anquet name making as association with my gpx files?
I updated my system from FC13 2.6.34.7-66 to 2.6.34.8-68 for both the kernel and the kmod-wl RPM's. After doing so, iwconfig wlan0 key 1234567890 no longer works. I get an error indicating 'invalid argument'. If I reboot using the previous kernel/wl.ko module, it works The size of the wl.ko module increased in size by almost 30%. Did I somehow get the wrong RPM?
I used xbindkeys and xvkbd to map my extra mouse buttons to page up and page down. With kde 4.4 it worked, but since I upgraded to kde 4.5 beta, I get the following error when xbindkeys starts:
Code:
*** Warning ***verify that there is not another program running which captures one of the keys captured by xbindkeys. It seems that there is a conflict, and xbindkeys can't grab all the keys defined in its configuration file. And for button press I get
Code:
Warning: Cannot convert string "-*-lucidatypewriter-bold-r-*-*-12-*-*-*-*-*-iso8859-1" to type FontStruct Warning: Cannot convert string "-*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1" to type FontStruct
I would like port 80 to have a small daemon running on it that detects HTTP traffic and sends a small redirect response, and any other traffic begins streaming data from my VPN daemon. I was wondering if this has already been made, or any kind of technology for detecting types of traffic and allowing you to run multiple types of servers on the same port.
I just loaded octave. I ran through a few examples of how to implement a script file. Everything works until I get to "plot". When I run the "plot" command I get the following.
octave:2> test1.m error: can't perform indexing operations for <unknown type> type sh: gnuplot: not found Just to double check my work, I ran the following code: y=[1 2 3]; plot(y);
I open up Synaptic Package Manager, I get the dialogue, "You have 1 broken package, use the Broken Filter to locate it." So I do, and I find flashplugin-nonfree. So I try to reinstall it, and the two packages that are installed are flashplugin-nonfree and flashpluin-installer. However, I always get this error message:
[code]...
how I can fix it? I know it has SOMETHING to do with conflicting packages