How to add a archive file

#1

How to add a new archive file OpenAT project?

I add my own library (libhello.a) in the folowing params;
-rootlib C:/mylib/libhello -inc C:/mylib/libhello/inc -libpref libhello

and Im getting errors;
have you got a any idea?
Gokhan

//
d:\Projects_OpenAT\rhapsody\Hello_World_Lib\LoadIde.bat -p wmmake -RTE -c

Loading Open AT IDE…

Done.

Loading project settings…

done.

Updating Hello_World.mak file from Software Common Settings…

Done.

Loading project settings…

done.

Updating libhello.mak file from Software Common Settings…

Done.

Building mingw_libhello_256KB project…

Launch a full library or binary process

Cleaning object files (*.o)

Cleaning binary files (*.bin / *.axf / .elf / .wpb / s, m)

Remove TMT resources in …/out/tmt

Cleaning status files report (*.log)

Cleaning errors files (*.lst / *.err / *.gpp)


Cleaning temporary files (*.tmp / *.trc)


Deleting local sources files (.c/.cpp)

Deleting local assembler files (*.asm)

Deleting local header files (.h, *.i)

Deleting mmi scenarii if exist (*.sce)

Deleting all csn1 description files if exist (*.csn, *.cso)


Cleaning sources list file (…/out/mingw_libhello_256KB.src)

                           (../out/mingw_libhello_256KB_csn.src)

Cleaning filtering file (…/out/mingw_libhello_256KB.flt)

Cleaning dependencies file (…/out/mingw_libhello_256KB.dep)

                           (../out/mingw_libhello_256KB_asm.dep

                           (../out/mingw_libhello_256KB_sce.dep)

                           (../out/mingw_libhello_256KB_csn.dep)





Launch a full library or binary process

** No source list have been defined :

** dependencies have been inhibed


… Build sources filtering rules for mingw_libhello_256KB

../out/mingw_libhello_256KB.flt


Copy all needed library and object files

Make links C:/OpenAT/OS/4.23.02/ADL/rte_wmadl_4.23.0.2.0.lib …/out/rte_wmadl_4.23.0.2.0.lib


… Link step in progress …

… Link mingw_libhello_256KB.bin …

make.exe: *** [make_single_bin] Error 1

rte_wmadl_4.23.0.2.0.lib(./rte/vc6/Release/adl_AppliInit.obj)(.rdata+0x0):U:\projet\gsmmi\in: undefined reference to `wm_apmCustomStackSize’

rte_wmadl_4.23.0.2.0.lib(./rte/vc6/Release/adl_AppliInit.obj)(.text+0x29b):U:\projet\gsmmi\in: undefined reference to `adl_main’

Done.

Updating RTE kernel file…

no generated DLL found…

[wmmake error #1] Build error.

0 Likes

#2

It looks like wmmake is trying to build an application, not a library. If you’re using wmnew, use the -lib parameter. If you’re using the Porject Wizard, select the Project Type: Library radio button.

0 Likes