← Back to team overview

rohc team mailing list archive

Re: [Question #234832]: compilation error

 

Question #234832 on rohc changed:
https://answers.launchpad.net/rohc/+question/234832

    Status: Open => Needs information

Didier Barvaux requested more information:
Could you please try with another installation?

$ mkdir /tmp/rohc_sources
$ cd /tmp/rohc_sources
$ wget https://launchpad.net/rohc/1.6.x/1.6.1/+download/rohc-1.6.1.tar.bz2
$ tar -xjf rohc-1.6.1.tar.bz2
$ cd rohc-1.6.1
$ ./configure --prefix=/tmp/rohc_install/
$ make clean all install
$ cd ..
$ cat > test_rohc_common.c << EOF
> #include <stdlib.h>
>  #include <stdio.h>
> #include <rohc.h>
>
> int main(int argc, char **argv)
> {
>  printf("ROHC version %s\n", rohc_version());
> return 0;
>
> }
> EOF
$ gcc -o test_rohc_common -g -Wall -I/tmp/rohc_install/include \
    -lrohc_common  -L/tmp/rohc_install/lib/ test_rohc_common.c
$ file ./test_rohc_common
$ LD_LIBRARY_PATH=/tmp/rohc_install/lib/ ./test_rohc_common

-- 
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.