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

Error build Firebird 2.1 in FreeBSD 7.0 [CORE2249] #2676

Closed
firebird-issue-importer opened this issue Dec 19, 2008 · 8 comments
Closed

Error build Firebird 2.1 in FreeBSD 7.0 [CORE2249] #2676

firebird-issue-importer opened this issue Dec 19, 2008 · 8 comments

Comments

@firebird-issue-importer

Submitted by: Gorshenkov Sergey (uni_advisor)

Error build Firebird.
./autogen.sh
gmake

vi.c:919:74: error: macro "__weak_reference" requires 2 arguments, but only 1 given
Header cdefs.h in FreeBSD:
#⁠define __weak_reference(sym,alias) \
__asm__(".weak " #⁠alias); \
__asm__(".equ " #⁠alias ", " #⁠sym)

Header cdefs_elf.h in NetBSD:
/* Do not use __weak_extern, use __weak_reference instead */
#⁠define __weak_extern(sym) \
__asm(".weak " _C_LABEL_STRING(#⁠sym));

I'm try fix in FreeBSD:
extern char *get_alias_text(const char *) __weak_extern(get_alias_text);

gen/Makefile.refDatabases line 114:
String: make -f Makefile.static.gfix

This syntax for GNU make and not correctly work for native FreeBSD.
I'm try fix it: replace 'make' -> '$(MAKE)'

Commits: 5111967

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 19, 2008

Modified by: @dyemanov

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 19, 2008

Commented by: @AlexPeshkoff

Lowered security level - no need closing such issues

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 19, 2008

Modified by: @AlexPeshkoff

security: Developers [ 10012 ] =>

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 19, 2008

Commented by: @AlexPeshkoff

Fixed makefile.
What about editline problems - I'm pretty sure freebsd contains it's own, please link with it using '--with-system-editline' switch.
BTW, you need not running http://autogen.sh starting with FB 2.1 if you are using src tarball for builds - more traditional configure is now present in it.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 19, 2008

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.1.3 [ 10302 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Nov 9, 2009

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 19, 2016

Modified by: @pavel-zotov

QA Status: No test

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Feb 8, 2016

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: No test => Cannot be tested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants