On 5/23/2010 8:44 PM, harbour-requ...@harbour-project.org wrote:
Message: 6
Date: Sun, 23 May 2010 09:03:22 +0200
From: Viktor Szak?ts<harbour...@syenar.hu>
Subject: Re: [Harbour] NETIOSRV Unable to compile with -static
To: "Harbour Project Main Developer List."
        <harbour@harbour-project.org>
Message-ID:<f8eebd2c-8c27-4a50-817b-d0b17fe04...@syenar.hu>
Content-Type: text/plain; charset=us-ascii

>  With the latest SVN, I was not able to compile the netiosrv with -static.  
I'm using Ubuntu 10.4.
> > Thanks for any help.
What is the error?

Viktor

Hi Viktor,

Please find below error I encountered when compiling.

Thanks,
Mario

=================================================
hbmk2: Processing local make script: hbmk.hbm
hbmk2: Processing configuration: /usr/local/bin/hbmk.cfg
Harbour 2.1.0beta1 (Rev. 14277)
Copyright (c) 1999-2010, http://www.harbour-project.org/
Compiling 'netiosrv.prg'...
Lines 1008, Functions/Procedures 7
Generating C source output to '/tmp/netiosrv.c'... Done.
Compiling 'netiocmd.prg'...
Lines 1093, Functions/Procedures 3
Generating C source output to '/tmp/netiocmd.c'... Done.
/usr/local/lib/harbour/libgttrm.a(gttrm.o): In function `hb_gt_trm_mouse_Hide':
gttrm.c:(.text+0x16e): undefined reference to `gpm_visiblepointer'
/usr/local/lib/harbour/libgttrm.a(gttrm.o): In function `hb_gt_trm_mouse_Show':
gttrm.c:(.text+0x4c3): undefined reference to `gpm_zerobased'
gttrm.c:(.text+0x4c8): undefined reference to `_gpm_arg'
gttrm.c:(.text+0x4ce): undefined reference to `_gpm_buf'
gttrm.c:(.text+0x4d5): undefined reference to `gpm_visiblepointer'
gttrm.c:(.text+0x503): undefined reference to `gpm_consolefd'
gttrm.c:(.text+0x50b): undefined reference to `_gpm_buf'
/usr/local/lib/harbour/libgttrm.a(gttrm.o): In function `hb_gt_trm_mouse_SetPos':
gttrm.c:(.text+0x14b4): undefined reference to `gpm_visiblepointer'
gttrm.c:(.text+0x14cb): undefined reference to `gpm_zerobased'
gttrm.c:(.text+0x14d1): undefined reference to `_gpm_arg'
gttrm.c:(.text+0x14d7): undefined reference to `_gpm_buf'
gttrm.c:(.text+0x1504): undefined reference to `_gpm_buf'
gttrm.c:(.text+0x1510): undefined reference to `gpm_consolefd'
/usr/local/lib/harbour/libgttrm.a(gttrm.o): In function `hb_gt_trm_Refresh':
gttrm.c:(.text+0x161e): undefined reference to `gpm_visiblepointer'
gttrm.c:(.text+0x1633): undefined reference to `gpm_zerobased'
gttrm.c:(.text+0x1638): undefined reference to `_gpm_arg'
gttrm.c:(.text+0x163e): undefined reference to `_gpm_buf'
gttrm.c:(.text+0x1669): undefined reference to `gpm_consolefd'
gttrm.c:(.text+0x1671): undefined reference to `_gpm_buf'
/usr/local/lib/harbour/libgttrm.a(gttrm.o): In function `set_gpmevt':
gttrm.c:(.text+0x2a51): undefined reference to `Gpm_GetEvent'
/usr/local/lib/harbour/libgttrm.a(gttrm.o): In function `hb_gt_trm_Exit':
gttrm.c:(.text+0x4d68): undefined reference to `gpm_fd'
gttrm.c:(.text+0x4e0a): undefined reference to `Gpm_Close'
/usr/local/lib/harbour/libgttrm.a(gttrm.o): In function `hb_gt_trm_Init':
gttrm.c:(.text+0x5db9): undefined reference to `gpm_zerobased'
gttrm.c:(.text+0x5dc3): undefined reference to `gpm_visiblepointer'
gttrm.c:(.text+0x5dd7): undefined reference to `Gpm_Open'
gttrm.c:(.text+0x5de4): undefined reference to `gpm_fd'
gttrm.c:(.text+0x5e15): undefined reference to `gpm_fd'
gttrm.c:(.text+0x5e36): undefined reference to `gpm_fd'
gttrm.c:(.text+0x5e5e): undefined reference to `gpm_fd'
gttrm.c:(.text+0x5e79): undefined reference to `gpm_fd'
/usr/local/lib/harbour/libgttrm.a(gttrm.o):gttrm.c:(.text+0x5e92): more undefined references to `gpm_fd' follow
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc /tmp/netiosrv.o /tmp/netiocmd.o /tmp/hbmk_lywx6k.o -Wl,--start-group -lhbnetio -lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgttrm -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lm -lpthread -ldl -lrt -lpcre -lz -Wl,--end-group -ohbnetio_linux -L/usr/local/lib/harbour
===========================================================================
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to