Ticket #74 (assigned defect)

Opened 3 months ago

Last modified 3 months ago

ERESI cannot link with --enable-static

Reported by: drpepperONE Owned by: thorkill
Priority: critical Milestone: v0.81
Component: ERESI Version:
Severity: Crtical Keywords:
Cc:

Description (last modified by may) (diff)

I downloaded the last snv version of eresi sorce code but I'm unable to compile.

I get the same error on Ubuntu/Kubuntu 7.10 and 8.04.

I've installed all packages required (also libssl-dev), but on make I've always the same error:

/pippo/eresi/libkernsh/common/sct.c:89: undefined reference to `elfsh_get_foffset_from_vaddr' /pippo/eresi/libkernsh/common/sct.c:92: undefined reference to `elfsh_raw_read' /pippo/eresi/libkernsh/common/sct.c:97: undefined reference to `elfsh_reverse_symbol' [....]

Attachments

kubuntu_7-10_compiling_error.txt.gz (13.4 kB) - added by drpepperONE 3 months ago.
Log of entire compiling session
compile_ubuntu_log_without_enable-static.log (103.0 kB) - added by drpepperONE 3 months ago.
Compile log without --enable-static option.It's good.But I need --enable-static works.
compile_ubuntu_log_without_enable-static.2.log (103.0 kB) - added by drpepperONE 3 months ago.
Compile log with --enable-static option.With --enable-static compile doesn't work.
compile_ubuntu_log_with_enable-static.log (167.0 kB) - added by drpepperONE 3 months ago.
Compile log with --enable-static option.With --enable-static compile doesn't work.

Change History

Changed 3 months ago by drpepperONE

Log of entire compiling session

Changed 3 months ago by thorkill

  • owner set to thorkill
  • status changed from new to assigned

Changed 3 months ago by thorkill

  • priority changed from blocker to critical
  • summary changed from Unable to compile on Ubuntu/Kubuntu 7.10/804 to linking problem on --enable-static (linux/FreeBSD) [orginal: (Unable to compile on Ubuntu/Kubuntu 7.10/804)]

Changed 3 months ago by drpepperONE

I tried configure without --enable-static and it compile:

./configure --enable-32 --enable-kernsh --enable-ke2dbg --libasm-mips

[*] Enabling ELF32 support [*] Enabling kernsh and libkernsh [*] Enable ke2dbg kernel debugger [*] Libasm MIPS engine

[*] Libasm Packed handlers [*] Enabling dynamic linking. [*] Enabling libasm support

Now make && make install

But I need the static binary to cross-compile for mips32 processor and the problem is as You verify the static option of compilation.

Thank you.

Bye drpepperONE.

Changed 3 months ago by drpepperONE

Compile log without --enable-static option.It's good.But I need --enable-static works.

Changed 3 months ago by drpepperONE

Compile log with --enable-static option.With --enable-static compile doesn't work.

Changed 3 months ago by drpepperONE

Compile log with --enable-static option.With --enable-static compile doesn't work.

Changed 3 months ago by may

  • description modified (diff)
  • summary changed from linking problem on --enable-static (linux/FreeBSD) [orginal: (Unable to compile on Ubuntu/Kubuntu 7.10/804)] to ERESI cannot link with --enable-static
Note: See TracTickets for help on using tickets.