Scid 4.2 build error

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Scid 4.2 build error

Israel Chauca Fuentes
Administrator
In MacOSX there are no fseeko64 or fopen64 functions, so I changed them to fseek and fopen and make doesn't comply about that, but I get this error and I don't know what it means or how to address it:

Undefined symbols for architecture i386:
  "_Tcl_Eval", referenced from:
      my_Tcl_SetChannelOption(Tcl_Interp*, Tcl_Channel_*, char const*, char const*)in misc.o
      my_Tcl_Tell(Tcl_Channel_*)      in misc.o
      my_Tcl_Seek(Tcl_Channel_*, long long, int)in misc.o
      my_Tcl_Flush(Tcl_Channel_*)      in misc.o
      my_Tcl_Write(Tcl_Channel_*, char const*, int)in misc.o
      my_Tcl_Read(Tcl_Channel_*, char*, int)in misc.o
      my_Tcl_Close(Tcl_Interp*, Tcl_Channel_*)      in misc.o
      my_Tcl_OpenFileChannel(Tcl_Interp*, char const*, char const*, int)in misc.o
  "_Tcl_Free", referenced from:
      rawFileSize(char const*)in misc.o
  "_Tcl_Flush", referenced from:
      my_Tcl_Flush(Tcl_Channel_*)      in misc.o
  "_Tcl_SetChannelOption", referenced from:
      my_Tcl_SetChannelOption(Tcl_Interp*, Tcl_Channel_*, char const*, char const*)in misc.o
  "_TclFreeObj", referenced from:
      rawFileSize(char const*)in misc.o
  "_Tcl_OpenFileChannel", referenced from:
      mySilent_Tcl_OpenFileChannel(Tcl_Interp*, char const*, char const*, int)in misc.o
      my_Tcl_OpenFileChannel(Tcl_Interp*, char const*, char const*, int)in misc.o
  "_Tcl_GetErrno", referenced from:
      my_Tcl_Seek(Tcl_Channel_*, long long, int)in misc.o
      my_Tcl_Flush(Tcl_Channel_*)      in misc.o
      my_Tcl_Write(Tcl_Channel_*, char const*, int)in misc.o
      my_Tcl_Read(Tcl_Channel_*, char*, int)in misc.o
      my_Tcl_Close(Tcl_Interp*, Tcl_Channel_*)      in misc.o
      my_Tcl_OpenFileChannel(Tcl_Interp*, char const*, char const*, int)in misc.o
  "_Tcl_FSStat", referenced from:
      rawFileSize(char const*)in misc.o
  "_Tcl_ErrnoMsg", referenced from:
      my_Tcl_Seek(Tcl_Channel_*, long long, int)in misc.o
      my_Tcl_Flush(Tcl_Channel_*)      in misc.o
      my_Tcl_Write(Tcl_Channel_*, char const*, int)in misc.o
      my_Tcl_Read(Tcl_Channel_*, char*, int)in misc.o
      my_Tcl_Close(Tcl_Interp*, Tcl_Channel_*)      in misc.o
      my_Tcl_OpenFileChannel(Tcl_Interp*, char const*, char const*, int)in misc.o
  "_Tcl_Read", referenced from:
      my_Tcl_Read(Tcl_Channel_*, char*, int)in misc.o
  "_Tcl_Seek", referenced from:
      my_Tcl_Seek(Tcl_Channel_*, long long, int)in misc.o
  "_Tcl_Close", referenced from:
      my_Tcl_Close(Tcl_Interp*, Tcl_Channel_*)      in misc.o
  "_Tcl_Tell", referenced from:
      my_Tcl_Tell(Tcl_Channel_*)      in misc.o
  "_Tcl_NewStringObj", referenced from:
      rawFileSize(char const*)in misc.o
  "_Tcl_AllocStatBuf", referenced from:
      rawFileSize(char const*)in misc.o
  "_Tcl_Write", referenced from:
      my_Tcl_Write(Tcl_Channel_*, char const*, int)in misc.o
  "_Tcl_Eof", referenced from:
      my_Tcl_Eof(Tcl_Channel_*)      in misc.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
