-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
Failed to compile the source code #122
Comments
@clock999 : on what system do you try to compile? macOS or Linux, what version/distro and what remake source file did you use? |
HI, This is the link where I downloaded the source: https://jaist.dl.sourceforge.net/project/bashdb/remake/4.3%2Bdbg-1.5/remake-4.3%2Bdbg-1.5.tar.gz. My steps are just simple.
But I met the errors: |
@clock999 what distro / OS? |
The os is ubuntu 16.04. |
Install |
Hello,
I am trying to use remake from the source code. But there is a build error while doing the compile.
The error information is as below. I just run ./configure and make. Could you help with this? Thanks a lot!
gcc -DLOCALEDIR="/usr/local/share/locale" -DLIBDIR="/usr/local/lib" -DINCLUDEDIR="/usr/local/include" -DHAVE_CONFIG_H -I. -g -O2 -MT main.o -MD -MP -MF $depbase.Tpo -c -o main.o main.c &&
mv -f $depbase.Tpo $depbase.Po
main.c: In function ‘main’:
main.c:1493:14: warning: passing argument 2 of ‘error’ makes integer from pointer without a cast [-Wint-conversion]
"warning: you specified a debugger option, but you don't have readline support");
^
In file included from main.c:18:0:
makeint.h:470:6: note: expected ‘size_t {aka long unsigned int}’ but argument is of type ‘char *’
void error (const gmk_floc *flocp, size_t length, const char *fmt, ...)
^
main.c:1492:7: error: too few arguments to function ‘error’
error (NILF,
^
In file included from main.c:18:0:
makeint.h:470:6: note: declared here
void error (const gmk_floc *flocp, size_t length, const char *fmt, ...)
^
main.c:1495:14: warning: passing argument 2 of ‘error’ makes integer from pointer without a cast [-Wint-conversion]
"debugger support compiled in. Debugger options will be ignored.");
^
In file included from main.c:18:0:
makeint.h:470:6: note: expected ‘size_t {aka long unsigned int}’ but argument is of type ‘char *’
void error (const gmk_floc *flocp, size_t length, const char *fmt, ...)
^
main.c:1494:7: error: too few arguments to function ‘error’
error (NILF,
The text was updated successfully, but these errors were encountered: