El 30/3/20 a las 16:10, Digital Man escribi├│:
Re: Can not build syncdraw
By: Ragnarok to DOVE-Net.Synchronet_Programming_C+ on Mon Mar 30 2020 01:02
pm
I known that the code is not updated. but maybe if are little update,
can work again
ragnarok@ragnarok:~/mnt/remote/src/syncdraw$ make clean
You should also run src/cleanall.sh
ragnarok@ragnarok:~/mnt/remote/src/syncdraw$ make
My guess is that you have other components (e.g. conio/ciolib) which was
built WITHOUT_SDL and you're linking with an application that was built WITH_SDL. Likely a cleanall.sh and rebuild all (starting with src/sbbs3) will address the situation.
digital man
yes, cleanall and, i mistake (set USE_SDL instead of WITH_SDL), thanks!
Then, i found some bugs:
1) The cursor (caret) do not show, i can see the position under (x,y)
data status. But is a little difficult to draw without the reference
cursor pointer.
2) When i try to save, the filename prompt shows a "face" character and
do not echo the text input. (Finally, the file was saved)
I take a screenshot (
https://imagebin.ca/v/5HRyAPgSw39S)
3) Alt+L to load file still segmentation fault:
ragnarok@ragnarok:~/mnt/remote/src/syncdraw/gcc.linux.x64.exe.debug$ gdb syncdraw
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<
http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see: <
http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at: <
http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from syncdraw...done.
(gdb) r
Starting program: /home/ragnarok/mnt/remote/src/syncdraw/gcc.linux.x64.exe.debug/syncdraw
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff0be5700 (LWP 19743)]
[New Thread 0x7fffebfff700 (LWP 19744)]
[New Thread 0x7fffeb703700 (LWP 19745)]
[New Thread 0x7fffeaf02700 (LWP 19746)]
Thread 2 "SDL Main" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff0be5700 (LWP 19743)]
strnlen () at ../sysdeps/x86_64/strlen.S:103
103 ../sysdeps/x86_64/strlen.S: No existe el fichero o el directorio.
(gdb) bt
#0 strnlen () at ../sysdeps/x86_64/strlen.S:103
#1 0x00007ffff6f0fdba in _IO_vfprintf_internal
(s=s@entry=0x7ffff0bc2230, format=<optimized out>,
format@entry=0x55555558fe7c "%-12.12s ", ap=ap@entry=0x7ffff0bc2378)
at vfprintf.c:1637
#2 0x00007ffff6f31afb in __IO_vsprintf (string=0x7fffec00b0c0 "\005", format=0x55555558fe7c "%-12.12s ", args=0x7ffff0bc2378) at iovsprintf.c:42
#3 0x000055555556a6c1 in bufprintf (buf=0x7ffff0bc2480 "", attr=23, fmat=0x55555558fe7c "%-12.12s ") at miscfunctions.c:560
#4 0x000055555555e2f2 in load () at load.c:796
#5 0x000055555556385a in CIOLIB_main (argnum=1, args=0x7fffffffded8) at syncdraw.c:1173
#6 0x000055555557c9c4 in sdl_run_main (data=0x7fffffffdd70) at
sdlfuncs.c:317
#7 0x00007ffff6c42f38 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL.so
#8 0x00007ffff6c82dd9 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL.so
#9 0x00007ffff726e4a4 in start_thread (arg=0x7ffff0be5700) at pthread_create.c:456
#10 0x00007ffff6fb0d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
(gdb)
Always, i very appreciated your time!
Thanks!
---
■ Synchronet ■ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)