Undefined symbols for architecture ppc:
  "_Tcl_Eval", referenced from:
      my_Tcl_SetChannelOption(Tcl_Interp*, Tcl_Channel_*, char const*, char const*)in misc.o
      my_Tcl_Tell(Tcl_Channel_*)      in misc.o
      my_Tcl_Seek(Tcl_Channel_*, long long, int)in misc.o
      my_Tcl_Flush(Tcl_Channel_*)      in misc.o
      my_Tcl_Write(Tcl_Channel_*, char const*, int)in misc.o
      my_Tcl_Read(Tcl_Channel_*, char*, int)in misc.o
      my_Tcl_Close(Tcl_Interp*, Tcl_Channel_*)      in misc.o
      my_Tcl_OpenFileChannel(Tcl_Interp*, char const*, char const*, int)in misc.o
  "_Tcl_Free", referenced from:
      rawFileSize(char const*)in misc.o
  "_Tcl_Flush", referenced from:
      my_Tcl_Flush(Tcl_Channel_*)      in misc.o
  "_Tcl_SetChannelOption", referenced from:
      my_Tcl_SetChannelOption(Tcl_Interp*, Tcl_Channel_*, char const*, char const*)in misc.o
  "_TclFreeObj", referenced from:
      rawFileSize(char const*)in misc.o
  "_Tcl_OpenFileChannel", referenced from:
      mySilent_Tcl_OpenFileChannel(Tcl_Interp*, char const*, char const*, int)in misc.o
      my_Tcl_OpenFileChannel(Tcl_Interp*, char const*, char const*, int)in misc.o
  "_Tcl_GetErrno", referenced from:
      my_Tcl_Seek(Tcl_Channel_*, long long, int)in misc.o
      my_Tcl_Flush(Tcl_Channel_*)      in misc.o
      my_Tcl_Write(Tcl_Channel_*, char const*, int)in misc.o
      my_Tcl_Read(Tcl_Channel_*, char*, int)in misc.o
      my_Tcl_Close(Tcl_Interp*, Tcl_Channel_*)      in misc.o
      my_Tcl_OpenFileChannel(Tcl_Interp*, char const*, char const*, int)in misc.o
  "_Tcl_FSStat", referenced from:
      rawFileSize(char const*)in misc.o
  "_Tcl_ErrnoMsg", referenced from:
      my_Tcl_Seek(Tcl_Channel_*, long long, int)in misc.o
      my_Tcl_Flush(Tcl_Channel_*)      in misc.o
      my_Tcl_Write(Tcl_Channel_*, char const*, int)in misc.o
      my_Tcl_Read(Tcl_Channel_*, char*, int)in misc.o
      my_Tcl_Close(Tcl_Interp*, Tcl_Channel_*)      in misc.o
      my_Tcl_OpenFileChannel(Tcl_Interp*, char const*, char const*, int)in misc.o
  "_Tcl_Read", referenced from:
      my_Tcl_Read(Tcl_Channel_*, char*, int)in misc.o
  "_Tcl_Seek", referenced from:
      my_Tcl_Seek(Tcl_Channel_*, long long, int)in misc.o
  "_Tcl_Close", referenced from:
      my_Tcl_Close(Tcl_Interp*, Tcl_Channel_*)      in misc.o
  "_Tcl_Tell", referenced from:
      my_Tcl_Tell(Tcl_Channel_*)      in misc.o
  "_Tcl_NewStringObj", referenced from:
      rawFileSize(char const*)in misc.o
  "_Tcl_AllocStatBuf", referenced from:
      rawFileSize(char const*)in misc.o
  "_Tcl_Write", referenced from:
      my_Tcl_Write(Tcl_Channel_*, char const*, int)in misc.o
  "_Tcl_Eof", referenced from:
      my_Tcl_Eof(Tcl_Channel_*)      in misc.o
ld: symbol(s) not found for architecture ppc
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/Ep/Epx0D1fYFQehsVEn99b1NE+++TI/-Tmp-//ccMnQSWF.out (No such file or directory)
make: *** [pgnscid] Error 1
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Scid-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/scid-users
Reply | Threaded
Open this post in threaded view
|

Re: Scid 4.2 build error

Pascal Georges
Those symbols are in Tcl library. I guess the makefile has to be changed a little bit.

Pascal

2010/1/19 Israel Chauca Fuentes <[hidden email]>
In MacOSX there are no fseeko64 or fopen64 functions, so I changed them to fseek and fopen and make doesn't comply about that, but I get this error and I don't know what it means or how to address it:

