- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I wanted to use regular expressions with C or C++ for the Nios. My code gets compiled but the linker gives an undefined reference to regcomp and regexec. Doe anyone have a clue to solve this issue? thanks in advanceLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you include all the required headers ( e.g. regex.h, stdio.h, stdlib.h ) ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Did you include all the required headers ( e.g. regex.h, stdio.h, stdlib.h ) ? --- Quote End --- It is not built into the precompiled newlib. That is the reason. For some reason I was even not able to compile it into a customized newlib. I used http://www.pcre.org/ and built it as a nios library. regards

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