🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.kylix.language.cpp
Article #30

Re: Just installed kylix

#30
From: Pavel Reznicek
Date: Thu, 26 May 2005 10:34
220 lines
11322 bytes
(see the end for my comments)

Clint Herron wrote:
> No, you didn't make any mistakes, you just left out a few steps. :)
> 
> You may need to change the order of your include paths in the project.
> 
> 
> 1) Click on the menu Project->Options.
> 2) Click on the tab "Directories/Conditionals".
> 3) Click on the ellipsis (...) on the "Include Path" line.
> 4) Select "/usr/include" and press the up arrow until it is 1st in the 
> list. Then click "OK".
> 5) Click on the ellipsis (...) on the "Library Path" line.
> 6) Select "/usr/lib" and press on the up arrow until it is 1st in the 
> list. Then click "OK".
> 7) Check the "Default" checkbox, then click "OK".
> 
> See if that helps?
> 
> --Clint
> 
> Ron Eggler wrote:
> 
>> Hi,
>>
>> I just installed kylix and tried to compile an empty project.
>> AAAAAAAAAAAAnd what i saw was bad, i can't compile 'cause there's an 
>> error
>> in File 'time.h'
>>
>> on this line: 'typedef __clock_t clock_t;'
>> errormsg: '[C++ Error] time.h(60): Message catalog not found'
>>
>> why that? Did I make a mistake when i installled kylix??
>>
>> Thanks for your help!!!
>>
>> this message was sent to:
>> borland.public.kylix.ide & borland.public.kylix.language.cpp
> 
> 

Hi all, I just had a similar problem with time.h on the same location. 
Only the error message was other.
I solved this by applying Clint's steps.
But now I still have problems. I searched the Web but I found only pages 
in languages that I cannot be wise from (French, Spanish, Portuguese, 
Chinese...) My languages are Czech, English and German.

So the compiler (the linker, to be exact) complied about a lot of 
unresolved externals:

Build
   [Linker Error] Unresolved external 'setlocale' referenced from 
/usr/local/kylix3/lib/rtl.a|System.o
   [Linker Error] Unresolved external 'pthread_getspecific' referenced 
from /usr/local/kylix3/lib/rtle.a|SysInit.o
   [Linker Error] Unresolved external 'raise' referenced from 
/usr/local/kylix3/lib/rtl.a|System.o
   [Linker Error] Unresolved external 'write' referenced from 
/usr/local/kylix3/lib/rtl.a|System.o
   [Linker Error] Unresolved external 'exit' referenced from 
/usr/local/kylix3/lib/rtl.a|System.o
   [Linker Error] Unresolved external 'free' referenced from 
/usr/local/kylix3/lib/rtle.a|SysInit.o
   [Linker Error] Unresolved external 'pthread_key_create' referenced 
from /usr/local/kylix3/lib/rtle.a|SysInit.o
   [Linker Error] Unresolved external 'pthread_once' referenced from 
/usr/local/kylix3/lib/rtle.a|SysInit.o
   [Linker Error] Unresolved external 'malloc' referenced from 
/usr/local/kylix3/lib/rtle.a|SysInit.o
   [Linker Error] Unresolved external 'pthread_setspecific' referenced 
from /usr/local/kylix3/lib/rtle.a|SysInit.o
   [Linker Error] Unresolved external 'mmap' referenced from 
/usr/local/kylix3/lib/rtl.a|System.o
   [Linker Error] Unresolved external 'munmap' referenced from 
/usr/local/kylix3/lib/rtl.a|System.o
   [Linker Error] Unresolved external 'pthread_self' referenced from 
/usr/local/kylix3/lib/rtl.a|System.o
   [Linker Error] Unresolved external 'realloc' referenced from 
/usr/local/kylix3/lib/rtl.a|System.o
   [Linker Error] Unresolved external '__errno_location' referenced from 
/usr/local/kylix3/lib/libborcrtl.a|ptinit.o
   [Linker Error] Unresolved external 'strlen' referenced from 
/usr/local/kylix3/lib/libborcrtl.a|borerr.o
   [Linker Error] Unresolved external 'abort' referenced from 
/usr/local/kylix3/lib/libborcrtl.a|borerr.o
   [Linker Error] Unresolved external 'sprintf' referenced from 
/usr/local/kylix3/lib/libborcrtl.a|ptinit.o
   [Linker Error] Unresolved external '__assert_fail' referenced from 
/usr/local/kylix3/lib/libborcrtl.a|tls.o
   [Linker Error] Unresolved external 'calloc' referenced from 
/usr/local/kylix3/lib/libborcrtl.a|tls.o
   [Linker Error] Unresolved external 'memset' referenced from 
/usr/local/kylix3/lib/libborunwind.a|delphiuw.o
   [Linker Error] Unresolved external 'memcpy' referenced from 
/usr/local/kylix3/lib/libborunwind.a|delphiuw.o
   [Linker Error] Unresolved external 'printf' referenced from 