Undefined symbols for architecture i386:
 "_Tcl_Eval", referenced from:
     my_Tcl_SetChannelOption(Tcl_Interp*, Tcl_Channel_*, char const*, char const*)in misc.o
     my_Tcl_Tell(Tcl_Channel_*)      in misc.o
     my_Tcl_Seek(Tcl_Channel_*, long long, int)in misc.o
     my_Tcl_Flush(Tcl_Channel_*)      in misc.o
     my_Tcl_Write(Tcl_Channel_*, char const*, int)in misc.o
     my_Tcl_Read(Tcl_Channel_*, char*, int)in misc.o
     my_Tcl_Close(Tcl_Interp*, Tcl_Channel_*)      in misc.o
     my_Tcl_OpenFileChannel(Tcl_Interp*, char const*, char const*, int)in misc.o
 "_Tcl_Free", referenced from:
     rawFileSize(char const*)in misc.o
 "_Tcl_Flush", referenced from:
     my_Tcl_Flush(Tcl_Channel_*)      in misc.o
 "_Tcl_SetChannelOption", referenced from:
     my_Tcl_SetChannelOption(Tcl_Interp*, Tcl_Channel_*, char const*, char const*)in misc.o
 "_TclFreeObj", referenced from:
     rawFileSize(char const*)in misc.o
 "_Tcl_OpenFileChannel", referenced from:
     mySilent_Tcl_OpenFileChannel(Tcl_Interp*, char const*, char const*, int)in misc.o
     my_Tcl_OpenFileChannel(Tcl_Interp*, char const*, char const*, int)in misc.o
 "_Tcl_GetErrno", referenced from:
     my_Tcl_Seek(Tcl_Channel_*, long long, int)in misc.o
     my_Tcl_Flush(Tcl_Channel_*)      in misc.o
     my_Tcl_Write(Tcl_Channel_*, char const*, int)in misc.o
     my_Tcl_Read(Tcl_Channel_*, char*, int)in misc.o
     my_Tcl_Close(Tcl_Interp*, Tcl_Channel_*)      in misc.o
     my_Tcl_OpenFileChannel(Tcl_Interp*, char const*, char const*, int)in misc.o
 "_Tcl_FSStat", referenced from:
     rawFileSize(char const*)in misc.o
 "_Tcl_ErrnoMsg", referenced from:
     my_Tcl_Seek(Tcl_Channel_*, long long, int)in misc.o
     my_Tcl_Flush(Tcl_Channel_*)      in misc.o
     my_Tcl_Write(Tcl_Channel_*, char const*, int)in misc.o
     my_Tcl_Read(Tcl_Channel_*, char*, int)in misc.o
     my_Tcl_Close(Tcl_Interp*, Tcl_Channel_*)      in misc.o
     my_Tcl_OpenFileChannel(Tcl_Interp*, char const*, char const*, int)in misc.o
 "_Tcl_Read", referenced from:
     my_Tcl_Read(Tcl_Channel_*, char*, int)in misc.o
 "_Tcl_Seek", referenced from:
     my_Tcl_Seek(Tcl_Channel_*, long long, int)in misc.o
 "_Tcl_Close", referenced from:
     my_Tcl_Close(Tcl_Interp*, Tcl_Channel_*)      in misc.o
 "_Tcl_Tell", referenced from:
     my_Tcl_Tell(Tcl_Channel_*)      in misc.o
 "_Tcl_NewStringObj", referenced from:
     rawFileSize(char const*)in misc.o
 "_Tcl_AllocStatBuf", referenced from:
     rawFileSize(char const*)in misc.o
 "_Tcl_Write", referenced from:
     my_Tcl_Write(Tcl_Channel_*, char const*, int)in misc.o
 "_Tcl_Eof", referenced from:
     my_Tcl_Eof(Tcl_Channel_*)      in misc.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
