View previous topic :: View next topic |
Author |
Message |
dkl n00b
Joined: 12 Nov 2004 Posts: 8 Location: Laval (France)
|
Posted: Fri Nov 12, 2004 5:00 pm Post subject: [emerge][mysql] probleme emerge mysql (résolu) |
|
|
J'obtiens le message d'erreur suivant lors de l'installation de mysql :
Code: |
libmysql.c: In function `mysql_real_connect':
libmysql.c:1862: warning: passing arg 5 of `gethostbyname_r' from incompatible pointer type
libmysql.c:1862: error: too few arguments to function `gethostbyname_r'
libmysql.c:1862: warning: assignment makes pointer from integer without a cast
make[2]: *** [libmysql.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
gcc -DDEFAULT_CHARSET_HOME=\"/usr\" -DDATADIR=\"/var/lib/mysql\" -DSHAREDIR=\"/usr/share/mysql\" -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -march=athlon-xp -pipe -O2 -mcpu=i686 -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS -MT manager.lo -MD -MP -MF .deps/manager.Tpo -c manager.c -fPIC -DPIC -o .libs/manager.o
manager.c: In function `mysql_manager_connect':
manager.c:134: warning: passing arg 5 of `gethostbyname_r' from incompatible pointer type
manager.c:134: error: too few arguments to function `gethostbyname_r'
manager.c:134: warning: assignment makes pointer from integer without a cast
make[2]: *** [manager.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/mysql-4.0.22/work/mysql-4.0.22/libmysql_r'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql-4.0.22/work/mysql-4.0.22'
make: *** [all] Error 2
!!! ERROR: dev-db/mysql-4.0.22 failed.
!!! Function src_compile, Line 160, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.
|
Je débute sur linux, et j'avoue ne pas savoir quoi faire face a ca. J'ai eu des problemes a peu pres similaires sur d'autres applications que j'ai pu résoudre grace a bugzilla, mais je ne trouve pas grand chose correspondant a cette erreur. Je pense que ca parle de la libmysql, et que mon erreur viendrais peut-etre de ca. (slocate libmysql n'a rien trouvé)
Si quelqu'un a une solution, je ne suis pas contre du tout, et je l'en remercie d'avance =)
Last edited by dkl on Fri Nov 19, 2004 12:52 am; edited 3 times in total |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Fri Nov 12, 2004 5:04 pm Post subject: |
|
|
[IMPORTANT] Comment se servir du forum !! _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
dkl n00b
Joined: 12 Nov 2004 Posts: 8 Location: Laval (France)
|
Posted: Thu Nov 18, 2004 11:39 pm Post subject: |
|
|
oops, désolé, j'ai corrigé ! :p
J'ai regardé un peu partout encore une fois pour être bien sur, mais je n'ai rien trouvé à ce sujet... Je suis en train de me demander si le problème ne vient pas de mes options de compilations. Je vais y jeter un oeil.
[UPDATE] bah ouais... gcc-config i686-pc-linux-gnu-3.4.3
Je sais pas si c'est utile de laisser ca sur le forum du coup, je pense que les modérateurs peuvent effacer ce thread... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|