Opened 12 years ago

Closed 12 years ago

#1915 closed defect (invalid)

FMU dll link fails

Reported by: Mongi Ben Gaid Owned by: Adeel Asghar
Priority: blocker Milestone: 1.9.0
Component: FMI Version: 1.9.0Beta
Keywords: FMI FMU generation Cc:

Description

Hi,
I'm trying to generate an FMU from OpenModelica (r13495), but I got the following error at link time (linking for producing a dll):

libTestsMoteur_ForWiebe_testWiebeAvecValveWithoutInterpretor_FMU.o:libTestsMoteur_ForWiebe_testWiebeAvecValveWithoutInterpretor_FMU.c:(.text+0x460a9): undefined reference to `getstring'
libTestsMoteur_ForWiebe_testWiebeAvecValveWithoutInterpretor_FMU.o:libTestsMoteur_ForWiebe_testWiebeAvecValveWithoutInterpretor_FMU.c:(.text+0x460be): undefined reference to `getstring'
libTestsMoteur_ForWiebe_testWiebeAvecValveWithoutInterpretor_FMU.o:libTestsMoteur_ForWiebe_testWiebeAvecValveWithoutInterpretor_FMU.c:(.text+0x460d3): undefined reference to `getstring'
libTestsMoteur_ForWiebe_testWiebeAvecValveWithoutInterpretor_FMU.o:libTestsMoteur_ForWiebe_testWiebeAvecValveWithoutInterpretor_FMU.c:(.text+0x460e8): undefined reference to `getstring'
libTestsMoteur_ForWiebe_testWiebeAvecValveWithoutInterpretor_FMU.o:libTestsMoteur_ForWiebe_testWiebeAvecValveWithoutInterpretor_FMU.c:(.text+0x460fd): undefined reference to `getstring'
libTestsMoteur_ForWiebe_testWiebeAvecValveWithoutInterpretor_FMU.o:libTestsMoteur_ForWiebe_testWiebeAvecValveWithoutInterpretor_FMU.c:(.text+0x46112): more undefined references to `getstring' follow
collect2: ld returned 1 exit status
mingw32-make: * [libTestsMoteur_ForWiebe_testWiebeAvecValveWithoutInterpretor.dll] Error 1

Is there any patch or workaround?

Thanks in advance

Change History (4)

comment:1 by Per Östlund, 12 years ago

Owner: changed from somebody to Adeel Asghar
Status: newassigned

comment:2 by Per Östlund, 12 years ago

Component: Code GenerationFMI

comment:3 by Adeel Asghar, 12 years ago

Can you provide a sample model?

comment:4 by Martin Sjölund, 12 years ago

Resolution: invalid
Status: assignedclosed

No model provided

Note: See TracTickets for help on using tickets.