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 1652 게시물 읽기
No. 1652
make 할 때 에러가 납니다...
작성자
ksd1218
작성일
2006-09-07 14:20ⓒ
2006-09-07 14:28ⓜ
조회수
6,998
안녕하세요?
외부라이브러리를 포함하여 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에 작성한 댓글입니다. 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.


ksd1218님이 2006-09-07 18:24에 작성한 댓글입니다.
이 댓글은 2006-09-07 18:25에 마지막으로 수정되었습니다. Edit
[Top]
No.
제목
작성자
작성일
조회
1655오라클의 clob에 해당하는 타입이 있나요? [3]
dragon
2006-09-11
5364
1654ASIQ에서 캐리지리턴(enter)값을 replace를 하려면..? [1]
오완규
2006-09-08
5250
1653sybase에도 oracle처럼 instance 개념이 있나요? [2]
김용삼
2006-09-07
5658
1652make 할 때 에러가 납니다... [2]
ksd1218
2006-09-07
6998
1651엑셀파일을 DB에 올리려면... [1]
서길종
2006-09-07
4438
1650ASE에서 테이블생성시 질문? [2]
ㅁㅁ
2006-09-06
4293
1648datediff (mi, a1, a2) 로 구한 차이를 시분초로 나타내는 방법 [1]
문정현
2006-09-04
6637
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.018초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다