Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

b.sh build error #158

Closed
erfangnu opened this issue Jun 10, 2024 · 1 comment
Closed

b.sh build error #158

erfangnu opened this issue Jun 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@erfangnu
Copy link
Member

/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libefence.so: undefined reference to `sys_errlist'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/libefence.so: undefined reference to `sys_nerr'
collect2: error: ld returned 1 exit status
@jbampton jbampton added the bug Something isn't working label Jun 15, 2024
@BaseMax
Copy link
Member

BaseMax commented Aug 9, 2024

I cannot see this error anymore, I am testing in WSL on my Windows 11 laptop:

efence library is installed
Compiling...
Running...
Array Length: 37
Array Size: 40
Array Contents:
[0]: 4 LAYOUT - صفحه
[1]: 27 COLON - :
[2]: 0 IDENTIFIER - عنوان
[3]: 27 COLON - :
[4]: 3 STRING - سایت من
[5]: 0 IDENTIFIER - ربات
[6]: 27 COLON - :
[7]: 3 STRING - noindex, nofollow
[8]: 0 IDENTIFIER - نویسنده
[9]: 27 COLON - :
[10]: 3 STRING - Max
[11]: 0 IDENTIFIER - توضیح
[12]: 27 COLON - :
[13]: 3 STRING - متا تگ توضیح سایت
[14]: 0 IDENTIFIER - کلمات
[15]: 27 COLON - :
[16]: 3 STRING - dl, site, page, test
[17]: 0 IDENTIFIER - ایکن
[18]: 27 COLON - :
[19]: 3 STRING - test.png
[20]: 34 COMMA - ,
[21]: 3 STRING - png
[22]: 0 IDENTIFIER - ایکن
[23]: 27 COLON - :
[24]: 3 STRING - test.png
[25]: 34 COMMA - ,
[26]: 3 STRING - png
[27]: 34 COMMA - ,
[28]: 3 STRING - 32x32
[29]: 0 IDENTIFIER - متن
[30]: 27 COLON - :
[31]: 0 IDENTIFIER - محتوا
[32]: 27 COLON - :
[33]: 3 STRING - سلام
[34]: 5 END - پایان
[35]: 5 END - پایان
[36]: 43 EOF -
parser_layout_element_mother
0 IDENTIFIER - متن
parser_layout_element_mother
XML AST Tree:
<layout html={ توضیح="متا تگ توضیح سایت" کلمات="dl, site, page, test" عنوان="سایت من" ایکن="test.png, png, 32x32" نویسنده="Max" ربات="noindex, nofollow"}>
        <layout_text html={ محتوا="سلام"}></layout_text>
</layout>

Generate Code:
<!doctype html>
<html dir="rtl" lang="fa-IR">
        <head>
                <meta charset="UTF-8">
                <title>سایت من</title>
                <meta name="viewport" content="width=device-width, initial-scale=1.0">
                <meta http-equiv="X-UA-Compatible" content="ie=edge">
                <meta name="description" content="متا تگ توضیح سایت">
                <meta name="keywords" content="dl, site, page, test">
                <link rel="icon" href="test.png" type="png" sizes="32x32">
                <meta name="author" content="Max">
                <meta name="robots" content="noindex, nofollow">
                <style>
                html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}
                </style>
        </head>
        <body>
                <label>سلام</label>
        </body>
</html>
File saved:
<!doctype html>
<html dir="rtl" lang="fa-IR">
        <head>
                <meta charset="UTF-8">
                <title>سایت من</title>
                <meta name="viewport" content="width=device-width, initial-scale=1.0">
                <meta http-equiv="X-UA-Compatible" content="ie=edge">
                <meta name="description" content="متا تگ توضیح سایت">
                <meta name="keywords" content="dl, site, page, test">
                <link rel="icon" href="test.png" type="png" sizes="32x32">
                <meta name="author" content="Max">
                <meta name="robots" content="noindex, nofollow">
                <style>
                html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}
                </style>
        </head>
        <body>
                <label>سلام</label>
        </body>
</html>
free parser
end free parser
free lexer
end lexer free

@BaseMax BaseMax closed this as completed Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants