Welcome, Guest
Username: Password: Remember me
CodeTyphon Cross-Build Development, discussions and problems
  • Page:
  • 1

TOPIC:

compile android library(include Indy components) failed: cannot find -liconv 6 years 10 months ago #10814

  • rock
  • rock's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
I create new library project , then I add a datamodule unit , put a idtcpserver on it , compile as android arm target, I found these error :

Messages, Hints: 2
Note: Duplicate unit "iconvenc" in "project1", ppu="C:\Users\dgmislrh\Desktop\test\lib\arm-android\iconvenc.ppu", source="C:\codetyphon\fpcsrc\packages\iconvenc\src\iconvenc.pas"
Note: Duplicate unit "iconvenc" in "pl_indy 6.1.2", orphaned ppu "C:\codetyphon\typhon\components\pl_Indy\lib\arm-android\customdrawn\iconvenc.ppu"
Hint: (11030) Start of reading config file C:\codetyphon\fpc\fpc32\bin\i386-win32\fpc.cfg
Hint: (11031) End of reading config file C:\codetyphon\fpc\fpc32\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 3.1.1 [2017/05/24] for arm
Copyright (c) 1993-2017 by Florian Klaempfl and others
(1002) Target OS: Android for ARMEL
(3104) Compiling project1.ppr
(3104) Compiling unit1.pas
(3104) Compiling C:\codetyphon\fpcsrc\packages\iconvenc\src\iconvenc.pas
C:\codetyphon\fpcsrc\packages\iconvenc\src\iconvert.inc(76,41) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result
C:\codetyphon\fpcsrc\packages\iconvenc\src\iconvert.inc(76,41) Hint: (4081) Converting the operands to "Int64" before doing the multiply could prevent overflow errors.
C:\codetyphon\fpcsrc\packages\iconvenc\src\iconvert.inc(91,35) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result
C:\codetyphon\fpcsrc\packages\iconvenc\src\iconvert.inc(91,35) Hint: (4081) Converting the operands to "Int64" before doing the multiply could prevent overflow errors.
C:\codetyphon\fpcsrc\packages\iconvenc\src\iconvert.inc(101,35) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result
C:\codetyphon\fpcsrc\packages\iconvenc\src\iconvert.inc(101,35) Hint: (4081) Converting the operands to "Int64" before doing the multiply could prevent overflow errors.
C:\codetyphon\fpcsrc\packages\iconvenc\src\iconvenc.pas(24,3) Hint: (5023) Unit "ctypes" not used in iconvenc
C:\codetyphon\fpcsrc\packages\iconvenc\src\iconvenc.pas(24,10) Hint: (5023) Unit "unixtype" not used in iconvenc
(9009) Assembling iconvenc
C:\Users\dgmislrh\Desktop\test\unit1.pas(8,45) Hint: (5023) Unit "IdCustomTCPServer" not used in Unit1
(9009) Assembling unit1
C:\Users\dgmislrh\Desktop\test\project1.ppr(6,12) Hint: (5023) Unit "Unit1" not used in project1
(9009) Assembling project1
(9022) Compiling resource C:\Users\dgmislrh\Desktop\test\lib\arm-android\project1.or
(9015) Linking libproject1.so
c:\codetyphon\fpc\fpc32\bin\i386-win32\arm-android-ld.exe: cannot find -liconv
project1.ppr(12) Error: (9013) Error while linking
project1.ppr(12) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: C:\codetyphon\fpc\fpc32\bin\i386-win32\ppcrossarm.exe returned an error exitcode

File Attachment:

File Name: test.zip
File Size:708 KB
Attachments:

Please Log in or Create an account to join the conversation.

  • Page:
  • 1