The International Simutrans Forum

 

Author Topic: r10211 - Android not compile  (Read 290 times)

0 Members and 1 Guest are viewing this topic.

Offline Andarix

  • *
  • Posts: 360
  • Languages: de
r10211 - Android not compile
« on: November 01, 2021, 08:52:00 AM »
Quote
...
sdl/project/jni/application/simutrans/simutrans/../../../../obj/local/armeabi-v7a  -lfreetype -lfluidsynth  -lbz2 -lz  -lSDL2 -o build/armeabi-v7a/sim
2021-11-01T08:19:51.3146906Z ld: error: undefined symbol: png_create_read_struct
2021-11-01T08:19:51.3148451Z >>> referenced by raw_image_png.cc:24 (io/raw_image_png.cc:24)
2021-11-01T08:19:51.3151064Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::read_png_data(__sFILE*))
2021-11-01T08:19:51.3321220Z
2021-11-01T08:19:51.3322253Z ld: error: undefined symbol: png_create_info_struct
2021-11-01T08:19:51.3323352Z >>> referenced by raw_image_png.cc:30 (io/raw_image_png.cc:30)
2021-11-01T08:19:51.3325347Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::read_png_data(__sFILE*))
2021-11-01T08:19:51.3326288Z >>> referenced by raw_image_png.cc:203 (io/raw_image_png.cc:203)
2021-11-01T08:19:51.3327652Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::write_png(char const*) const)
2021-11-01T08:19:51.3328560Z
2021-11-01T08:19:51.3329472Z ld: error: undefined symbol: png_set_longjmp_fn
2021-11-01T08:19:51.3330229Z >>> referenced by raw_image_png.cc:38 (io/raw_image_png.cc:38)
2021-11-01T08:19:51.3331616Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::read_png_data(__sFILE*))
2021-11-01T08:19:51.3333153Z >>> referenced by raw_image_png.cc:211 (io/raw_image_png.cc:211)
2021-11-01T08:19:51.3334458Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::write_png(char const*) const)
2021-11-01T08:19:51.3334953Z
2021-11-01T08:19:51.3335429Z ld: error: undefined symbol: png_destroy_read_struct
2021-11-01T08:19:51.3336295Z >>> referenced by raw_image_png.cc:0 (io/raw_image_png.cc:0)
2021-11-01T08:19:51.3338349Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::read_png_data(__sFILE*))
2021-11-01T08:19:51.3339165Z >>> referenced by raw_image_png.cc:0 (io/raw_image_png.cc:0)
2021-11-01T08:19:51.3340572Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::read_png_data(__sFILE*))
2021-11-01T08:19:51.3341066Z
2021-11-01T08:19:51.3341771Z ld: error: undefined symbol: png_init_io
2021-11-01T08:19:51.3342490Z >>> referenced by raw_image_png.cc:46 (io/raw_image_png.cc:46)
2021-11-01T08:19:51.3343824Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::read_png_data(__sFILE*))
2021-11-01T08:19:51.3345105Z >>> referenced by raw_image_png.cc:219 (io/raw_image_png.cc:219)
2021-11-01T08:19:51.3346607Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::write_png(char const*) const)
2021-11-01T08:19:51.3347085Z
2021-11-01T08:19:51.3347523Z ld: error: undefined symbol: png_read_info
2021-11-01T08:19:51.3348130Z >>> referenced by raw_image_png.cc:51 (io/raw_image_png.cc:51)
2021-11-01T08:19:51.3349443Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::read_png_data(__sFILE*))
2021-11-01T08:19:51.3349915Z
2021-11-01T08:19:51.3350343Z ld: error: undefined symbol: png_get_IHDR
2021-11-01T08:19:51.3350979Z >>> referenced by raw_image_png.cc:59 (io/raw_image_png.cc:59)
2021-11-01T08:19:51.3352189Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::read_png_data(__sFILE*))
2021-11-01T08:19:51.3352672Z
2021-11-01T08:19:51.3353133Z ld: error: undefined symbol: png_set_strip_16
2021-11-01T08:19:51.3353768Z >>> referenced by raw_image_png.cc:66 (io/raw_image_png.cc:66)
2021-11-01T08:19:51.3354994Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::read_png_data(__sFILE*))
2021-11-01T08:19:51.3355477Z
2021-11-01T08:19:51.3355923Z ld: error: undefined symbol: png_set_packing
2021-11-01T08:19:51.3356576Z >>> referenced by raw_image_png.cc:71 (io/raw_image_png.cc:71)
2021-11-01T08:19:51.3358261Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::read_png_data(__sFILE*))
2021-11-01T08:19:51.3358705Z
2021-11-01T08:19:51.3359151Z ld: error: undefined symbol: png_set_expand
2021-11-01T08:19:51.3359776Z >>> referenced by raw_image_png.cc:75 (io/raw_image_png.cc:75)
2021-11-01T08:19:51.3361091Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::read_png_data(__sFILE*))
2021-11-01T08:19:51.3361555Z
2021-11-01T08:19:51.3361991Z ld: error: undefined symbol: png_get_valid
2021-11-01T08:19:51.3362598Z >>> referenced by raw_image_png.cc:77 (io/raw_image_png.cc:77)
2021-11-01T08:19:51.3363994Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::read_png_data(__sFILE*))
2021-11-01T08:19:51.3364462Z
2021-11-01T08:19:51.3364886Z ld: error: undefined symbol: png_set_filler
2021-11-01T08:19:51.3365512Z >>> referenced by raw_image_png.cc:0 (io/raw_image_png.cc:0)
2021-11-01T08:19:51.3366606Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::read_png_data(__sFILE*))
2021-11-01T08:19:51.3367060Z
2021-11-01T08:19:51.3367517Z ld: error: undefined symbol: png_set_strip_alpha
2021-11-01T08:19:51.3368148Z >>> referenced by raw_image_png.cc:90 (io/raw_image_png.cc:90)
2021-11-01T08:19:51.3369235Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::read_png_data(__sFILE*))
2021-11-01T08:19:51.3369848Z
2021-11-01T08:19:51.3370320Z ld: error: undefined symbol: png_read_update_info
2021-11-01T08:19:51.3371149Z >>> referenced by raw_image_png.cc:95 (io/raw_image_png.cc:95)
2021-11-01T08:19:51.3372470Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::read_png_data(__sFILE*))
2021-11-01T08:19:51.3373096Z
2021-11-01T08:19:51.3373558Z ld: error: undefined symbol: png_get_rowbytes
2021-11-01T08:19:51.3374206Z >>> referenced by raw_image_png.cc:97 (io/raw_image_png.cc:97)
2021-11-01T08:19:51.3375882Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::read_png_data(__sFILE*))
2021-11-01T08:19:51.3376388Z
2021-11-01T08:19:51.3376874Z ld: error: undefined symbol: png_read_image
2021-11-01T08:19:51.3377554Z >>> referenced by raw_image_png.cc:106 (io/raw_image_png.cc:106)
2021-11-01T08:19:51.3378765Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::read_png_data(__sFILE*))
2021-11-01T08:19:51.3379569Z
2021-11-01T08:19:51.3380187Z ld: error: undefined symbol: png_read_end
2021-11-01T08:19:51.3381157Z >>> referenced by raw_image_png.cc:155 (io/raw_image_png.cc:155)
2021-11-01T08:19:51.3382237Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::read_png_data(__sFILE*))
2021-11-01T08:19:51.3382692Z
2021-11-01T08:19:51.3383510Z ld: error: undefined symbol: png_create_write_struct
2021-11-01T08:19:51.3384678Z >>> referenced by raw_image_png.cc:197 (io/raw_image_png.cc:197)
2021-11-01T08:19:51.3386470Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::write_png(char const*) const)
2021-11-01T08:19:51.3386964Z
2021-11-01T08:19:51.3387444Z ld: error: undefined symbol: png_destroy_write_struct
2021-11-01T08:19:51.3388131Z >>> referenced by raw_image_png.cc:213 (io/raw_image_png.cc:213)
2021-11-01T08:19:51.3389474Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::write_png(char const*) const)
2021-11-01T08:19:51.3390453Z >>> referenced by raw_image_png.cc:205 (io/raw_image_png.cc:205)
2021-11-01T08:19:51.3392020Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::write_png(char const*) const)
2021-11-01T08:19:51.3392937Z >>> referenced by raw_image_png.cc:262 (io/raw_image_png.cc:262)
2021-11-01T08:19:51.3394507Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::write_png(char const*) const)
2021-11-01T08:19:51.3395180Z >>> referenced 1 more times
2021-11-01T08:19:51.3395482Z
2021-11-01T08:19:51.3395926Z ld: error: undefined symbol: png_set_IHDR
2021-11-01T08:19:51.3396568Z >>> referenced by raw_image_png.cc:237 (io/raw_image_png.cc:237)
2021-11-01T08:19:51.3398087Z >>>               build/armeabi-v7a/io/raw_image_png.o:(raw_image_t::write_png(char const*) const)
2021-11-01T08:19:51.3398612Z
2021-11-01T08:19:51.3399495Z ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
2021-11-01T08:19:51.3482412Z clang++: error: linker command failed with exit code 1 (use -v to see invocation)
2021-11-01T08:19:51.3485861Z make[1]: *** [common.mk:29: build/armeabi-v7a/sim] Error 1
2021-11-01T08:19:51.3492047Z make[1]: Leaving directory '/android-sdl/project/jni/application/simutrans/simutrans'
2021-11-01T08:19:51.3496920Z make: *** [CustomBuildScript.mk:58: simutrans/libapplication-armeabi-v7a.so] Error 1
2021-11-01T08:19:51.3502654Z make: Leaving directory '/android-sdl/project/jni/application'
2021-11-01T08:19:51.3508849Z ##[error]Process completed with exit code 1.
2021-11-01T08:19:51.3554873Z Cleaning up orphan processes

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 11060
  • Languages: De,EN,JP
Re: r10211 - Android not compile
« Reply #1 on: November 01, 2021, 11:40:03 AM »
aburch built fine. Maybe some file was corrupt during download, that could happen with the docker on these free virtual macchines (which are anyway more powerful concerning compilation than two of my servers ... )