witam,
przegladajac ostatnio ekg-devel trafilem na program do przegladania
historii o nazwie "ehg". mam problem z kompilacja na SunOs:
[EMAIL PROTECTED]:~/ehg (112) > gmake
gcc ehg.c -o ehg -lcurses
ehg.c: In function `read_setup':
ehg.c:184: warning: assignment makes pointer from integer without a cast
ehg.c:189: warning: assignment makes pointer from integer without a cast
ehg.c: In function `load_history':
ehg.c:331: warning: assignment makes pointer from integer without a cast
ehg.c:345: warning: assignment makes pointer from integer without a cast
ehg.c:354: warning: assignment makes pointer from integer without a cast
ehg.c:364: warning: assignment makes pointer from integer without a cast
ehg.c:369: warning: assignment makes pointer from integer without a cast
ehg.c: In function `draw_history':
ehg.c:541: warning: passing arg 1 of `localtime' from incompatible pointer
type
ehg.c:569: warning: passing arg 1 of `localtime' from incompatible pointer
type
Undefined first referenced
symbol in file
strsep /var/tmp//ccYEsuCr.o
strcasestr /var/tmp//ccYEsuCr.o
ld: fatal: Symbol referencing errors. No output written to ehg
collect2: ld returned 1 exit status
gmake: *** [ehg] Error 1
na linuksie sie kompiluje. probowalem kontaktowac sie z autorem (email
podany w pliku ze zrodlem programu) jednak adres jest juz chyba
nieaktualny. pomoze ktos znalezc przyczyne bledu?
uname -a: SunOS student 5.10 Generic_Patch_118844-30 i86pc i386 i86pc
a zrodla samego programu: http://student.agh.edu.pl/~zigi/ehg.tar.gz
pozdrawiam.
--
Szymon Zygmunt
[gg:1302185]