- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi here is my story http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif
I am a beginner in programming Stratix and Nios IDE.. before 2 month i did the build hardware tutorial. I build an Sof file and then i did in the nios IDE an example programm "count_binary". I compiled it and dl to the stratix 2 board. Everything went fine. But now after installing the lwip and linux.1.4 packages i tried to compile this programm again. I want to add it to the linux file system and upload it to test if it also works under linux to comminucate with the hardware. (like blinking leds) But now the following problem occurs and i dont know how to resolve it. Its just the standart Application count_binary and i did not change anything else i think. : So does anybody knbow whats wrong now? here is the error message: make -s all Compiling alt_busy_sleep.c... In file included from /cygdrive/e/altera/kits/nios2/components/altera_nios2/HAL/src/alt_busy_sleep.c:44: /cygdrive/e/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/include/limits.h:125:26: no include path in which to search for limits.h /cygdrive/e/altera/kits/nios2/components/altera_nios2/HAL/src/alt_busy_sleep.c: In function `alt_busy_sleep': /cygdrive/e/altera/kits/nios2/components/altera_nios2/HAL/src/alt_busy_sleep.c:68: error: `INT_MAX' undeclared (first use in this function) /cygdrive/e/altera/kits/nios2/components/altera_nios2/HAL/src/alt_busy_sleep.c:68: error: (Each undeclared identifier is reported only once /cygdrive/e/altera/kits/nios2/components/altera_nios2/HAL/src/alt_busy_sleep.c:68: error: for each function it appears in.) make[1]: *** [obj/alt_busy_sleep.o] Error 1 make: *** [system_project] Error 2 Build completedLink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you send me the output from the build process for the system library when you run it from the commandline?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page