Ryan Mansfield(deleted)
|
Re: Porting linux compatible code on qnx
|
Ryan Mansfield(deleted)
06/09/2009 11:39 AM
post31234
|
Re: Porting linux compatible code on qnx
aditya vikram wrote:
> Hi All,
> I am trying to port strongswan ipsec stack on qnx/arm.The code is written for linux 2.6 kernel.I am facing many
problems while compiling the stack some of them are:
> 2)-rdynamic : option in Makefile is unrecognized
Replace -rdynamic with -Wl,--export-dynamic.
The other two missing headers will require you to port your code to
Neutrino. I'd suggest reading the documentation.
Regards,
Ryan Mansfield
|
|
|
Attilla Danko(deleted)
|
Re: Porting linux compatible code on qnx
|
Attilla Danko(deleted)
06/09/2009 11:50 AM
post31237
|
Re: Porting linux compatible code on qnx
1. getopt() is located in unistd.h
2. prctl is linux only. QNX has a different set of operations on processes. You'll probably have to rewrite the code to
use the QNX operations. Have a looks at the posix_* functions in the qnx library reference.
aditya vikram wrote:
> Hi All,
> I am trying to port strongswan ipsec stack on qnx/arm.The code is written for linux 2.6 kernel.I am facing many
problems while compiling the stack some of them are:
>
> 1)getopt.h file is not present.
>
> 2)-rdynamic : option in Makefile is unrecognized
> 3) sys/prctl.h:file is not present.
>
> so how can I resolve these issues.
>
> Please help me I am new to UNIX/QNX world.
>
> Regards
> Aditya
>
>
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post31233
>
|
|
|