#1 Cant compile source

open
nobody
None
5
2013-01-25
2013-01-25
No

While I have been using LINUX for a while I have never compiled from source before, so this might just be a case of me not doing it correctly...
...or it may be that your code does not function under ooRexx version 4.1.0:
- - - - -
Open Object Rexx Version 4.1.0
Build date: Dec 3 2010
Addressing Mode: 64

Copyright (c) IBM Corporation 1995, 2004.
Copyright (c) RexxLA 2005-2010.
All Rights Reserved.
This program and the accompanying materials are made available under
the terms of the Common Public License v1.0 which accompanies this
distribution or at http://www.oorexx.org/license.html
- - - - -

There is a "big" difference between some of the API's in Version 4.1.0 when compared to Version 3.0 so maybe that is the problem. Hopefully this is something that can be resolved relatively easlly, because I need to complete a conversion of some existing programs that ran under WIN-XP to run under Linux, (Ubuntu 12.04 to be exact).

My windows system failed and I can no longer run Win-XP, and Microsoft will not allow me to use my existing license to create a new operating sytem environment.

When I issued the "make" command, this is what my screen said.
- - - - -
xxxxx@WB4ALM-07:~/Download/librexxmysql/librexxmysql-1.0.1/src$ make
/usr/bin/libtool --mode=compile gcc -c -O6 rexx_utils.c
libtool: compile: gcc -c -O6 rexx_utils.c -fPIC -DPIC -o .libs/rexx_utils.o
In file included from rexx_utils.c:12:0:
rexx_utils.h:26:1: error: unknown type name 'BOOL'
rexx_utils.h:27:1: error: unknown type name 'BOOL'
rexx_utils.h:28:1: error: unknown type name 'BOOL'
rexx_utils.c:20:1: error: unknown type name 'BOOL'
rexx_utils.c: In function 'set_variable':
rexx_utils.c:22:2: error: unknown type name 'APIRET'
rexx_utils.c:32:10: error: 'FALSE' undeclared (first use in this function)
rexx_utils.c:32:10: note: each undeclared identifier is reported only once for each function it appears in
rexx_utils.c:34:10: error: 'TRUE' undeclared (first use in this function)
rexx_utils.c: In function 'get_variable':
rexx_utils.c:56:2: error: unknown type name 'APIRET'
rexx_utils.c: At top level:
rexx_utils.c:88:1: error: unknown type name 'BOOL'
rexx_utils.c: In function 'set_stem':
rexx_utils.c:90:2: error: unknown type name 'BOOL'
rexx_utils.c:90:11: error: 'FALSE' undeclared (first use in this function)
rexx_utils.c: At top level:
rexx_utils.c:142:1: error: unknown type name 'BOOL'
rexx_utils.c: In function 'set_multi_variables':
rexx_utils.c:144:2: error: unknown type name 'APIRET'
rexx_utils.c:168:10: error: 'FALSE' undeclared (first use in this function)
rexx_utils.c:170:10: error: 'TRUE' undeclared (first use in this function)
rexx_utils.c: In function 'create_var_block_set':
rexx_utils.c:194:30: error: 'ULONG' undeclared (first use in this function)
rexx_utils.c:194:36: error: expected ';' before 'strlen'
rexx_utils.c:198:37: error: expected ';' before 'strlen'
rexx_utils.c: In function 'create_var_block_get':
rexx_utils.c:228:30: error: 'ULONG' undeclared (first use in this function)
rexx_utils.c:228:36: error: expected ';' before 'strlen'
make: *** [rexx_utils.o] Error 1
xxxxx@WB4ALM-07:~/Download/librexxmysql/librexxmysql-1.0.1/src$
- - - - -

Discussion