← 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: Needs information => Open

manish shivare gave more information on the question:
hello sir,
thanks for reply. this is log according to your suggestion.
manish@manish-HP-630-Notebook-PC:~$ uname -m -i
i686 i686
manish@manish-HP-630-Notebook-PC:~$ gcc --version
gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
manish@manish-HP-630-Notebook-PC:~$ file /usr/local/lib/librohc_*
/usr/local/lib/librohc_common.la:       libtool library file,
/usr/local/lib/librohc_common.so:       symbolic link to
`librohc_common.so.0.1.0'
/usr/local/lib/librohc_common.so.0:     symbolic link to
`librohc_common.so.0.1.0'
/usr/local/lib/librohc_common.so.0.1.0: ELF 32-bit LSB shared object, Intel
80386, version 1 (SYSV), dynamically linked,
BuildID[sha1]=0xcc9d8a2a2c467c26c4d468056bc9ec2fef5abcbc, not stripped
/usr/local/lib/librohc_comp.la:         libtool library file,
/usr/local/lib/librohc_comp.so:         symbolic link to
`librohc_comp.so.0.1.0'
/usr/local/lib/librohc_comp.so.0:       symbolic link to
`librohc_comp.so.0.1.0'
/usr/local/lib/librohc_comp.so.0.1.0:   ELF 32-bit LSB shared object, Intel
80386, version 1 (SYSV), dynamically linked,
BuildID[sha1]=0x733e346ddd99243e259f7f5efe99638ea3bb5ef0, not stripped
/usr/local/lib/librohc_decomp.la:       libtool library file,
/usr/local/lib/librohc_decomp.so:       symbolic link to
`librohc_decomp.so.0.1.0'
/usr/local/lib/librohc_decomp.so.0:     symbolic link to
`librohc_decomp.so.0.1.0'
/usr/local/lib/librohc_decomp.so.0.1.0: ELF 32-bit LSB shared object, Intel
80386, version 1 (SYSV), dynamically linked,
BuildID[sha1]=0x294f93b75c4a06ad40ee3ecd28d6e6c23ae3072c, not stripped
manish@manish-HP-630-Notebook-PC:~$ cd rohc-1.6.1/examples/
manish@manish-HP-630-Notebook-PC:~/rohc-1.6.1/examples$ rm -f
simple_rohc_program.o simple_rohc_program
manish@manish-HP-630-Notebook-PC:~/rohc-1.6.1/examples$ gcc -c -o
simple_rohc_program.o -g -Wall    $(
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ pkg-config rohc --cflags )
simple_rohc_program.c
manish@manish-HP-630-Notebook-PC:~/rohc-1.6.1/examples$ file
simple_rohc_program.o
simple_rohc_program.o: ELF 32-bit LSB relocatable, Intel 80386, version 1
(SYSV), not stripped
manish@manish-HP-630-Notebook-PC:~/rohc-1.6.1/examples$ file
simple_rohc_program
simple_rohc_program: ERROR: cannot open `simple_rohc_program' (No such file
or directory)
i am using ubuntu 12.10 and os type 32-bit.
waiting for your reply.




On Wed, Sep 4, 2013 at 2:16 AM, Didier Barvaux <
question234832@xxxxxxxxxxxxxxxxxxxxx> wrote:

> 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.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~rohc
> Post to     : rohc@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~rohc
> More help   : https://help.launchpad.net/ListHelp
>

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