gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] Error: ./hello: relocation error: ./hello: undefin


From: Thorsten Müller
Subject: Re: [open-cobol-list] Error: ./hello: relocation error: ./hello: undefined symbol: cob_source_line
Date: Sat Nov 2 00:59:01 2002

Thanks,
i found a solution.

Regards
Thorsten

> That routine should be in your shared library:
> nm /usr/local/lib/libcob.so.0 | grep source
> 00026190 T _nc_read_entry_source
> 00025e48 T _nc_set_source
> 00039730 B cob_source_file
> 00039734 B cob_source_line
> 0003ae84 b sourcename
>
> ----- Original Message -----
> From: "Thorsten Müller" <address@hidden>
> To: <address@hidden>
> Sent: Friday, November 01, 2002 12:43 PM
> Subject: [open-cobol-list] Error: ./hello: relocation error: ./hello:
> undefined symbol: cob_source_line
>
>
>> Hello List,
>> i'm new to this list and i've just started with cobol.
>> I installed open-cobol on my debian box.
>> I wrote the hello world program as mentioned on the
>> open-cobol homepage.
>>
>> IDENTIFICATION DIVISION.
>> PROGRAM-ID. hello.
>> PROCEDURE DIVISION.
>> DISPLAY "Hello World!".
>> STOP RUN.
>>
>> cobc -main hello.cob doesn't return any failure.
>>
>> But when i run ./hello i retrieve the following:
>> ./hello: relocation error: ./hello: undefined symbol: cob_source_line
>>
>> I searched on google but didn't find anything.
>>
>> Sorry if this question was asked before.
>>
>> I would be glad for any tip.
>>
>> Regards
>> Thorsten
>>
>>
>>
>>
>> -------------------------------------------------------
>> This sf.net email is sponsored by: See the NEW Palm
>> Tungsten T handheld. Power & Color in a compact size!
>> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
>> _______________________________________________
>> open-cobol-list mailing list
>> address@hidden
>> https://lists.sourceforge.net/lists/listinfo/open-cobol-list
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: See the NEW Palm
> Tungsten T handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
> _______________________________________________
> open-cobol-list mailing list
> address@hidden
> https://lists.sourceforge.net/lists/listinfo/open-cobol-list


---
Greetings
Thorsten




reply via email to

[Prev in Thread] Current Thread [Next in Thread]