FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Error al lincar.
Posts: 1445
Joined: Mon Oct 10, 2005 02:38 PM
Error al lincar.
Posted: Thu Feb 19, 2009 12:09 PM

Hola,

Algui茅n sabr铆a decirme que puede ocasionar este error al lincar:

TestRtf.res(1):'Invalid character in .DEF file'
Fatal: Error processing .DEF file

Saludos y gracias
Carlos G.

Un Saludo

Carlos G.



FiveWin 25.12 + Harbour 3.2.0dev (r2502110321), BCC 7.7 Windows 11 Home

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error al lincar.
Posted: Thu Feb 19, 2009 12:24 PM

Carlos,

Al llamar al ilink32 estas usando una coma de m谩s (贸 de menos), y por esa raz贸n le estas pasando el fichero RES en la posici贸n que se le dar铆a un fichero DEF.

Compueba las comas con FWH\samples\buildh.bat 贸 buildx.bat

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1445
Joined: Mon Oct 10, 2005 02:38 PM
Re: Error al lincar.
Posted: Thu Feb 19, 2009 01:37 PM
Antonio Linares wrote:Carlos,

Al llamar al ilink32 estas usando una coma de m谩s (贸 de menos), y por esa raz贸n le estas pasando el fichero RES en la posici贸n que se le dar铆a un fichero DEF.

Compueba las comas con FWH\samples\buildh.bat 贸 buildx.bat



Gracias Antonio, lo reviso.

Por cierto como puedo saber que funciones tiene una .lib, como puedo listarlas?

Estoy lincando con una .lib y parece que no tenga la funci贸n que estoy usando, en cambio con:

"tlib mi.lib * lafuncion"

me extrae un mifuncion.obj.

No entiendo porque no encuentra la funci贸n al lincar, debe ser quiz谩s cuesti贸n de las comas. En fin esta tarde lo reviso, el est贸mago traiciona.

Un saludo
Carlos G.

Un Saludo

Carlos G.



FiveWin 25.12 + Harbour 3.2.0dev (r2502110321), BCC 7.7 Windows 11 Home

Posts: 989
Joined: Thu Nov 24, 2005 03:01 PM
Re: Error al lincar.
Posted: Thu Feb 19, 2009 02:13 PM
Tocayo,

tlib <archivo.lib> , <archivo.lst> te genera el achivo.lst con el listado de las funciones. help del tlib
Code (fw): Select all Collapse
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
Syntax: TLIB libname [/C] [/E] [/P] [/0] commands, listfile
聽 聽 libname 聽 聽 library file pathname
聽 聽 commands 聽 聽sequence of operations to be performed (optional)
聽 聽 listfile 聽 聽file name for listing file (optional)

A command is of the form: <symbol>modulename, where <symbol> is:
聽 聽 + 聽 聽 聽 聽 聽 add modulename to the library
聽 聽 - 聽 聽 聽 聽 聽 remove modulename from the library
聽 聽 * 聽 聽 聽 聽 聽 extract modulename without removing it
聽 聽 -+ or +- 聽 聽replace modulename in library
聽 聽 -* or *- 聽 聽extract modulename and remove it

聽 聽 /C 聽 聽 聽 聽 聽case-sensitive library
聽 聽 /PSIZE 聽 聽 聽set the library page size to SIZE
聽 聽 /0 聽 聽 聽 聽 聽purge comment records

Use @filepath to continue from file "filepath".
Use '&' at end of a line to continue onto the next line.


el listfile es lo que buscas
Saludos
Carlos Mora
http://harbouradvisor.blogspot.com/
StackOverflow http://stackoverflow.com/users/549761/carlos-mora
鈥淚f you think education is expensive, try ignorance"
Posts: 1445
Joined: Mon Oct 10, 2005 02:38 PM
Re: Error al lincar.
Posted: Thu Feb 19, 2009 02:44 PM
Carlos Mora wrote:Tocayo,

tlib <archivo.lib> , <archivo.lst> te genera el achivo.lst con el listado de las funciones. help del tlib
Code (fw): Select all Collapse
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
Syntax: TLIB libname [/C] [/E] [/P] [/0] commands, listfile
聽 聽 libname 聽 聽 library file pathname
聽 聽 commands 聽 聽sequence of operations to be performed (optional)
聽 聽 listfile 聽 聽file name for listing file (optional)

A command is of the form: <symbol>modulename, where <symbol> is:
聽 聽 + 聽 聽 聽 聽 聽 add modulename to the library
聽 聽 - 聽 聽 聽 聽 聽 remove modulename from the library
聽 聽 * 聽 聽 聽 聽 聽 extract modulename without removing it
聽 聽 -+ or +- 聽 聽replace modulename in library
聽 聽 -* or *- 聽 聽extract modulename and remove it

聽 聽 /C 聽 聽 聽 聽 聽case-sensitive library
聽 聽 /PSIZE 聽 聽 聽set the library page size to SIZE
聽 聽 /0 聽 聽 聽 聽 聽purge comment records

Use @filepath to continue from file "filepath".
Use '&' at end of a line to continue onto the next line.


el listfile es lo que buscas


Gracias Carlos,

interpret茅 mal la explicaci贸n de Tlib.exe.
Ahora bien, para que sirve el par谩metro '/E'?

Creo que ya se porque no encuentra la funci贸n; cuando listo el contenido de milib.lib con TLib.exe, me responde: "No public symbols exist."

En fin, seguir茅 investigando.

Saludos y gracias de nuevo.
Carlos G.

Un Saludo

Carlos G.



FiveWin 25.12 + Harbour 3.2.0dev (r2502110321), BCC 7.7 Windows 11 Home

Continue the discussion