Undefined symbols for architecture ppc:
 "_Tcl_Eval", referenced from:
     my_Tcl_SetChannelOption(Tcl_Interp*, Tcl_Channel_*, char const*, char const*)in misc.o
     my_Tcl_Tell(Tcl_Channel_*)      in misc.o
     my_Tcl_Seek(Tcl_Channel_*, long long, int)in misc.o
     my_Tcl_Flush(Tcl_Channel_*)      in misc.o
     my_Tcl_Write(Tcl_Channel_*, char const*, int)in misc.o
     my_Tcl_Read(Tcl_Channel_*, char*, int)in misc.o
     my_Tcl_Close(Tcl_Interp*, Tcl_Channel_*)      in misc.o
     my_Tcl_OpenFileChannel(Tcl_Interp*, char const*, char const*, int)in misc.o
 "_Tcl_Free", referenced from:
     rawFileSize(char const*)in misc.o
 "_Tcl_Flush", referenced from:
     my_Tcl_Flush(Tcl_Channel_*)      in misc.o
 "_Tcl_SetChannelOption", referenced from:
     my_Tcl_SetChannelOption(Tcl_Interp*, Tcl_Channel_*, char const*, char const*)in misc.o
 "_TclFreeObj", referenced from:
     rawFileSize(char const*)in misc.o
 "_Tcl_OpenFileChannel", referenced from:
     mySilent_Tcl_OpenFileChannel(Tcl_Interp*, char const*, char const*, int)in misc.o
     my_Tcl_OpenFileChannel(Tcl_Interp*, char const*, char const*, int)in misc.o
 "_Tcl_GetErrno", referenced from:
     my_Tcl_Seek(Tcl_Channel_*, long long, int)in misc.o
     my_Tcl_Flush(Tcl_Channel_*)      in misc.o
     my_Tcl_Write(Tcl_Channel_*, char const*, int)in misc.o
     my_Tcl_Read(Tcl_Channel_*, char*, int)in misc.o
     my_Tcl_Close(Tcl_Interp*, Tcl_Channel_*)      in misc.o
     my_Tcl_OpenFileChannel(Tcl_Interp*, char const*, char const*, int)in misc.o
 "_Tcl_FSStat", referenced from:
     rawFileSize(char const*)in misc.o
 "_Tcl_ErrnoMsg", referenced from:
     my_Tcl_Seek(Tcl_Channel_*, long long, int)in misc.o
     my_Tcl_Flush(Tcl_Channel_*)      in misc.o
     my_Tcl_Write(Tcl_Channel_*, char const*, int)in misc.o
     my_Tcl_Read(Tcl_Channel_*, char*, int)in misc.o
     my_Tcl_Close(Tcl_Interp*, Tcl_Channel_*)      in misc.o
     my_Tcl_OpenFileChannel(Tcl_Interp*, char const*, char const*, int)in misc.o
 "_Tcl_Read", referenced from:
     my_Tcl_Read(Tcl_Channel_*, char*, int)in misc.o
 "_Tcl_Seek", referenced from:
     my_Tcl_Seek(Tcl_Channel_*, long long, int)in misc.o
 "_Tcl_Close", referenced from:
     my_Tcl_Close(Tcl_Interp*, Tcl_Channel_*)      in misc.o
 "_Tcl_Tell", referenced from:
     my_Tcl_Tell(Tcl_Channel_*)      in misc.o
 "_Tcl_NewStringObj", referenced from:
     rawFileSize(char const*)in misc.o
 "_Tcl_AllocStatBuf", referenced from:
     rawFileSize(char const*)in misc.o
 "_Tcl_Write", referenced from:
     my_Tcl_Write(Tcl_Channel_*, char const*, int)in misc.o
 "_Tcl_Eof", referenced from:
     my_Tcl_Eof(Tcl_Channel_*)      in misc.o
ld: symbol(s) not found for architecture ppc
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/Ep/Epx0D1fYFQehsVEn99b1NE+++TI/-Tmp-//ccMnQSWF.out (No such file or directory)
make: *** [pgnscid] Error 1
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Scid-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/scid-users



------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Scid-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/scid-users
Reply | Threaded
Open this post in threaded view
|

Re: [Scid-users] Scid 4.2 build error

Israel Chauca Fuentes
Administrator
On Jan 19, 2010, at 3:03 PM, Pascal Georges wrote:

>
> Those symbols are in Tcl library. I guess the makefile has to be changed a
> little bit.
>
> Pascal
>
> 2010/1/19 Israel Chauca Fuentes <[hidden email]>
>
>> In MacOSX there are no fseeko64 or fopen64 functions, so I changed them to
>> fseek and fopen and make doesn't comply about that, but I get this error and
>> I don't know what it means or how to address it:
>>

I updated Makefile.conf.darwin and now I can build Scid, but now scmerge and pgnscid don't work, both give me a "bus error". scmerge creates .sg4 and .si4 files only, pgnscid doesn't create any file. They work on 4.1 so, would that has something to do with the fseeko64 and fopen64 changes I did or maybe some other feature that changed since 4.1? what might be the source of the problem?

Israel
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Scid-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/scid-users
Reply | Threaded
Open this post in threaded view
|

Re: [Scid-users] Scid 4.2 build error

Pascal Georges
The problem is I did dot test those, and for portability of some 64 bits I/O calls I delegate the work to TCL (see rawFileSize). I don't know why the same code works with Scid and not on command line (I guess there are some initialisation stuff missing).
For now the workaround is : use Scid, until I find a solution.

Pascal

2010/1/20 Israel Chauca Fuentes <[hidden email]>
On Jan 19, 2010, at 3:03 PM, Pascal Georges wrote:
>
> Those symbols are in Tcl library. I guess the makefile has to be changed a
> little bit.
>
> Pascal
>
> 2010/1/19 Israel Chauca Fuentes <[hidden email]>
>
>> In MacOSX there are no fseeko64 or fopen64 functions, so I changed them to
>> fseek and fopen and make doesn't comply about that, but I get this error and
>> I don't know what it means or how to address it:
>>

I updated Makefile.conf.darwin and now I can build Scid, but now scmerge and pgnscid don't work, both give me a "bus error". scmerge creates .sg4 and .si4 files only, pgnscid doesn't create any file. They work on 4.1 so, would that has something to do with the fseeko64 and fopen64 changes I did or maybe some other feature that changed since 4.1? what might be the source of the problem?

Israel


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Scid-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/scid-users