Cytat
libmysql.c: In function `mysql_real_connect':
libmysql.c:1786: warning: passing arg 5 of `gethostbyname_r' from incompatible pointer type
libmysql.c:1786: error: too few arguments to function `gethostbyname_r'
libmysql.c:1786: warning: assignment makes pointer from integer without a cast
make[2]: *** [libmysql.lo] Błąd 1
make[2]: Leaving directory `/usr/local/src/mysql-4.0.16/libmysql'
make[1]: *** [all-recursive] Błąd 1
make[1]: Leaving directory `/usr/local/src/mysql-4.0.16'
make: *** [all] Błąd 2
libmysql.c:1786: warning: passing arg 5 of `gethostbyname_r' from incompatible pointer type
libmysql.c:1786: error: too few arguments to function `gethostbyname_r'
libmysql.c:1786: warning: assignment makes pointer from integer without a cast
make[2]: *** [libmysql.lo] Błąd 1
make[2]: Leaving directory `/usr/local/src/mysql-4.0.16/libmysql'
make[1]: *** [all-recursive] Błąd 1
make[1]: Leaving directory `/usr/local/src/mysql-4.0.16'
make: *** [all] Błąd 2
probowalem instalowac z rpm ale przy kompilacji php nalezy podac sciezke do mysql, a rpm chyba tylko binarki instaluje, wogole to jest jakies inne... :? w kazdym razie nie ma jakiegos katalogu domowego (whereis zwraca tylko katalogi z libami i share).
pomyslalem wiec ze skompiluje ze zrodelek i bedzie lux, ale tego sie nie spodziewalem :? nie wiem co robic, plz pomozcie.
aha, mam gcc 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)