Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente |
asir [2007/11/04 07:43] – créée gerard | asir [2017/08/25 09:56] (Version actuelle) – modification externe 127.0.0.1 |
---|
| |
</code> | </code> |
| |
| on va essayer de compiler manuellement: |
| <code> |
| nemo-henry% cd parse/ |
| /local/henry/asir2000/parse |
| nemo-henry% make gc_risa.o |
| source='gc_risa.c' object='gc_risa.o' libtool=no \ |
| depfile='.deps/gc_risa.Po' tmpdepfile='.deps/gc_risa.TPo' \ |
| depmode=gcc3 /bin/bash ../depcomp \ |
| gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"asir\" -DVERSION=\"20030307\" -DHMEXT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNSIGNED_LONG_LONG=1 -DSIZEOF_LONG=4 -DLONG_IS_32BIT=1 -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 -DASIR_LIBDIR=\"/usr/local/lib/asir\" -I. -I. -I../include -I../parse -I../io -I../gc/include -I/usr/openwin/include -g -O -c `test -f gc_risa.c || echo './'`gc_risa.c |
| nemo-henry% file gc_risa.o |
| gc_risa.o: ELF 32-bit LSB relocatable 80386 Version 1 |
| nemo-henry% cp ~/logiciels/lib/libgc.a libasir-gc.a |
| nemo-henry% ar q libasir-gc.a parse/gc_risa.o |
| nemo-henry% ranlib parse/libparse.a |
| |
| nemo-henry% |
| </code> |
| |
| autre problèmes: |
| <code> |
| Undefined first referenced |
| symbol in file |
| sched_yield libasir-gc.a(pthread_support.o) |
| sem_destroy libasir-gc.a(pthread_support.o) |
| ... |
| </code> |
| cela vient de l'oubli des librairies suivantes: -lpthread -lrt |