[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: objc compiler not detected
From: |
Wolfgang Lux |
Subject: |
Re: objc compiler not detected |
Date: |
Thu, 3 Oct 2013 16:14:54 +0200 |
Riccardo Mottola wrote:
> configure:13173: checking whether objc really works
> configure:13203: gcc -o conftest -g -O2 -I/Local/Library/Headers
> -I/Local/Library/Headers -I/System/Library/Headers -I/usr/pkg/include
> -fgnu-runtime -x objective-c -L/Local/Library/Libraries
> -L/Local/Library/Libraries -L/System/Library/Libraries -Wl,-R/usr/pkg/lib
> -L/usr/pkg/lib conftest.c -lrt -lpthread -rdynamic -Wl,-R/usr/pkg/lib
> -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -shared-libgcc -pthread
> -fexceptions -fgnu-runtime -L/home/multix/GNUstep/Library/Libraries
> -L/Local/Library/Libraries -L/System/Library/Libraries -Wl,-R/usr/pkg/lib
> -L/usr/pkg/lib -lobjc -lm >&5
> In file included from ./config/config.objc.m:2:0,
> from conftest.c:97:
> ./config/objc-common.g:30:1: warning: cannot find interface declaration for
> 'NXConstantString'
> configure:13207: $? = 0
> configure:13213: ./conftest
> objc runtime: cannot find class Test
> Abort (core dumped)
So this is the real problem. The compiler apparently produces an executable for
the source file, but when running it it doesn't find the Test class (which is
defined in config/config.objc.m). Not sure why this happens.
Wolfgang
- objc compiler not detected, Riccardo Mottola, 2013/10/03
- Re: objc compiler not detected, Wolfgang Lux, 2013/10/03
- Re: objc compiler not detected, Riccardo Mottola, 2013/10/03
- Re: objc compiler not detected,
Wolfgang Lux <=
- Re: objc compiler not detected, Riccardo Mottola, 2013/10/04
- Re: objc compiler not detected, Wolfgang Lux, 2013/10/04
- Re: objc compiler not detected, Riccardo Mottola, 2013/10/04
- Re: objc compiler not detected, Wolfgang Lux, 2013/10/05
- Re: objc compiler not detected, Riccardo Mottola, 2013/10/09