compile MudOS using gcc41

為了讓 compile 時不要看到那麼多 warning
因此依照下列方式作了一些修改
GNUmakefile
  compile lex.c 使用 -trigraphs 參數

system_libs
  增加 -L/usr/local/lib -liconv (for PACKAGE_ICONV)
  增加 -L/usr/local/lib/mysql lmysqlclient  (for PACKAGE_DB)

sprintf.c
  195: if (error && state->obuff.buffer) {
  刪除 error

edit_source.c
  增加 #include stdlib.h

comm.c
  init_user_conn()
  size_t declaration problem
  
  new_user_handler()
  size_t declaration problem

socket_efuns.c
  socket_bind()
  size_t declaration problem
  
  socket_accept()
  size_t declaration problem
  
  socket_read_select_handler()
  size_t declaration problem

packages/chinese.c
  g2b()
  b2g()
  unsigned char declaration problem
  
packages/chinese.h
  g2b()
  b2g()
  unsigned char declaration problem
  
packages/contrib.c
  f_remove_fringe_blanks() unsigned char declaration problem
  
packages/ansi.c
  f_kill_repeat_ansi()
  f_remove_ansi()
  rally_ansi()
  unsigned char declaration problem

packages/iconv.c
  f_iconv_string()
  unsigned char, size_t declaration problem

packages/db.c
  554: return string_copy((char *)mysql_error(c->mysql.handle), "MySQL_errormsg:2");
  674: tmp = mysql_init(tmp);
  675: c->mysql.handle = (MYSQL *)mysql_real_connect(tmp, (const char *)host, (const char *)username, (const char *)password, (const char *)database, 3306, 0, 0);

addr_server.c
  new_conn_handler()
  size_t declaration problem

  init_conn_sock()
  size_t declaration problem

0 Responses to “compile MudOS using gcc41”


  1. 1 Calebbrike

    lisinopril average cost: lisinopril 420 1g – lisinopril 20mg tablets cost
    http://nolvadex.life/# tamoxifen rash

  2. 2 Davidesogs

    where can i buy cipro online buy cipro online canada ciprofloxacin 500 mg tablet price

  3. 3 synthroid 0.137 mg
  4. 4 synthroid 0.05mg cost
  5. 5 JamesBum

    Buy Cialis online: buy cialis overseas – cheapest cialis

  6. 6 Elmerpiord

    Cialis 20mg price in USA Generic Cialis without a doctor prescription cialis for sale

  7. 7 Charlespab

    http://levitrav.store/# Cheap Levitra online

  8. 8 AngelCog
  9. 9 Elmerpiord

    Buy Vardenafil online Levitra 20mg price Levitra online USA fast

  10. 10 synthroid 25 mcg cost
  11. 11 DonaldNoR

    buy prescription drugs online without: canada mail order prescription – prescription meds from canada

  12. 12 Richardrip

    doxycycline 150 mg: price of doxycycline – doxycycline 100mg tablets

  13. 13 ArthurHep

    zithromax price south africa: where can i buy zithromax medicine – zithromax canadian pharmacy
    http://doxycyclinea.online/# buy doxycycline online

  14. 14 CharlesDyedo

    buy cheap doxycycline online: purchase doxycycline online – vibramycin 100 mg

  15. 15 HaroldDouck

    buy amoxicillin online no prescription order amoxicillin online or cost of amoxicillin
    https://images.google.nr/url?q=https://amoxila.pro amoxicillin order online
    over the counter amoxicillin where can i buy amoxicillin online and amoxicillin 500 coupon amoxicillin 500mg tablets price in india

  16. 16 ArthurHep

    doxycycline 100mg capsules: doxycycline vibramycin – buy doxycycline for dogs
    https://doxycyclinea.online/# 100mg doxycycline

  17. 17 Marvintok

    zithromax for sale 500 mg buy zithromax no prescription zithromax 500 mg lowest price drugstore online

  18. 18 BillySunty

    http://amoxila.pro/# can we buy amoxcillin 500mg on ebay without prescription

  19. 19 Marvintok

    amoxicillin 500 mg tablets amoxicillin 500mg buy online uk amoxicillin 875 mg tablet

  20. 20 BillySunty

    http://amoxila.pro/# amoxicillin 50 mg tablets

  21. 21 prinivil 10 mg tab
  22. 22 good value pharmacy
  23. 23 CharlesDyedo

    3000mg prednisone: can i buy prednisone over the counter in usa – where to buy prednisone in canada

  24. 24 WilliamBrags

    https://mexicanpharmacy1st.com/# buying prescription drugs in mexico

  25. 25 Manuelmom

    buying prescription drugs in mexico п»їbest mexican online pharmacies best online pharmacies in mexico

  26. 26 AlbertCoumn

    mexican drugstore online: medication from mexico pharmacy – medication from mexico pharmacy

  27. 27 JamesDug

    https://cytotec.xyz/# buy cytotec pills online cheap

  28. 28 RobertSam

    http://propeciaf.online/# cost generic propecia pill

  29. 29 medication
  30. 30 Thomasemath

    order generic clomid tablets: clomid generic – cost clomid

Leave a Reply