database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
Oracle
Informix
ㆍSybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
Sybase Q&A 1658 게시물 읽기
No. 1658
1221 재질문
작성자
ksd1218
작성일
2006-09-11 16:16
조회수
4,839
안녕하세요?
외부라이브러리를 포함하여 link 시 아래 빨간 부분과 같이 에러가 납니다..
고수님들의 도움 부탁드립니다...
참고로 /forex/forex_c/lib/FKCOMM.a 는 해당 경로에 있구요..
환경 : AIX5.1, ASE 12.5

------------------------------------------------------------------------------------

forex@ForexSVR1:/forex/forex_c/src/cs>make -f of_make
        `sh sybopts.sh compile` -I.  -I/forex/forex_c/include  -I${SYBASE}/${SYBASE_OCS}/include -L${SYBASE}/${SYBASE_OCS}/lib -o /forex/forex_c/lib/ofacfilter /forex/forex_c/lib/forexutil.c `sh sybopts.sh ocsbase`/include/sybesql.c ofacfilter.c clscomm.c `sh sybopts.sh ct cs comlibs` `sh sybopts.sh syslibs`  -l /forex/forex_c/lib/FKCOMM.a
/forex/forex_c/lib/forexutil.c:
1506-261 (W) Suboption 620 is not valid for option tune.
"/forex/forex_c/include/forexofac.h", line 11.25: 1506-209 (W) Character constants must end before the end of a line.
/sybase/OCS-12_5/include/sybesql.c:
1506-261 (W) Suboption 620 is not valid for option tune.
ofacfilter.c:
1506-261 (W) Suboption 620 is not valid for option tune.
"/forex/forex_c/include/forexofac.h", line 11.25: 1506-209 (W) Character constants must end before the end of a line.
clscomm.c:
1506-261 (W) Suboption 620 is not valid for option tune.
"/forex/forex_c/include/forexofac.h", line 11.25: 1506-209 (W) Character constants must end before the end of a line.
ld: 0706-006 Cannot find or open library file: -l /forex/forex_c/lib/FKCOMM.a
        ld:open(): A file or directory in the path name does not exist.
make: 1254-004 The error code from the last command is 255.


Stop.
------------------------------------------------------------------------------------
makeFile 입니다...
------------------------------------------------------------------------------------
# Make the Embedded SQL/C sample programs.
#
# Change the following definitions as appropriate for your site:
# MAKE = make CC="$(CC)" AS="$(AS)" LD="$(LD)" AR="$(AR)" CPP="$(CPP)" SYBPLATFORM="$(SYBPLATFORM)"
#
SHELL       = /bin/sh
HEADERS     = $(C_PATH)/include
TARGET1     = $(C_PATH)/lib/ofacfilter
OCSBASE     = `sh sybopts.sh ocsbase`
INCLUDE     = -I. \
 -I$(C_PATH)/include \
 -I$${SYBASE}/$${SYBASE_OCS}/include

LIBFLAGS    = -L$${SYBASE}/$${SYBASE_OCS}/lib
SYBLIBDIR   = $(OCSBASE)/lib/
CFLAGS      = $(INCLUDE) $(LIBFLAGS)
PRECOMP     = `sh sybopts.sh precomp`
LINK.c     = `sh sybopts.sh compile` $(CFLAGS)

SYBLIBS     = `sh sybopts.sh ct cs comlibs`
SYSLIBS     = `sh sybopts.sh syslibs`

all:  $(TARGET1)

$(TARGET1): $(HEADERS) ofacfilter.c clscomm.c
 $(LINK.c) -o $@ $(C_PATH)/lib/forexutil.c $(OCSBASE)/include/sybesql.c ofacfilter.c clscomm.c $(SYBLIBS) $(SYSLIBS) \
           -l $(C_PATH)/lib/FKCOMM.a

ofacfilter.c: ofacfilter.cp
 $(PRECOMP) ofacfilter.cp
clscomm.c: clscomm.cp
 $(PRECOMP) clscomm.cp

clean:
 rm -f ofacfilter.o $(TARGET1) ofacfilter.c
 rm -f clscomm.o $(TARGET1) clscomm.c


이 글에 대한 댓글이 총 2건 있습니다.

잘안되면....


ㅋㅋ...


그냥 SYBASE_OCS/lib에 FKCOMM.a를 copy하시고...



make 하세요~

지연님이 2006-09-07 15:06:53에 작성한 댓글입니다. Edit
 SYBASE_OCS/lib에 FKCOMM.a를 copy 하고 make 했더니...
 FKCOMM.a 에 있는 FofExecFmlSimple 등의 함수를 못찾네요..
---------------------------------------------------------------------

forex@ForexSVR1:/forex/forex_c/src/cs>make -f of_make
        `sh sybopts.sh compile` -I.  -I/forex/forex_c/include  -I${SYBASE}/${SYBASE_OCS}/include -L${SYBASE}/${SYBASE_OCS}/lib -o /forex/forex_c/lib/ofacfilter /forex/forex_c/lib/forexutil.c `sh sybopts.sh ocsbase`/include/sybesql.c ofacfilter.c clscomm.c `sh sybopts.sh ct cs comlibs` `sh sybopts.sh syslibs`
/forex/forex_c/lib/forexutil.c:
1506-261 (W) Suboption 620 is not valid for option tune.
"/forex/forex_c/include/forexofac.h", line 11.25: 1506-209 (W) Character constants must end before the end of a line.
/sybase/OCS-12_5/include/sybesql.c:
1506-261 (W) Suboption 620 is not valid for option tune.
ofacfilter.c:
1506-261 (W) Suboption 620 is not valid for option tune.
"/forex/forex_c/include/forexofac.h", line 11.25: 1506-209 (W) Character constants must end before the end of a line.
clscomm.c:
1506-261 (W) Suboption 620 is not valid for option tune.
"/forex/forex_c/include/forexofac.h", line 11.25: 1506-209 (W) Character constants must end before the end of a line.
ld: 0711-317 ERROR: Undefined symbol: .FofExecFmlSimple
ld: 0711-317 ERROR: Undefined symbol: .FofInit
ld: 0711-317 ERROR: Undefined symbol: .FofOpen
ld: 0711-317 ERROR: Undefined symbol: .FofClose
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.


Stop.


[Top]
No.
제목
작성자
작성일
조회
1663[급]트랜젝션 로그 문제입니다... [1]
남상우
2006-09-15
5100
1662jsp에서 DB에 접속을 못 하고 있습니다. [1]
LECA
2006-09-14
5844
1659400M 정도의 테이블 데이타를 select 하면요... [5]
sybase초보
2006-09-11
7218
16581221 재질문
ksd1218
2006-09-11
4839
1656ASA6 DB의 백업과 복원에 관해서 [2]
김익현
2006-09-11
4594
1655오라클의 clob에 해당하는 타입이 있나요? [3]
dragon
2006-09-11
5461
1654ASIQ에서 캐리지리턴(enter)값을 replace를 하려면..? [1]
오완규
2006-09-08
5305
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.016초, 이곳 서비스는
	PostgreSQL v16.4로 자료를 관리합니다