Ticket #42 (closed defect: fixed)

Opened 10 months ago

Last modified 9 months ago

Compilation problem on FreeBSD 5.x

Reported by: xsz Owned by: thorkill
Priority: blocker Milestone: v0.81
Component: ERESI Version: 2.0
Severity: Medium Keywords:
Cc:

Description

cc -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN -I../libasm/include/ -I../libetrace/include -I../libaspect/include/ -DERESI32 -DM32 -c -o dynamic.32.o dynamic.c In file included from include/libelfsh.h:35,

from dynamic.c:11:

include/libelfsh/libelfsh-compat.h:180: error: syntax error before "elfsh_Nhdr" include/libelfsh/libelfsh-compat.h:180: warning: type defaults to int' in declaration of elfsh_Nhdr' include/libelfsh.h:1329: error: syntax error before "elfsh_Vernaux" include/libelfsh.h:1330: error: syntax error before "elfsh_Verdaux" gmake: *** [dynamic.32.o] Error 1 *** Error code 2

Stop in /usr/home/xsbyme/eresi.

Change History

Changed 10 months ago by thorkill

  • owner set to thorkill
  • component changed from ERESI to libelfsh

What OS are you using ? FreeBSD < 6.x ? If so try FreeBSD > 6.x - I'll patch in next week - since I don't have such OS right now.

Fast fix for you will be to comment out the structures which collide with include/elf.h

Changed 10 months ago by thorkill

This problem affects FreeBSD 5.4-RELEASE-p13 and 6.2-PRERELEASE (on 6.2-Release no problems ;/)

Changed 10 months ago by may

  • component changed from libelfsh to ERESI
  • summary changed from compliner problem to Compilation problem on FreeBSD 5.x

Changed 9 months ago by thorkill

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.