Bug #41275 Type incompatibility in /server-tools/instance-manager/instance.cc:138 on QNX
Submitted: 6 Dec 2008 3:24 Modified: 3 Jul 2009 14:15
Reporter: Dimitri Tarassenko Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:5.1.30 OS:Other (QNX 6.2.1)
Assigned to: CPU Architecture:Any
Tags: instance.cc, QNX

[6 Dec 2008 3:24] Dimitri Tarassenko
Description:
Make comes back with the following error on QNX 6.2.1:

make[3]: Entering directory `/home/dt/LAMP/mysql-5.1.30/server-tools/instance-manager'
source='instance.cc' object='mysqlmanager-instance.o' libtool=no \
DEPDIR=.deps depmode=gcc /usr/bin/bash ../../depcomp \
g++ -DMYSQL_INSTANCE_MANAGER -DMYSQL_SERVER -I. -I../../include -I../../zlib -I../../include -I../../include    -O3    -fno-implicit-templates -fno-exceptions -fno-rtti -DUSE_PRAGMA_IMPLEMENTATION -c -o mysqlmanager-instance.o `test -f 'instance.cc' || echo './'`instance.cc
instance.cc: In function `bool start_process(Instance_options *, My_process_info *)':
instance.cc:138: cannot convert `instance_options->Instance_options::mysqld_path' from type `LEX_STRING' to type `const char *'
make[3]: *** [mysqlmanager-instance.o] Error 1

How to repeat:
configure, make on QNX 6.2.1

Suggested fix:
Maybe, the author really meant instance_options->mysqld_path.str , not just instance_options->mysqld_path ?
[9 Dec 2008 16:24] Sveta Smirnova
Thank you for the report.

Verified as described.
[3 Jul 2009 14:15] Daniel Fischer
QNX is not supported.