Re: [hatari-devel] Error while compiling current hatari

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

Building latest Hatari works fine for me on Linux with GCC.

What OS and compiler you're using for building?


	- Eero

On 08/20/2016 02:18 PM, Laurent Sallafranque wrote:
Hi all,

I wanted to give a try to the current hatari version (I'm very
interrested by Nicolas's changes about cycles for 16 Mhz machines) and
the accuracy we'll be able to improve now.

But I get some compiling errors and warnings :


[ 85%] Building C object src/CMakeFiles/hatari.dir/utils.c.o
[ 85%] Building C object src/CMakeFiles/hatari.dir/vdi.c.o
[ 86%] Building C object src/CMakeFiles/hatari.dir/video.c.o
/home/laurent/Atari/hatari/src/video.c: In function ‘Video_InitTimings’:
/home/laurent/Atari/hatari/src/video.c:818:7: warning: unused variable
‘i’ [-Wunused-variable]
  int  i;
       ^
/home/laurent/Atari/hatari/src/video.c: At top level:
/home/laurent/Atari/hatari/src/video.c:990:13: warning:
‘Video_InitTimings_Round’ defined but not used [-Wunused-function]
 static void Video_InitTimings_Round ( VIDEO_TIMING *pSrc )
             ^
/home/laurent/Atari/hatari/src/video.c:658:13: warning:
‘Video_Sync_SetDefaultStartEnd’ declared ‘static’ but never defined
[-Wunused-function]
 static void Video_Sync_SetDefaultStartEnd ( Uint8 Freq , int
HblCounterVideo ,
             ^
[ 87%] Building C object src/CMakeFiles/hatari.dir/wavFormat.c.o
[ 87%] Building C object src/CMakeFiles/hatari.dir/xbios.c.o
[ 88%] Building C object src/CMakeFiles/hatari.dir/ymFormat.c.o
[ 88%] Building C object src/CMakeFiles/hatari.dir/unzip.c.o
[ 89%] Linking C executable hatari
/media/Win_NTFS/Data_Laurent/Jeux/Atari/DiskDur.FAL/Thadoss/C_coding/VBCC_Linux/lib/libm.a
: erreur lors de l'ajout de symboles : L'archive n'a pas d'index;
exécuter ranlib pour en ajouter un
collect2: error: ld returned 1 exit status
src/CMakeFiles/hatari.dir/build.make:1759 : la recette pour la cible «
src/hatari » a échouée
make[2]: *** [src/hatari] Erreur 1
CMakeFiles/Makefile2:203 : la recette pour la cible «
src/CMakeFiles/hatari.dir/all » a échouée
make[1]: *** [src/CMakeFiles/hatari.dir/all] Erreur 2
Makefile:127 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2


I try to translate some french messages :

erreur lors de l'ajout de symboles : L'archive n'a pas d'index;
exécuter ranlib pour en ajouter un :

Error while adding symbols : the archive has no index; execute ranlib to
add one


la recette pour la cible « src/hatari » a échouée

The taget for "src/hatari" has failed



Regards

Laurent







Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/