Programming :: Win32 Function _fpclass() Doesn't Exist
Apr 6, 2010
I'm porting code from Win32 to Linux, a math science app, the thing is that the app have full dependency of de win32 function _fpclass(). Today I was looking all day that function on Linux but it doesn't exist. I know that there are some functions that can make the job mixing them in a other one like in this link below, more or less. [URL]
Well the app use very high virtual memory, Gigas of it(around 500), use Linux as Calculation Server using a very large swap space. If we can't find some way to fix this trouble, we can change the Linux for some open *nix like Open Solaris, because those have fp_class_l().
View 4 Replies
ADVERTISEMENT
Jun 2, 2010
int GetTime(struct timeval tv)
{
gettimeofday(&tv, NULL)
printf("%d
", tv.tv_sec); /* here is the right value */
return 0;
}
[Code]....
What happend? struct timeval has a self timer?
View 3 Replies
View Related
Jul 6, 2010
I didn't have any luck finding the solution for not getting opengl working on a SLES11 server with a remote X-Win32 client. As a reference I've used the tool "glxgears" for testing.We have two servers. One (server A) with SLES10 and the other (server B) with SLES11. We use X-Win32 (ver. 9.x) as an X-server on a Microsoft Windows client machine. Both servers are connected to with ssh with X11 forwarding enabled (Xclock works fine on both).Starting glxgears from server A works fine; Three nice gears are displayed.
View 1 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
Jun 28, 2010
I wish to port a win32 application to linux platform. I wanted to know if there is any equivalent of tchar.h in linux platform?
View 1 Replies
View Related
Jul 10, 2009
I've made a linux app that I'm porting to win32 winth MinGW and MSYS. It's a ticker app that reads then renders a text file to a pixmap (a tall single-line image), then it kind of scrolls the pixmap by drawing a part of it to a drawing_area, using gdk_draw_drawable() within a timeout handler set by g_timeout_add().
The problem is it works fine on linux (the scrolling is really smooth and that's the goal) but the win version is choppy and uses at least 90% of cpu resources (vs 15% with linux) like there is a big performance problem. And I'm not even sure that double buffering is set. Is it related to some mingw config or drawing_area stuff or gtk for win?
View 5 Replies
View Related
May 24, 2010
I want to declare a function in a function, but had no success till now, see the error code below and visit the project at sourceforge
[Code]...
View 14 Replies
View Related
Jun 20, 2010
I looked on the net for such function or example and didin't find anything, thus after having made one i guess it would be legitimate to drop it to see what others thinks of it.
#!/bin/bash
addelementtoarray()
{
local arrayname=$1
[code]....
View 10 Replies
View Related
Aug 17, 2010
I was just trying to get the now playing for banshee to show on conky but the way I was going to do it required me to make a wrapper for banshee.sh but I can't seem to find it or it doesn't exist.
View 4 Replies
View Related
Sep 28, 2010
I have a compiled program, a tagger to identify parts of text, which claims it does not exist.This executable has to be called by a generated script, which is how I ran into this issue. What are the reasons this error could show up?The executable was copied from another machine.The file does have execution privileges (it gives a proper not-allowed message without them)I've tried copying the file to a different location (same problem)I've tried replacing the file with a fresh copy (same problem)The file does exist. Opening it with pico shows a file with binary data.
View 4 Replies
View Related
Apr 11, 2016
I have had to revert my VM to a previous image (did something to screw it up) anyway I have to reinstall icedove into my VM and I noticed after doing: sudo apt-get update && sudo apt-get install icedove that icedove can't seem to be found in the libraries anymore and simply wont install.
View 14 Replies
View Related
Sep 14, 2010
For our class project we are going to use HyperTerminal to communicate to something we are building that is attached to our laptops using USB. We're supposed to use HyperTerminal.URL...I can't believe that a program that does the same thing doesn't exist in Linux. What programs that can do the same thing are available in Linux and Mac OSX?
View 5 Replies
View Related
Apr 30, 2011
long story, I upgraded my system from maverick to natty, didn't like it so restored my system with a backup that I had done recently. after it rebooted I used gparted live CD to expand my partition, moving swap to the end of the HD, then when I rebooted grub didn't work so I booted with ubuntu live cd and reinstalled grub. then I booted normally but nautilus didn't work and had lots of problems. So I installed ubuntu again with ubuntu live cd, formating the partition and expanding it, no problems at all.But, I wanted my files back, so restored the system again, now the message that I get isQuote:
Gave up waiting for root device. Common problems:
-Boot args (cat /proc/cmdline)
-Check rootdelay= (did the system wait for the right device?)
[code]....
View 9 Replies
View Related
Jul 30, 2010
i was assigned with a project to analyse the performance of ASSP mail filter engine.I am using Fedora 7 with KDE3.5. I need to install a lot of perl modules to run the assp.pl code.I was trying with all sorts of packages like src.rpm, ixxx.rpm, tar.gz, tar.bz2. All these packages doesnt work exactly. When i tried with rpm packages. I am getting this error.
/*
[root@localhost RPMs]# rpm -ivh cyrus-sasl-2.1.23-9.fc12.src.rpm
warning: cyrus-sasl-2.1.23-9.fc12.src.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 57bbccba
1:cyrus-sasl warning: user mockbuild does not exist - using root
[code]....
So i checked for config.h file as given the directory but it was missing.I don't know why?
View 4 Replies
View Related
Jul 4, 2010
mplayer complains about not being able to find libvdpau_nvidia.so. I checked in /usr/lib, and it's there, but it's a link that points to /usr/lib/vdpau libvdpau_nvidia.so. The folder vdpau doesn't exist.
Which package do I need to install to get this to work?
View 4 Replies
View Related
May 1, 2010
I have installed Lucid Lynx more than a dozen times in the past thirty hours and I've almost got it working with RAID. The current problem is with /dev/md0 not existing when grub2 tries to access it. When I boot from the alternate CD in rescue mode, Ubuntu sees /dev/md0 as a software RAID array and I can access the files accordingly. When I boot from the grub2 bootloader, it sits for a while before spitting out "Gave up waiting for root device" and tossing me into the initramfs shell where I can see that /dev/md0 doesn't (yet) exist. What can I change within grub2's configuration to inspire it to start /dev/md0 before trying to mount it?
View 6 Replies
View Related
Jul 5, 2010
My laptop has an Intel video card. Does Intel have open source drivers that are included in the kernel? I'm kind of curious because I do not have a xorg file, and I did not install any drivers as I had to on my nvidia desktop, yet all of my maximum resolutions come down accordingly.
I'm just curious on what exactly controls the video settings if xorg isn't in the picture.
Also - what relevance does the Fn keys have that probe for a 2nd monitor to Ubuntu? For example, I do not have a 2nd monitor attached, but if I hit Fn F8 over and over, sometimes it changes my resolution. Why is this? Why would that revert my resolution?
View 9 Replies
View Related
May 24, 2010
I'm running Slackware 13 - xfce4 and I got a new session in background. How could I see that session and use it? In backtrack I'm doing it via sessions in terminal but im Slackware 13 session command doesn't exist.
View 2 Replies
View Related
Feb 15, 2010
If at all possible I would like ot keep the GRUB loader and repair my situation.My slave drive has Windows 7. My master had Ubuntu on it. When it installed it added the GRUB loader.I replaced it with Fedora, but now the GRUB loader says it can't find the drive and bails to grub-rescue.If possible I would like to keep the grub loader. If I can't repair this, is there a way to uninstall it and reinstall it.
View 16 Replies
View Related
Aug 25, 2010
I'm taking over as a Linux admin where they use sendmail last week. I've done very little with email on linux, and haven;'t touched sendmail since 2000 so I am really out of my element.Basically the sendmail server for many months has had performance problems, disk, and load.Looking into it I found this doing a tail on /var/log/MaillogAug 25 17:11:49 web8 sendmail[1531]: o7OGF2VH002566: to=postmaster, delay=1+01:58:10, xdelay=00:00:00, mailer=relay, pri=2388694, relay=[xx.xx.xx.xx], dsn=4.0.0, stat=Deferred: [10.10.20.107]:No route to hostAnd that was all it was spewing, I edited the config files because xx.xx.xx.xx doesn't exist. And running m4, then restarting sendmail.It is still spewing out that message, but I do see some things connecting to the new yy.yy.yy.yy address. I even greped the entire /etc looking for the old machine.
View 2 Replies
View Related
Jan 31, 2011
https://bugs.launchpad.net/unity/+bug/711098
View 1 Replies
View Related
Aug 6, 2011
I have problem with installing GTK tools on openSUSE. And, the installation manual doesn't exist in GNOME websiteGetting ready for GNOME development
View 1 Replies
View Related
Feb 16, 2010
Is it possible to have Archive Manager create the specified folder when I enter it into the path field? Like if I want to put something in "/Main/Sub1/Sub2" But "sub2" doesn't exist, can I just have Archive Manager create it and put the files there?
View 1 Replies
View Related
Apr 14, 2011
I'm using a dual boot system with kubuntu 10.10 and windows vista.When I try to copy files from kubuntu to a windows drive, I see no problem.But when I retsart to windows usually I can't see my files. Once or twice I have seen files I copied in kubuntu. The strange thing is that when I go to kubuntu again, I don't see files I have copied in windows drive.
View 2 Replies
View Related
Apr 17, 2015
Installed Debian 7.8 KDE next to Windows 8.1.
Installed perfect perfect (except for network part). Grub came up, I selected Linux. After start up I typed
Code: Select allstartx
And I get the
Code: Select allFatal server error: no screens found
Also when I run
Code: Select allsudo iwconfig all I get is
Code: Select alllo no wireless extensions
eth0 no wireless extensions
Running lspci I get (vga for startx problem and network for WiFi problem)
Code: Select allVGA compatible controller: Intel Corporation ValleyView SSA-CUnit (rev 0e)
Code: Select allNetwork controller: Atheros Comm. AR9485 Wireless network adapter (rev 01)
View 6 Replies
View Related
Feb 12, 2010
I have a dual boot windows XP/ubuntu 9.10 set up on one hard drive. Everything was working fine. The 9.10 install had been updated from 9.04. I recently had problems with the XP partition (XP basically collapsed) so I re-installed XP on the same partition it was on before. I then attempted to reinstall Ubuntu ( I decided I wanted a new 'clean' installation of Ubuntu as well). When I got to the partition function it refused to recognize that there is a Windows partition, or a previous ubuntu partition, but states 'No operating system installed' or similar, and offers the entire hard drive for installation. When I look at the partitions using Windows partition software the Windows and the ubuntu partitions are clearly in evidence. I have also tried to reinstall GRUB but it doesn't appear to exist.
View 3 Replies
View Related
May 9, 2011
I downloaded a program called tonespace http://www.mucoder.net/en/tonespace/ which I extracted and then tried to execute the executable file with ./tonespace. This gives me the following message:
bash: ./tonespace: No such file or directory
When I use the command: file ./tonespace I get this: tonespace: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped
I dont get it. The file is clearly there, yet when trying to execute it bash doesn't seem to recognize it.
It has permissions rwxr-xr-x and is not owned by root. Am I overlooking something?
View 2 Replies
View Related
Jul 13, 2010
Does anyone know how to write this command for mysql version 4? (The command is for mysql version 5, I guess since when I check database in mysql server version4 there is no database name information_schema ) command:select concat(table_schema,'.',table_name) as table_name,table_rows from information_schema.tables where table_rows > 1000000 order by table_rows desc; meaning:show all database,table name and row count from all databases that has table row more than 1000000
Run result with mysql version 5: mysql> select concat(table_schema,'.',table_name) as table_name,table_rows from information_schema.tables where table_rows > 1000000 order by table_rows desc;
[Code]....
View 3 Replies
View Related
Jun 18, 2010
Recently I got a very rare database issue, it says: Error: Couldn't read status information for table clients_copy () mysqldump: Couldn't execute 'show create table `clients_copy`': Table 'adm_retail.clients_copy' doesn't exist (1146) Error: Couldn't read status information for table dt_mx_emp ()
[Code]...
View 2 Replies
View Related