From: Lionel C. <lio...@fr...> - 2004-11-08 21:53:44
|
Jan, oops code is wrong. It should be like this to compile ok : << #ifdef __cplusplus extern "C" { #endif=A0 /* __cplusplus */ void inertias( SCALAR dt, int Initialize ); void subsystems( SCALAR dt, int Initialize ); void aero( SCALAR dt, int Initialize ); void engine( SCALAR dt, int Initialize ); void gear( SCALAR dt, int Initialize ); #ifdef __cplusplus } #endif // __cplusplus >> Le 8 nov. 04, =E0 21:12, Lionel Cailler a =E9crit : > Hello Jan, > > Is this linker error due to herebelow code present in=20 > default_model_routines.h ? See below an extract. > > Please refer to http://crrcsim.sourceforge.net/crrcsim.changelog.txt ,=20= > changelog made the 2004-11-06 00:22 on this file. > > Lionel > > << > > > #ifdef __cplusplus > extern "C" { > void inertias( SCALAR dt, int Initialize ); > void subsystems( SCALAR dt, int Initialize ); > void aero( SCALAR dt, int Initialize ); > void engine( SCALAR dt, int Initialize ); > void gear( SCALAR dt, int Initialize ); > } > #endif // __cplusplus > > >> > > D=E9but du message r=E9exp=E9di=E9 : > >> De: Jan Kansky <ka...@ll...> >> Date: 8 novembre 2004 20:34:01 GMT+01:00 >> =C0: crr...@li... >> Objet: [Crrcsim-devel] Linking problem. >> >> For some reason the latest CVS code wasn't linking properly. It >> was complaining about not being able to find the functions aero() >> and engine(). I verified that the object files containing those >> routines were included in the call the linker, so I'm not sure >> what the problem is. Does anybody else have this problem? >> -Jan >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: >> Sybase ASE Linux Express Edition - download now for FREE >> LinuxWorld Reader's Choice Award Winner for best database on Linux. >> http://ads.osdn.com/?ad_id=3D5588&alloc_id=3D12065&op=3Dclick >> _______________________________________________ >> Crrcsim-devel mailing list >> Crr...@li... >> https://lists.sourceforge.net/lists/listinfo/crrcsim-devel >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id=12065&op=3Dclick > _______________________________________________ > Crrcsim-devel mailing list > Crr...@li... > https://lists.sourceforge.net/lists/listinfo/crrcsim-devel > |