From: DINH V. H. <din...@fr...> - 2005-07-23 17:26:26
|
On 23 Jul 2005, at 19:06, Alex S Moore wrote: > I am trying to build libetpan 0.38 on Solaris 8 using Sun's > compiler. However, I am getting the following error and do not know > how to fix it. Can someone create a patch to fix this? > > --- > cc -c -I../../include -I../.. -I. -fast -xarch=v8 -I/opt/csw/bdb4/ > include -I/opt/csw/include -D_REENTRANT -DHAVE_CONFIG_H > mailstream.c -KPIC -DPIC -o .libs/mailstream.o > "mailstream.c", line 402: syntax error before or at: . > cc: acomp failed for mailstream.c > *** Error code 1 > make: Fatal error: Command failed for target `mailstream.lo' > Current working directory /export/medusa/asmoore/build/ > libetpan-0.38/src/data-types > *** Error code 1 > --- You will see much problems like this. They will be surrounded by such defines. #ifdef _MSC_VER #else #endif Just replace "#ifdef _MSC_VER" with "#if 1". You may try to use gcc to compile. However, I'll try to find write some fix for Sun Compiler. Whenever there is constant structures defined this way, you may use _MSC_VER alternative. And tell about the result. -- DINH Viet Hoa |