/usr/local/kylix3/lib/libborunwind.a|delphiuw.o
   [Linker Error] Unresolved external 'strncmp' referenced from 
/usr/local/kylix3/lib/libborcrtl.a|xx.o
   [Linker Error] Unresolved external 'memcmp' referenced from 
/usr/local/kylix3/lib/libborcrtl.a|xx.o
   [Linker Error] Unresolved external 'strcat' referenced from 
/usr/local/kylix3/lib/libborcrtl.a|xx.o
   [Linker Error] Unresolved external 'readlink' referenced from 
/usr/local/kylix3/lib/rtl.a|System.o
   [Linker Error] Unresolved external 'getenv' referenced from 
/usr/local/kylix3/lib/rtl.a|System.o
   [Linker Error] Unresolved external '__xstat' referenced from 
/usr/local/kylix3/lib/rtl.a|System.o
   [Linker Error] Unresolved external 'strcasecmp' referenced from 
/usr/local/kylix3/lib/rtl.a|System.o
   [Linker Error] Unresolved external 'nl_langinfo' referenced from 
/usr/local/kylix3/lib/rtl.a|System.o
   [Linker Error] Unresolved external 'iconv_open' referenced from 
/usr/local/kylix3/lib/rtl.a|System.o
   [Linker Error] Unresolved external 'iconv' referenced from 
/usr/local/kylix3/lib/rtl.a|System.o
   [Linker Error] Unresolved external 'iconv_close' referenced from 
/usr/local/kylix3/lib/rtl.a|System.o
   [Linker Error] Unresolved external '__ctype_get_mb_cur_max' 
referenced from /usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'mblen' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'sigaddset' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'sigaction' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'getpid' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'kill' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'gnu_get_libc_version' referenced 
from /usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'strverscmp' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'towupper' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'wcscoll' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'strerror_r' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'localeconv' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'pthread_mutexattr_init' 
referenced from /usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'pthread_mutexattr_settype' 
referenced from /usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'pthread_mutex_init' referenced 
from /usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'pthread_mutexattr_destroy' 
referenced from /usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'pipe' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'pthread_mutex_lock' referenced 
from /usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'pthread_mutex_unlock' referenced 
from /usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'pthread_mutex_destroy' referenced 
from /usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'ftruncate' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'read' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external '__lseek' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'close' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'open' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'wordexp' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'wordfree' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'getcwd' referenced from 
/usr/local/kylix3/lib/rtl.a|System.o
   [Linker Error] Unresolved external 'euidaccess' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'fcntl' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'strcoll' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'time' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'localtime_r' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'lseek' referenced from 
/usr/local/kylix3/lib/rtl.a|System.o
   [Linker Error] Unresolved external 'select' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'ioctl' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'pthread_cond_signal' referenced 
from /usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'towlower' referenced from 
/usr/local/kylix3/lib/rtl.a|Libc.o
   [Linker Error] Unresolved external 'strstr' referenced from 
/usr/local/kylix3/lib/obj/QOpenBanner.o
   [Linker Error] Unresolved external '_exit' referenced from 
/usr/local/kylix3/lib/libborcrtl.a|initexit.o
   [Linker Error] Unresolved external 'getpagesize' referenced from 
/usr/local/kylix3/lib/libborcrtl.a|_initfini23.o
   [Linker Error] Unresolved external 'mprotect' referenced from 
/usr/local/kylix3/lib/libborcrtl.a|_initfini23.o
   [Linker Error] Unresolved external 'pthread_kill_other_threads_np' 
referenced from /usr/local/kylix3/lib/libborcrtl.a|_initfini23.o
   [Linker Error] Unresolved external 'syscall' referenced from 
/usr/local/kylix3/lib/libborcrtl.a|_initfini23.o
   [Linker Error] Unresolved external '__libc_start_main' referenced 
from /usr/lib/crt1.o

If someone could write me what should I fix in my Kylix installation or 
in my system, I would be very glad.

My distro is Mandrake 10.1; I use Kylix 3.

Thanks,
Pavel Reznicek
Technical Details
Message-ID: <4295a644@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <420f94cc@newsgroups.borland.com> <4210acff$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10ed86,5664394f4314fe25
X-Google-Attributes: gid10ed86,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 26 May 2005 12:34:34 +0200
From: Pavel Reznicek <pavel.jindrich@tiscali.cz>
User-Agent: Mozilla Thunderbird 1.0 (X11/20041206)
X-Accept-Language: cs, en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.kylix.language.cpp
Subject: Re: Just installed kylix
References: <420f94cc@newsgroups.borland.com> <4210acff$1@newsgroups.borland.com>
In-Reply-To: <4210acff$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 83.148.35.8
Message-ID: <4295a644@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1117103684 83.148.35.8 (26 May 2005 03:34:44 -0700)
Lines: 220
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail