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-automations opened this issue Dec 19, 2008 · 8 comments
Closed

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

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

Comments

@firebird-automations
Copy link
Collaborator

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-automations
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

Lowered security level - no need closing such issues

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

security: Developers [ 10012 ] =>

@firebird-automations
Copy link
Collaborator Author

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-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

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

resolution: Fixed [ 1 ]

Fix Version: 2.1.3 [ 10302 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

@firebird-automations
Copy link
Collaborator Author

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
Development

No branches or pull requests

2 participants