Results 1 to 3 of 3

Thread: regular expressions with Nios

  1. #1
    Join Date
    Jul 2009
    Posts
    71
    Rep Power
    1

    Default regular expressions with Nios

    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 advance

  2. #2
    Join Date
    Feb 2015
    Location
    Portugal
    Posts
    95
    Rep Power
    1

    Default Re: regular expressions with Nios

    Did you include all the required headers ( e.g. regex.h, stdio.h, stdlib.h ) ?

  3. #3
    Join Date
    Jul 2009
    Posts
    71
    Rep Power
    1

    Default Re: regular expressions with Nios

    Quote Originally Posted by andre_teprom View Post
    Did you include all the required headers ( e.g. regex.h, stdio.h, stdlib.h ) ?
    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

Similar Threads

  1. How to go from time-limited SOF to regular SOF file?
    By mbp2014 in forum General Altera Discussion
    Replies: 3
    Last Post: March 20th, 2015, 01:28 PM
  2. Replies: 10
    Last Post: February 28th, 2013, 01:14 AM
  3. Linux device Driver for PCIe w/ regular DMA
    By RocKev in forum Development Kit Related
    Replies: 1
    Last Post: October 26th, 2012, 09:34 AM
  4. using VREF as regular I/Os
    By xujia1986 in forum Shared Material
    Replies: 3
    Last Post: January 20th, 2010, 11:08 AM
  5. Difference between dedicated clock output pins & regular I/O?
    By nios2nitro in forum FPGA, Hardcopy, and CPLD Discussion
    Replies: 3
    Last Post: November 4th, 2009, 09:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •