Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: Getting Redefinition Error
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 13 Oct 2020 12:43:55 +0200 (CEST)
On Tue, 13 Oct 2020, T V LIJIN (EXT) via curl-library wrote:
> Since I'm new to this and want Curl to be ported for RTOS , is there any
> porting manual / guide available with you , that can be shared , so that I
> can follow the steps mentioned in it.
There is none. I wouldn't really know how to write it. My process goes like
this:
1) fix curl/system.h
2) create a lib/config-[os].h file.
3) adjust those two until everything builds
... unless you run into a snag and have to step outside of the "easy route"
and fix something else.
I could mention that the tiny-curl branch (https://curl.haxx.se/tiny/) has
some additional/separate changes applied that in my opinion makes it slightly
easier to port to more RTOSes - especially if they're not POSIX complient.
> Because while defining BUILDING_LIBCURL , I'm encountered with certain
> linker errors.
I believe the base64 problems have been fixed in git already. The others I
don't recognize off the top of my head.
Date: Tue, 13 Oct 2020 12:43:55 +0200 (CEST)
On Tue, 13 Oct 2020, T V LIJIN (EXT) via curl-library wrote:
> Since I'm new to this and want Curl to be ported for RTOS , is there any
> porting manual / guide available with you , that can be shared , so that I
> can follow the steps mentioned in it.
There is none. I wouldn't really know how to write it. My process goes like
this:
1) fix curl/system.h
2) create a lib/config-[os].h file.
3) adjust those two until everything builds
... unless you run into a snag and have to step outside of the "easy route"
and fix something else.
I could mention that the tiny-curl branch (https://curl.haxx.se/tiny/) has
some additional/separate changes applied that in my opinion makes it slightly
easier to port to more RTOSes - especially if they're not POSIX complient.
> Because while defining BUILDING_LIBCURL , I'm encountered with certain
> linker errors.
I believe the base64 problems have been fixed in git already. The others I
don't recognize off the top of my head.
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://www.wolfssl.com/contact/ ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2020-10-13