Search Forums by tag:
Serial, mbed, compiler, ethernet, USB, I2C, SPI, interrupt, LCD, library, bug, HTTPServer, CAN, adc, AnalogIn, memory, SD Card, InterruptIn, rpc, Power, SDFileSystem, Ticker, canbus, driver, editor, Error, LocalFileSystem, UART, libraries, TCP, GPS, PwmOut, timer, pwm, file, website, accelerometer, C++, led, reset, SDCard, RTC, interrupts, clock, DigitalIn, TCPSocket, frequency, Java, http, buffer, DMA, SD, flash, HTTPClient, pinball, MODSERIAL, problem, printf, compile, filesystem, SerialPC, RFID, beta, LPC1768, rtos, newbie, digitalOut, Servo, UDP, audio, LPC11U24, RPCFunction, EthernetNetIf, NetServices, m3pi, Download, write, socket, multiple, array, sensor, keil, MATLAB, Forum, offline, debug, hardware, Board, I2S, dead, Sleep, xbee, Nokia6610, AnalogOut, tcp/ip, SPI Slave, code, voltage, wait, network, read, suggestion, dac, JTAG, string, pc, keyboard, copy, GPRS, lwip, Speed, DHCP, Data Logging, windows, time, current, MODDMA, mp3, C, gcc, attach, fatfilesystem, USB Host, publish, assembly, stepper motor, WavePlayer, camera, size, VGA, import, documentation, baud, bluetooth, TextLCD, firmware, M0, pullup, Relay, timing, pololu, MIDI, compiler error codes, magjack, client, robot, Communication, stream, HID, breakout, FIFO, prototype, GPIO, sampling, display, api, binary, filter, ADXL345, program, DSP, help, sram, class, suggestions, email, PING, arduino, rs232, link, wifi, Nokia, browser, control, Host, Eagle, Modbus, ide, linux, port, updates, Cortex-M0, WiFly, DMX, files, scanf, protocol, PPP, FTP, integer, function, latency, serial port, modem, motors, for, monitor, malloc, Digital I/O, Production, 7, keypad, FAT, classes, server, webserver, delay, variables, flashing, time-triggered, PCB, c programming, Analog, labview, watchdog, Encoder, post, math, LPCXpresso, MBED website, GSM, storage, nxp, mobileLCD, license, Terminal, int, counter, baseboard, rj45, EEPROM, E289, mac, Timeout, news, connect, pointers, Optocoupler, Robotics, search, USBMIDI, glitch, find, real-time, format, slave, driverlibrary, MODGPS, processing, networking, ID, umts, float, color, BUTTON, Images, wave, bin, const, OSX, supply, peripheral, sensors, touch, screen, RIT, character, bus, ARM, SRF08, heap, output, basic, piezo, pins, ID12, Pachube, player, DigitalInOut, object, capture, slow, PSP, OS, syntax, mbed.lib, EmbeddedArtists, NMEA, paste, project, GUI, UART0, firefox, motor, SQL, RAM, 3D, bugs, OLED, Temperature, not, I/O, Bidirectional, rss, resolved, Pin, Assembler, LED1, LIS302, getc, Safari, Vin, wiki, registers, PS2, fopen, BusOut, projects, RS485, pythonHi Balint,
This looks like you've got a typo in one of your own files, but the compiler only actually sees the problem when it comes to the next bit of code in the standard C library. This is something that in C is quite common; the cause of the error is actually something before what the compiler can identify.
For example, if I compile:
int foo(int x)
#include "stdio.h"
int main() {} The error I get is: "Expected a "{" (E130)" in file .../stdio.h
Now, the error is certainly not in stdio; thats a C libray which is part of the arm compiler package (very unlikely to have a problem!).
The actual problem is that the compiler parsed "int foo(int x)", then is going to be looking for a ";" or a "{" (a function prototype, or the start of a definition of a function). It continues in to stdio.h because of the #include; you can think of #include as basically copy/pasting the contents of the #included file in to the current one). It'll find something else than it expects, hence reporting the error.
So i'd be looking at your code for something like a missing { or ;.
Yeah, this message is not the most friendly; it means that file is not part of your project (i.e. it is part of the core compiler libraries). I'll ticket that to make it a little more user friendly!Balint Barki wrote:
And if I double-click on them I got the following message box: "Unknown error accessing program!"
Hope this helps you track down your problem.
Simon
Please log in to post a reply.

No tags
|

Hello!
My compiler gives these messages:
"Expected a "{" (E130)" in file "/opt/RVDS4/RVCT/Data/4.0/400/include/unix/stdlib.h"
"Parsing restarts here after previous syntax error" in file "/RemoteControlNode/lib/lwip_precomp/Core/lwIP/include/lwip/arch.h"
"Identifier "u16_t" is undefined (E20)" in file "/RemoteControlNode/lib/lwip_precomp/Core/lwIP/include/lwip/mem.h"
"Identifier "u16_t" is undefined (E20)" in file "/RemoteControlNode/lib/lwip_precomp/Core/lwIP/include/lwip/memp.h"
...
And if I double-click on them I got the following message box:
"Unknown error accessing program!"
What the heck is this????