Slackware :: Cheese-camera.c:1034: Error: (Each Undeclared Identifier Is Reported Only Once
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
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
Every single image i try from opensuse 11.2 on usb stick i have the same error: No devices matches MBR identifier "hex number" Before asking me for fdisk or whatever, my MD5 sums are all right and i tried both unetbootin and "dd if=path of=usb_path" methods.
I am using Firefox-4.0b9 from /testing. I never deleted the old profile from 3.6x days. I just noticed that the Slackware identifier icon is now just a generic Linux icon. I checked in about:config, and the general. useragent.extra.linux string is still set to Slackware Linux.Is there something different to do for FF-4x? This isn't a real problem, just an annoying matter of pride.
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!
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:
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:
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.)
I was going through this Lex/YACC tutorial: [URL]... and I was working along with it. The Lex examples worked fine, but the YACC one quit white compiling
I am certain that the problem is not with the CD. It can boot on my laptop. It's the RC2 of OpenSuse 11.3 Gnome. When I try to boot on my PC, I get the error "No devices matches MBR identifier: 0x502eadc3".I had some problems when installing Ubuntu, with HDD partitioning because it's SATA3. I tried several things, chandged from IDE to ACHI in Bios, then after it didn't work I simply plugged out all of the Sata cables but still the same. It should be because of Bios settings I guess.I have Gigabyte X58A-UD3R mainboard. Please help, I really love OpenSuse
In both CentOS 5.5 and FreeBSD 7.4 when I use Code: snmpget -v 1 -c public windows_host system.sysDescr.0 I get the remote windows machine system description just fine. But not in ubuntu. Searching snmp-net FAQ for the erroe message "Unknown Object Identifier", I got this to work around Code: snmpget -v 1 -c public 127.0.0.1 SNMPv2-MIB::system.sysDescr.0 But it not worked either.. Searching "MIB" using apt-file search, I installed "snmp-mibs-downloader", and now Code: snmpget -v 1 -c public 127.0.0.1 SNMPv2-MIB::system.sysDescr.0 works.. but Code: snmpget -v 1 -c public windows_host system.sysDescr.0 still breaks.. Why it works in CentOS and FreeBSD but not in Ubuntu?
I'm running 13.1 on a Dell Latitude D630 with 4GB of RAM. My problem is that Slackware doesn't seem to see all of the available memory. Here are the #s being reported (just including pertinent #s rather than all output)...
I am on Ubuntu Lucid (updated till date). I am using Kernel Linux 2.6.32-24-generic Recently I am not being able to run Cheese (webcam tool). When run it is crashing. Upon starting it from prompt I noticed the following error : libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more bits The program 'cheese' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'.
[Code]....
I checked in Skype and there the webcam is working fine. I tried with Camorama but that always gives an error "Could not connect to /dev/video0, please check connections."
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?
2 months ago, I built a dedicated backup server using 4 2TB SATA drives for software RAID5 (6TB total). A few days ago, smartd sent out mail saying it found an unreadable sector on one of the drives. I ran selftest using smartctl and the error persisted. So far, neither software RAID nor ext4fs running on top of the RAID volume have reported errors.
MOST OPTIMISTIC: It is normal to have a few bad sectors among billions. Software RAID takes care of alternatives. Keep using the system until RAID spits a more serious warning in the future.
MOST PESSIMISTIC: It is a really bad sign to lead a disaster. No good disk drive should have bad sectors especially when it is only 2 months old. The error is simply not detected by software RAID and ext4. Replace the drive immediately and return the bad drive to the supplier.
There is a centralized FTP server which are accessed by clients to develop some web development project and to achieve this the clients are using ftp service. The problem is when they are trying to copy any files and directories they are getting the following error: "Message reported from the file system: FTP copy not supported,use move instead" I've checked all the permissions and they are all OK. I don't know why this is happening. they can create and move files and folders but can't copy files and folders.
I am installed cUrl from http://packages.ubuntu.com/lucid/amd64/curl/download for my ubuntu 9.0 with php 5.2 ,Apache 2.0.It was installed by gkebi package installer. but when i display phpinfo() curl not found since i was attempt to use phptwitter class. what is the proble i have? When i am trying to install again package installer shows same version of curl already found, but phptwitterclass shows following error 'Method "curlQuery" of class "Twitter" reported an error: CURL library not installed.'
You probably own a simple camera and know that it usually stores the pictures using an ever-incrementing counter as part of the filename. so you have filenames of the sort <code><counter>.<extension>.
Say now that you have pictures from your last trip along with some earlier pics from a previous trip. assume also that the older pictures have all been transferred to the pc but you still keep them in the camera for whatever reason...
So coming back from the last trip you only want to back up the latest pics, and you want to do this through your console and not through some window manager.
What's been puzzling me is to find a quick way to cp ONLY the latest pics.
My options include:
- Use 'find' command with regex. not really helpful when regex start getting really long (indeed regex doesn't seem to be particularly useful with filenames that contain an incr. counter value - correct me in i'm wrong)
- Use find command with the 'mtime' option and copy every day of the trip individually.
- Wildcards are not really an option since don't want to copy everything.
- There doesn't seem to be a quick way to let bash know that i want to copy, say p8957.jpg to p9234.jpg through some sort of list or smth)
- A for loop in bash would be a solution but i would like to avoid it.
- Mc commander would also be a solution but i would prefer again a pure console solution..
Is there a way to quickly (=with little typing) create a list of the files that i want and let the cp command use it?
For whatever reason, XBMC refuses to play the audio. Xine plays the audio but with a distressing static noise. MPlayer and Kaffeine play the files fine. The bottom line is XBMC and Xine seem to dislike pcm_u8 audio, or the way the audio is streamed with the video.I also cannot fast-forward the movies with some players, such as MPlayer or SMPlayer.
I haven't found whether I can select a different format with the camera, but to avoid player problems I'd like to convert the videos. My primary focus is playing in XBMC and Xine because I have both apps configured to be controlled with a remote control. What is the most compatible format to convert? This is with 12.2 or 13.0. I have ffmpeg, mplayer, and mencoder installed and probably all or most codecs I could use.
I have installed mpd & GMPC. I've set the MPC config to point to /Music & chown'd it to mpc. When I try to play a MP3 I get an error in GMPC saying"mpd reported problems decoding mp3"
edit: I tried playing from files instead of an saved playlist.. it worked
I was looking to iphone and i was surprised the quality of such tiny camera.
Is there any alternative camera for my laptop to have similar or much better then the one in iphone? So that i can use it from my laptop, but have very sharp HD quality with maximum megapixel + highest frame per second.
This device doesn't automount, doesn't show in KDE 4's device notifier, and I can't mount this camera manually because it doesn't appear to get assigned to a device node. Any known solutions? It worked in Slackware 12.2, but not in 13.0 or 13.1.
My new Benq DC E1050 camera will not connect to either of my Debian Unstable fully updated systems. It connects OK to a Windows 2000 PC and to my Elonex OneT+ netbook running 3MX. I can access the card in a card reader but when I connect the camera it flashes up a "USB error" message and switches itself off. On the PC side dmesg|tail -60 gives me
Quote:
[ 1991.144290] usb 2-2.3: new high speed USB device using ehci_hcd and address 5 [ 1991.236929] usb 2-2.3: New USB device found, idVendor=04a5, idProduct=30b8 [ 1991.236931] usb 2-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1991.236934] usb 2-2.3: Product: DC E1050 [ 1991.236936] usb 2-2.3: Manufacturer: BenQ