[SOLVED] Question about GCC error messages.
I'm currently taking a course in C programming, and I have a question about the error messages returned by GCC.
When ever i try to compile a program containing syntax errors, i get cryptic and not very helpfull error messages.
If i try to compile:
#include <stdio.h>
int main(void)
int i;
i = 0
return 0;
I get following from GCC:
error.c: In function â:
error.c:8:2: error: expected â before â
But shouldn't the message be something like:
error.c: In function 'main':
error.c:8:2: error: expected ; before 'return'
or am I mistaken?
/AcId
Last edited by AcId (2010-10-13 17:48:19)
Woah. That is very strange. I've never seen that before.
I assume you're using Arch Linux. What text editor did you use to write the code? Which terminal application are you using?
...those questions are probably unrelated to the problem, but we might as well get them out of the way.
Similar Messages
-
Question about dll. error message when loading - PSE 6
I have PSE 6 and suddenly get the following error message when I open PSE: Organizer-Photoshop Element PhotoshopElementsOrganizer exe- entry point fot found. CFBundle Copy File TypeForFileData could not be located in dynamic linc library core foundation.dll.
No idea what that means, what happened and how to fix this.
Is there anybody that can give advise to a non-computer literate person????
Help would be greatly appreciated.See post #6 in this thread for a likely solution:
http://www.elementsvillage.com/forums/showthread.php?t=50471 -
QUESTION ABOUT AN ERROR MESSAGE UPON STARTUP OF COMPUTER
I receive an error message at startup that says:
"an unexpected error occured while trying to load the microsolf framework library"
Is this causing damage to my computer? If so, what should I do?
I had my old info from my previous mac transfered to this new one.Any help looking through these?
http://discussions.apple.com/search.jspa?objID=f808&search=Go&q=error+48 -
Question on an error message in Event Viewer.
Hi,
I had a question on a error message in event viewer for BO 3.0
Error Message:
Tried to allocate 20 windows desktop but only able to allocate 17 of them.The system may have reached its windows desktop limit.Please contact your system administrator.
Source:CR Processing server.
I have seen this error message before in BOEXIR2 for DeskI services but never for Crystal Reports.
What is the change in 3.0 architecture due to which we receive this error message for cr processing server.
Thanks in advance.Please post this query to the Business Objects Enterprise Administration forum:
BI Platform
That forum is monitored by qualified technicians and you will get a faster response there.
Thank you for your understanding,
Ludek -
HT3275 Any ideas about this error message? (error -1)
Any ideas about this error message?
"The backup disk image “/Volumes/Data/ MacBook Pro.sparsebundle” could not be accessed (error -1)."Standard Lion networking .. Reboot the TC or use the disconnect all users in the AU.. it has not closed the sparsebundle correctly from last time.. or has simply forgotten where the TC is.
It is reported at least once a day here.
See C17
http://pondini.org/TM/Troubleshooting.html -
Cannot run the macro SOLVER.XLAM!MainEx error message
Ive had this problem for awhile but am now needing to use solver for my schoolwork.
Anytime i try to use the solver function under the data tab this error message pops up.
I have tried taking off and readding the add-in under options.
when i try to access solver in the visual basic panel it asks for a password which i have never set
Im running excel 2013 on windows 7
I have tried many things and am exhausted. No solution has been posted to this problem on the site or anywhere on the web
THIS IS NOT WHEN IM TYPING MACRO CODE IN VBA. its just when i try to use solver for simple spreadsheet calculations.
when i click solver i get the error cannot run module: SolverCode
when i try to access the solver code in vba a password is requiredHi,
As far as I know, the Solver add-in code has the password by design, it is protected on purpose and copyrighted. They are designed for use from the spreadsheet only.
Then, as the error message:" Cannot run the macro SOLVER.XLAM!MainEx error message." Please try to do the following methods to fix the issue:
1. Open VBE (Alt+F11)>Click Tools> References>set to SOLVER>Show immediate code pane (Ctrl+G)>Copy/paste (or write): application.run "solver.xlam!auto_open"
2. Disable the other Excel add-ins, such as
Adobe PDFMaker.
3. Repair Office 2013.
Regards,
George Zhao
TechNet Community Support -
[SOLVED] [mkinitcpio] initramfs "build error" messages since v.18-1
Hi everybody,
Since the update from mkinitcpio 17-1 to 18-1 I get those build error messages while running mkinitcpio:
# mkinitcpio -p linux
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.15.8-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keymap]
-> Running build hook: [encrypt]
-> Running build hook: [lvm2]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.15.8-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: smsmdtv
-> Running build hook: [keymap]
-> Running build hook: [encrypt]
-> Running build hook: [lvm2]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
However I can still boot and everything seems mostly fine. I haven't changed anything to my /etc/mkinitcpio.conf, here are the only customized parts:
MODULES="i915 dm_snapshot"
HOOKS="base udev autodetect modconf block keymap encrypt lvm2 filesystems keyboard fsck
I'm using an encrypted root (ext4 over LVM over LUKS) and boot partition is contained in an (unencrypted) LVM logical volume. I also specify a few i915 module options in an /etc/modprobe.d/modprobe.conf file as per the Intel Graphics wiki page:
# Intel graphics driver power-saving option :
options i915 i915_enable_rc6=7 i915_enable_fbc=1 lvds_downclock=1
Never had any such warnings before, but now it appears each and every time I update or reinstall my kernel (the default one). I went through Mkinitcpio wiki page, tried putting question marks after the listed modules and rebuilding but it didn't change anything... Any ideas?
Btw, I don't use any specific compression option and had the regular lzo name change during the same full system upgrade that updated mkinitcpio and linux.
Thanks
Last edited by Neitsab (2014-08-04 11:51:19)Yes indeed, removing /etc/modprobe.d/modprobe.conf~ hidden backup file solved the warning issue. Strange but thanks ukhippo, I hadn't thought about checking other subforums!
Last edited by Neitsab (2014-08-04 11:52:08) -
Question about UTL_FILE_DIR - Errors
I have read several other postings about the error I am getting with UTL_FILE DIR:
Cause: FDPSTP failed due to ORA-20102: Invalid Operation
ORA-06512: at "APPS.XXHH_PAY_OUT_PS16", line 424
ORA-06512: at line 1
We have setup the parameter in V$Parameter and the directories related are all created with proper permissions.
My first question is do the same directories need to be created on the db server as well?
Our setup is as follows: RAC environment 2 app servers, 2 db servers. The app servers have the directory that the error is coming out of. The directories are not on the db servers.
The line of code causing our issue:
fp := utl_file.fopen(v_directory, v_file_name,'w');My first question is do the same directories need to be created on the db server as well?Yes, or the directories should be accessible from the database tier node.
Our setup is as follows: RAC environment 2 app servers, 2 db servers. The app servers have the directory that the error is coming out of. The directories are not on the db servers.
The line of code causing our issue:
fp := utl_file.fopen(v_directory, v_file_name,'w');Please mount the directory on the database servers and check then.
How do the UTL_FILE Functionality Implement in a RAC Environment? [ID 1080391.1]
SYS.Utl_file Is Generating ORA-29280:Utl_file.Invalid_path In Rac Environment Only. [ID 567594.1]
Thanks,
Hussein -
I have some questions about some java errors
1. what kind of errors are contained in Error class?
2.does this class contain only runtime errors?
3. if the question number 2 is positive, what about InstantiationError which is a compile error and is a subclass of Error.
4.When our program is out of memory, which processes are done for an error to be produced. is the error actually from OS or VM?I have some questions about some java errors
1. what kind of errors are contained in Error class?An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.
2.does this class contain only runtime errors?No
3. if the question number 2 is positive, what about
InstantiationError which is a compile error and is a
subclass of Error.
4.When our program is out of memory, which processes
are done for an error to be produced. is the error
actually from OS or VM?Various - both, depending on where the error occurred. -
How to solve this probleme in error message RJ012 when extract co-pa ?
Hello everyone:
When I extract co- pa data source in t-code Rsa3 ,It is a error message which is Errors occurred during the extraction(message id RJ012).
Please help me to solve this problem!
Thanks!Hi Amit:
ST22 and SM21 do not show any dump under my username.
In RSA3, I am able to extract the delta for the datasource COPA.
When it is on delta update then i am gettign the 0 records, when i changed to "F" it is giving me the error 'Errors occurred during the extraction' and the error messege says "Errors occurred during the extraction Message no. RJ012
I enter a (correct) value in field 'Target sys', too.
Why it is not correct?
Thanks and Regards!
Lian -
[SOLVED] Question about CPU temperature
Hi everybody,
I just want to ask a question about "standard" CPU temperatures because my laptop (a Dell Vostro 3700) is permanently hot with the fans on even when I am not doing anything special.
I have CPU freq scaling active with the conservative governor, and I use Gnome Shell 3.2 with an nVidia using the nouveau driver.
Here are "stable" temperatures while writing this post:
# sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +72.5°C (crit = +103.0°C)
nouveau-pci-0100
Adapter: PCI adapter
temp1: +78.0°C (high = +100.0°C, crit = +110.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +73.0°C (high = +95.0°C, crit = +105.0°C)
Core 2: +73.0°C (high = +95.0°C, crit = +105.0°C)
And this is the output of mpstat
# mpstat -P ALL
Linux 3.1.6-1-ARCH (fm) 01/04/2012 _x86_64_ (4 CPU)
10:16:50 PM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
10:16:50 PM all 1.59 0.18 0.54 0.02 0.00 0.02 0.00 0.00 97.65
10:16:50 PM 0 1.88 0.15 0.72 0.02 0.00 0.01 0.00 0.00 97.22
10:16:50 PM 1 1.64 0.21 0.40 0.02 0.00 0.01 0.00 0.00 97.73
10:16:50 PM 2 1.47 0.15 0.67 0.02 0.00 0.06 0.00 0.00 97.64
10:16:50 PM 3 1.36 0.20 0.39 0.02 0.00 0.01 0.00 0.00 98.01
The fan, of course, is full speed (very annoying)
I think that these temperatures are quite high, but I don't know what's really causing all this heating because my laptop is basically idle.
Any suggestion?
Thanks.
P.S.: Running Linux fm 3.1.6-1-ARCH #1 SMP PREEMPT Thu Dec 22 09:11:48 CET 2011 x86_64 Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz GenuineIntel GNU/Linux
Last edited by fm (2012-01-06 09:32:01)samuvuo wrote:
fm wrote:Just to wrap up this topic, I "solved" the issue by adding these parameters to the kernel:
Just curious: what are the temperatures now? Sensors output after the "fix" would be nice.
It's in the previous posts:
Before (idle)
# sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +72.5°C (crit = +103.0°C)
nouveau-pci-0100
Adapter: PCI adapter
temp1: +78.0°C (high = +100.0°C, crit = +110.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +73.0°C (high = +95.0°C, crit = +105.0°C)
Core 2: +73.0°C (high = +95.0°C, crit = +105.0°C)
After (idle)
acpitz-virtual-0
Adapter: Virtual device
temp1: +63.5°C (crit = +103.0°C)
nouveau-pci-0100
Adapter: PCI adapter
temp1: +68.0°C (high = +100.0°C, crit = +110.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +62.0°C (high = +95.0°C, crit = +105.0°C)
Core 2: +64.0°C (high = +95.0°C, crit = +105.0°C)
After (after playing 8 min youtube video)
acpitz-virtual-0
Adapter: Virtual device
temp1: +74.5°C (crit = +103.0°C)
nouveau-pci-0100
Adapter: PCI adapter
temp1: +78.0°C (high = +100.0°C, crit = +110.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +73.0°C (high = +95.0°C, crit = +105.0°C)
Core 2: +75.0°C (high = +95.0°C, crit = +105.0°C)
Fan spinning is better (less noisy) after specifying the kernel parameters.
Thanks
Last edited by fm (2012-01-06 13:43:05) -
Question about Nokia 206 Messaging
hi everybody
i have another question about nokia 206
where is template messages ?AFAIK this is not supported it would be under messaging if so.
If i have helped at all a click on the white star below would be nice thanks.
Now using the Lumia 1520 -
Every time I go to Mozilla I get an error message which says "www.netregistry.com.au:443 uses an invalid security certificate. The certificate is not trusted because no issuer chain was provided." I have checked wit netregistry and there is not an issue on their end and we determined there is an issue with Mozilla. Could you please advise why this message is coming up. It has only been happening for the past 3 weeks.
Thanks
RosaDisable the 1ClickWeather add-on.
-
A question about an error after changing FSB
Here is what I am running
MSI K7T266 Pro
AMD Athlon Thunderbird 1.4ghz processor
512 DDR RAM
Geforce 3 Ti 500
Intel 21041-Based PCI Ethernet Adapter (Generic) #2
Now I loaded my FSB at 100 and it runs fine but only at 1.050 ghz instead of 1.4.
I try running at 133 FSB and it runs at 1.4 till I try to install anything and it crashes my computer and corrupts my HDD and gives me a 'serious error' message of:
BCCode : d1 BCP1 : FFFFFFA3 BCP2 : 00000010 BCP3 : 00000001
BCP4 : F81EB965 OSVer : 5_1_2600 SP : 0_0 Product : 768_1
Now I want to know what this means?
I cleared my CMOS and now I only got the error message once when I tried to install the drivers for my sound card. and I can install DOOM 3 now without getting the reboot and 'serious error' message.Quote
Originally posted by GuyOne
Yes, PC2100.
How do I run that memtest program? I cannot figure it out.
The latest memtest86 installer/extractor creates its own boot diskette (with its own boot files). Just boot with the diskette, memtest86 does its thing, no user interaction required.
Alternatively, an .ISO image is now available that is suitable for creating a self-booting memtest86 CD. -
Is there any body meetting that error message "java.lang.IllegalStateException: Response has already been committed"?
I couldn't find where the error is.
Could you give me a help?
Thanks for that.
joyceHi,
The IllegalStateException in a servlet is thrown when some information has already been sent to the client and then if you try to forward or redirect or include a page.
You can check it in your JSP code.
Maybe you are looking for
-
How to use CreateViewObject in the *_Query.jsp
I want to use CreateViewObject to make my _Query.jsp file. But I don't know how to set Queriable field. Please help me!!!! Please give me a example about using setQueriable. my jsp file is : <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %> <%@
-
Advices about creating a datasource from an infoset query
Hi all, i have to create a datasource with extraction from an infoset query in R3, i have many questions: 1- i have heard about the bad performance using a Datasource from an Infoset query, how can i improve this? 2- The infoset query doesnt exist in
-
Chapters work in "Simulate" mode, but not on disk
Hello, I have a project in DVDSP 4.1.2 which was created by someone else, then abandoned at the last minute. Some of the files were missing, so I had to recreate the main movie by re-exporting it from Final Cut Pro to Compressor, then relink it witho
-
HT3743 Unlocked 3G blocked in recovery mode
I have unlocked my old 3G phone and have used a Tmobile sim card successfully for over a year, but now the phone won't work and is blocked in recovery mode after I responded to an Apple update messages. Suggestions?
-
Accessing an executable as an CGI
Hello, We have an (windows) executable as a CGI. It is used it multiple applications. How do we execute this from our web applications. It worked fine when we used Apache/Tomcat. Since it is the only 'static' thing we want to get rid of Apache and do