Re: bigloo compile error

[email protected]
Newsgroups gmane.lisp.scheme.bigloo
Organization Inria
Message-ID <[email protected]>
> Thank you very much. It fixes that particular problem (most probably),
> but there seems to be another one:
> 
> ld: warning: -read_only_relocs cannot be used with x86_64
> Undefined symbols for architecture x86_64:
>   "_bgl_flac_checksum_debug", referenced from:
>       _bgl_read_callback in bglflac.o
>   "_bgl_flac_debug", referenced from:
>       _bgl_read_callback in bglflac.o
>       _bgl_seek_callback in bglflac.o
>       _bgl_tell_callback in bglflac.o
> ld: symbol(s) not found for architecture x86_64
> collect2: ld returned 1 exit status
This one is weird. A C file is just lacking to extern clauses. Up to now
this was no problem when linking C files... Anyone, I have fixed that
problem.

Just to satisfy my curiosity, what machine/os are you using? If I
understand correctly, the last part of your mail (and your email), you
are using a Mac. Is that correct?

> I'm also attaching all other warnings that I came across.
> 
> My initial intent was to fix the following problem of wrong library linking:
>     https://trac.macports.org/ticket/39026
> but I first need to compile the program successfully.
> 
> The explanation of the above ticket: if bigloo is packages as a proper
> framework, those links probably work properly, however, under default
> configure/make/make install procedure the framework is not created
> automatically and then wrong links are created. Files should be linked
> against "/opt/local/lib/..." rather than
> "@executable_path/../Frameworks/..." unless a different directory
> structure is created. I didn't look into makefiles yet
I'm not certain to understand the problem you are mentioning. Are you referring
to the construction of the .dmg file? For that, we are using a special Makefile.
Have you tried this one?

Cheers,

-- 
Manuel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.