|
|
Error compiling xharbour cvs [Linux/Ubuntu 9.10 amd64]
I updated the system to Ubuntu 9.10 and I get this error:
ppgen.o: In function `hb_pp_error':
ppgen.c:(.text+0x16a): undefined reference to `hb_snprintf'
ppgen.c:(.text+0x1aa): undefined reference to `hb_snprintf'
ppgen.c:(.text+0x209): undefined reference to `hb_snprintf'
ppgen.o: In function `hb_pp_readLine':
ppgen.c:(.text+0x1375): undefined reference to `hb_snprintf'
ppgen.o: In function `hb_pp_getLine':
ppgen.c:(.text+0x22d5): undefined reference to `hb_snprintf'
ppgen.o:ppgen.c:(.text+0x3204): more undefined references to
`hb_snprintf' follow
Thanks.
Carlo
|
|
0
|
|
|
|
Reply
|
carlomontel (1)
|
1/11/2010 8:50:03 PM |
|
On 11 jan, 18:50, Carlo Montel <carlomon...@gmail.com> wrote:
> I updated the system to Ubuntu 9.10 and I get this error:
>
> ppgen.o: In function `hb_pp_error':
> ppgen.c:(.text+0x16a): undefined reference to `hb_snprintf'
> ppgen.c:(.text+0x1aa): undefined reference to `hb_snprintf'
> ppgen.c:(.text+0x209): undefined reference to `hb_snprintf'
> ppgen.o: In function `hb_pp_readLine':
> ppgen.c:(.text+0x1375): undefined reference to `hb_snprintf'
> ppgen.o: In function `hb_pp_getLine':
> ppgen.c:(.text+0x22d5): undefined reference to `hb_snprintf'
> ppgen.o:ppgen.c:(.text+0x3204): more undefined references to
> `hb_snprintf' follow
>
> Thanks.
>
> Carlo
Carlo
did you recompile all xharbour from CVS,
I suggest to not have compilation problems use one of distro suggested
bellow
conectiva 10/mandriva/opensuse/rh/centos/fedora
Regards
Luiz
|
|
0
|
|
|
|
Reply
|
culikr
|
1/12/2010 1:39:55 AM
|
|
I get the same error as carlo.
I use the xhbgtmk.sh file to get the latest cvs and compile
automatically. Usually it works but sometimes things are missing.
Centos 5.
|
|
0
|
|
|
|
Reply
|
Jerry
|
1/12/2010 9:49:44 AM
|
|
On 12 jan, 07:49, Jerry <goo...@horseracing.freeserve.co.uk> wrote:
> I get the same error as carlo.
>
> I use the xhbgtmk.sh file to get the latest cvs and compile
> automatically. Usually it works but sometimes things are missing.
>
> Centos 5.
Fixed on cvs now
Regards
Luiz
|
|
0
|
|
|
|
Reply
|
culikr
|
1/12/2010 10:33:29 AM
|
|
Iculikr@gmail.com ha scritto:
> On 12 jan, 07:49, Jerry <goo...@horseracing.freeserve.co.uk> wrote:
>> I get the same error as carlo.
>>
>> I use the xhbgtmk.sh file to get the latest cvs and compile
>> automatically. Usually it works but sometimes things are missing.
>>
>> Centos 5.
>
> Fixed on cvs now
>
> Regards
> Luiz
Now it works well!
Thanks
Carlo
|
|
0
|
|
|
|
Reply
|
Carlo
|
1/12/2010 7:24:33 PM
|
|
Yes that error now fixed but Luiz I still get the mysql error from
last year:
RPM build errors:
File not found by glob: /tmp/xharbour-1.2.1-root/usr/lib/xharbour/
libmysql*.a
This is on Centos 5.4 with the following mysql rpms installed:
MySQL-client-community 5.4.3-0.rhel5
Applications/Databases
MySQL - Client
MySQL-devel-community 5.4.3-0.rhel5
Applications/Databases
MySQL - Development header files and libraries
MySQL-server-community 5.4.3-0.rhel5
Applications/Database
@COMMENT@ for Red Hat Enterprise Linux 5
MySQL-shared-compat 5.4.3-0.rhel5
Applications/Databases
MySQL shared client libraries for MySQL 5.4.3-0, 5.0.86-0, 4.1.22-0,
4.0.30-0, 3.23.58-1
|
|
0
|
|
|
|
Reply
|
Jerry
|
1/13/2010 8:21:12 PM
|
|
use
../make_rpm.sh --without mysql --without postgres
Regards
Luiz
On 13 jan, 18:21, Jerry <goo...@horseracing.freeserve.co.uk> wrote:
> Yes that error now fixed but Luiz I still get the mysql error from
> last year:
>
> RPM build errors:
> =A0 =A0 File not found by glob: /tmp/xharbour-1.2.1-root/usr/lib/xharbour=
/
> libmysql*.a
>
> This is on Centos 5.4 with the following mysql rpms installed:
>
> MySQL-client-community 5.4.3-0.rhel5
> Applications/Databases
> MySQL - Client
>
> MySQL-devel-community 5.4.3-0.rhel5
> Applications/Databases
> MySQL - Development header files and libraries
>
> MySQL-server-community 5.4.3-0.rhel5
> Applications/Database
> @COMMENT@ for Red Hat Enterprise Linux 5
>
> MySQL-shared-compat 5.4.3-0.rhel5
> Applications/Databases
> MySQL shared client libraries for MySQL 5.4.3-0, 5.0.86-0, 4.1.22-0,
> 4.0.30-0, 3.23.58-1
|
|
0
|
|
|
|
Reply
|
culikr
|
1/14/2010 10:29:21 AM
|
|
Luiz,
I need to use xharbour and mysql on this server.
Clearly it is missing some files which need to be included.
find / -name libmysql*.a
/usr/src/redhat/BUILD/xharbour-1.2.0/contrib/mysql/linux/gcc/
libmysql.a
/usr/src/redhat/BUILD/xharbour-1.2.0/contrib/mysql/linux/gcc_mt/
libmysqlmt.a
/usr/lib/xharbour/libmysql.a
/usr/lib/xharbour/libmysqlmt.a
/usr/lib/mysql/libmysqlclient.a
/usr/lib/mysql/libmysqlclient_r.a
It has found the 1.2.0 files in the src BUILD dir but there are no
such files in the equivalent 1.2.1 directory:
ls -l /usr/src/redhat/BUILD/xharbour-1.2.1/contrib/mysql/linux/gcc
-rw-r--r-- 1 root root 7104 Jan 15 09:36 mysql.o
That is the only file in there.
Regards
Jerry
|
|
0
|
|
|
|
Reply
|
Jerry
|
1/15/2010 9:40:37 AM
|
|
do change to compile with
../make_rpm.sh --with mysql
if you need to use mysql, dont use the contrib
insted use the sqlrdd from xharbour.com
Regards
Luiz
|
|
0
|
|
|
|
Reply
|
culikr
|
1/15/2010 10:36:24 AM
|
|
Still no good sorry Luiz.
Here are the last few dozen lines:
***************************************
Processing files: xharbour-1.2.1-0
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.87674
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd xharbour-1.2.1
+ DOCDIR=/tmp/xharbour-1.2.1-root/usr/share/doc/xharbour-1.2.1
+ export DOCDIR
+ rm -rf /tmp/xharbour-1.2.1-root/usr/share/doc/xharbour-1.2.1
+ /bin/mkdir -p /tmp/xharbour-1.2.1-root/usr/share/doc/xharbour-1.2.1
+ cp -pr ChangeLog ChangeLog.001 ChangeLog.002 ChangeLog.003 ChangeLog.
004 ChangeLog.005 ChangeLog.006 ChangeLog.007 ChangeLog.008 ChangeLog.
009 ChangeLog.010 ChangeLog.011 ChangeLog.012 ChangeLog.013 ChangeLog.
014 ChangeLog.015 ChangeLog.016 ChangeLog.017 ChangeLog.018 ChangeLog.
019 ChangeLog.020 ChangeLog.021 ChangeLog.022 ChangeLog.023 ChangeLog.
024 ChangeLog.025 ChangeLog.026 ChangeLog.027 ChangeLog.028 ChangeLog.
029 /tmp/xharbour-1.2.1-root/usr/share/doc/xharbour-1.2.1
+ cp -pr doc/class_tp.txt doc/cmdline.txt doc/codebloc.txt doc/
codestyl.txt doc/c_std.txt doc/cstruct.txt doc/dirstruc.txt doc/
filere.txt doc/funclist.txt doc/gmake.txt doc/gtapi.txt doc/gtinfo.txt
doc/hash.txt doc/hbi18n.txt doc/hblog.txt doc/hbmake.txt doc/
hbpplib.txt doc/hbsignal.txt doc/hbxml.txt doc/hdr_tpl.txt doc/
howtobsd.txt doc/howtocvs.txt doc/howtoext.txt doc/howto_macosx.txt
doc/howtomak.txt doc/hrb_faq.txt doc/inet.txt doc/inline_c.txt doc/
lang_id.txt doc/license.txt doc/linuxso_howto.txt doc/namespace.txt
doc/pcode.txt doc/pragma.txt doc/readme.txt doc/regex.txt doc/
runner.txt doc/simplex.txt doc/statics.txt doc/thread.txt doc/
tracing.txt doc/transfrm.txt doc/vm.txt doc/whatsnew.txt doc/
xhbt_internals.txt /tmp/xharbour-1.2.1-root/usr/share/doc/
xharbour-1.2.1
+ cp -pr doc/README.RPM /tmp/xharbour-1.2.1-root/usr/share/doc/
xharbour-1.2.1
+ cp -pr doc/en/ /tmp/xharbour-1.2.1-root/usr/share/doc/xharbour-1.2.1
+ cp -pr doc/es/ /tmp/xharbour-1.2.1-root/usr/share/doc/xharbour-1.2.1
+ exit 0
Provides: config(xharbour) = 1.2.1-0 harbour xharbour
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib
(PayloadFilesHavePrefix) <= 4.0-1
Requires: /bin/sh bash binutils config(xharbour) = 1.2.1-0 gcc libc.so.
6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.3)
libdl.so.2 libm.so.6 libm.so.6(GLIBC_2.0) libm.so.6(GLIBC_2.1)
libncurses.so.5 libxharbour.so rtld(GNU_HASH) sh-utils xharbour-lib =
1.2.1-0
Processing files: xharbour-lib-1.2.1-0
Provides: libxharbour-1.2.1.so libxharbour.so libxharbourmt-1.2.1.so
libxharbourmt.so
Requires(interp): /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib
(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh
Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6
(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.3) libc.so.6
(GLIBC_2.3) libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1)
libm.so.6 libm.so.6(GLIBC_2.0) libm.so.6(GLIBC_2.1) libncurses.so.5
libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1)
libpthread.so.0(GLIBC_2.2) libpthread.so.0(GLIBC_2.3.2) libpthread.so.0
(GLIBC_2.3.3) librt.so.1 rtld(GNU_HASH)
Processing files: xharbour-static-1.2.1-0
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib
(PayloadFilesHavePrefix) <= 4.0-1
Requires: xharbour = 1.2.1-0
Processing files: xharbour-contrib-1.2.1-0
error: File not found by glob: /tmp/xharbour-1.2.1-root/usr/lib/
xharbour/librddads*.a
error: File not found by glob: /tmp/xharbour-1.2.1-root/usr/lib/
xharbour/libmysql*.a
Processing files: xharbour-pp-1.2.1-0
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.27572
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd xharbour-1.2.1
+ DOCDIR=/tmp/xharbour-1.2.1-root/usr/share/doc/xharbour-pp-1.2.1
+ export DOCDIR
+ rm -rf /tmp/xharbour-1.2.1-root/usr/share/doc/xharbour-pp-1.2.1
+ /bin/mkdir -p /tmp/xharbour-1.2.1-root/usr/share/doc/xharbour-
pp-1.2.1
+ cp -pr utils/xbscript/xbscript.txt /tmp/xharbour-1.2.1-root/usr/
share/doc/xharbour-pp-1.2.1
+ exit 0
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib
(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.3) libdl.so.
2 libm.so.6 libncurses.so.5 libxharbour.so rtld(GNU_HASH) xharbour =
1.2.1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/
xharbour-1.2.1-root
RPM build errors:
File not found by glob: /tmp/xharbour-1.2.1-root/usr/lib/xharbour/
librddads*.a
File not found by glob: /tmp/xharbour-1.2.1-root/usr/lib/xharbour/
libmysql*.a
***************************************************
I get around the ads by using --without adsrdd
but whatever I try for mysql
../make_rpm.sh --without adsrdd
../make_rpm.sh --with mysql
../make_rpm.sh --with mysql --without adsrdd
it always shows the glob libmysql error
|
|
0
|
|
|
|
Reply
|
Jerry
|
1/15/2010 11:34:49 AM
|
|
|
9 Replies
327 Views
(page loaded in 0.135 seconds)
Similiar Articles:7/15/2012 4:57:37 AM
|
|
|
|
|
|
|
|
|