← 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:
The libraries seem to be found correctly, but there is something wrong
during the link... Could you send me the output of the following
commands:

$ uname -m -i
$ gcc --version
$ ld --version
$ file /usr/local/lib/librohc_*
$ cd rohc-1.6.1/examples/        # go to the examples/ directory
$ rm -f simple_rohc_program.o simple_rohc_program
$ gcc -c -o simple_rohc_program.o -g -Wall \
   $( PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ pkg-config rohc --cflags ) \
   simple_rohc_program.c
$ file simple_rohc_program.o
$ gcc -Wl,--verbose -o simple_rohc_program \
    $( PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ pkg-config rohc --libs ) \
    simple_rohc_program.o
$ file simple_rohc_program

And what Linux distribution do you use?

Regards,
Didier

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